public final class ListSessionsResponse extends GeneratedMessageV3 implements ListSessionsResponseOrBuilder
The response for ListSessions.
Protobuf type google.spanner.v1.ListSessionsResponse
Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
SESSIONS_FIELD_NUMBER
public static final int SESSIONS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static ListSessionsResponse getDefaultInstance()
Returns
getDefaultInstanceForType()
public ListSessionsResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSessions(int index)
public Session getSessions(int index)
The list of requested sessions.
repeated .google.spanner.v1.Session sessions = 1;
Parameter
Returns
getSessionsCount()
public int getSessionsCount()
The list of requested sessions.
repeated .google.spanner.v1.Session sessions = 1;
Returns
getSessionsList()
public List<Session> getSessionsList()
The list of requested sessions.
repeated .google.spanner.v1.Session sessions = 1;
Returns
getSessionsOrBuilder(int index)
public SessionOrBuilder getSessionsOrBuilder(int index)
The list of requested sessions.
repeated .google.spanner.v1.Session sessions = 1;
Parameter
Returns
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> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static ListSessionsResponse.Builder newBuilder()
Returns
newBuilder(ListSessionsResponse prototype)
public static ListSessionsResponse.Builder newBuilder(ListSessionsResponse prototype)
Parameter
Returns
newBuilderForType()
public ListSessionsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListSessionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ListSessionsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListSessionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListSessionsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListSessionsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListSessionsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListSessionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListSessionsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListSessionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListSessionsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListSessionsResponse> parser()
Returns
toBuilder()
public ListSessionsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions