public final class ListSessionsResponse extends GeneratedMessageV3 implements ListSessionsResponseOrBuilder
The response for ListSessions.
Protobuf type google.spanner.v1.ListSessionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SESSIONS_FIELD_NUMBER
public static final int SESSIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ListSessionsResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListSessionsResponse.Builder newBuilder()
newBuilder(ListSessionsResponse prototype)
public static ListSessionsResponse.Builder newBuilder(ListSessionsResponse prototype)
public static ListSessionsResponse parseDelimitedFrom(InputStream input)
public static ListSessionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListSessionsResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListSessionsResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(CodedInputStream input)
public static ListSessionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(InputStream input)
public static ListSessionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListSessionsResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListSessionsResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ListSessionsResponse getDefaultInstanceForType()
getNextPageToken()
public String getNextPageToken()
next_page_token
can be sent in a subsequent
ListSessions call to fetch more
of the matching sessions.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
next_page_token
can be sent in a subsequent
ListSessions call to fetch more
of the matching sessions.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<ListSessionsResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSessions(int index)
public Session getSessions(int index)
The list of requested sessions.
repeated .google.spanner.v1.Session sessions = 1;
Parameter |
---|
Name | Description |
index | int
|
getSessionsCount()
public int getSessionsCount()
The list of requested sessions.
repeated .google.spanner.v1.Session sessions = 1;
Returns |
---|
Type | Description |
int | |
getSessionsList()
public List<Session> getSessionsList()
The list of requested sessions.
repeated .google.spanner.v1.Session sessions = 1;
getSessionsOrBuilder(int index)
public SessionOrBuilder getSessionsOrBuilder(int index)
The list of requested sessions.
repeated .google.spanner.v1.Session sessions = 1;
Parameter |
---|
Name | Description |
index | int
|
getSessionsOrBuilderList()
public List<? extends SessionOrBuilder> getSessionsOrBuilderList()
The list of requested sessions.
repeated .google.spanner.v1.Session sessions = 1;
Returns |
---|
Type | Description |
List<? extends com.google.spanner.v1.SessionOrBuilder> | |
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListSessionsResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListSessionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ListSessionsResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides