Class ListSessionsResponse

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
TypeDescription
int

SESSIONS_FIELD_NUMBER

public static final int SESSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstance()

public static ListSessionsResponse getDefaultInstance()
Returns
TypeDescription
ListSessionsResponse

getDefaultInstanceForType()

public ListSessionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSessionsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSessionsResponse> getParserForType()
Returns
TypeDescription
Parser<ListSessionsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSessions(int index)

public Session getSessions(int index)

The list of requested sessions.

repeated .google.spanner.v1.Session sessions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Session

getSessionsCount()

public int getSessionsCount()

The list of requested sessions.

repeated .google.spanner.v1.Session sessions = 1;

Returns
TypeDescription
int

getSessionsList()

public List<Session> getSessionsList()

The list of requested sessions.

repeated .google.spanner.v1.Session sessions = 1;

Returns
TypeDescription
List<Session>

getSessionsOrBuilder(int index)

public SessionOrBuilder getSessionsOrBuilder(int index)

The list of requested sessions.

repeated .google.spanner.v1.Session sessions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SessionOrBuilder

getSessionsOrBuilderList()

public List<? extends SessionOrBuilder> getSessionsOrBuilderList()

The list of requested sessions.

repeated .google.spanner.v1.Session sessions = 1;

Returns
TypeDescription
List<? extends com.google.spanner.v1.SessionOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static ListSessionsResponse.Builder newBuilder()
Returns
TypeDescription
ListSessionsResponse.Builder

newBuilder(ListSessionsResponse prototype)

public static ListSessionsResponse.Builder newBuilder(ListSessionsResponse prototype)
Parameter
NameDescription
prototypeListSessionsResponse
Returns
TypeDescription
ListSessionsResponse.Builder

newBuilderForType()

public ListSessionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSessionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListSessionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListSessionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static ListSessionsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSessionsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSessionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSessionsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListSessionsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListSessionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListSessionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSessionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListSessionsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListSessionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListSessionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSessionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListSessionsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListSessionsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSessionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSessionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListSessionsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSessionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSessionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSessionsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListSessionsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListSessionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListSessionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSessionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListSessionsResponse> parser()
Returns
TypeDescription
Parser<ListSessionsResponse>

toBuilder()

public ListSessionsResponse.Builder toBuilder()
Returns
TypeDescription
ListSessionsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException