Class BatchCreateSessionsResponse (6.55.0)

public final class BatchCreateSessionsResponse extends GeneratedMessageV3 implements BatchCreateSessionsResponseOrBuilder

The response for BatchCreateSessions.

Protobuf type google.spanner.v1.BatchCreateSessionsResponse

Static Fields

SESSION_FIELD_NUMBER

public static final int SESSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchCreateSessionsResponse getDefaultInstance()
Returns
TypeDescription
BatchCreateSessionsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchCreateSessionsResponse prototype)

public static BatchCreateSessionsResponse.Builder newBuilder(BatchCreateSessionsResponse prototype)
Parameter
NameDescription
prototypeBatchCreateSessionsResponse
Returns
TypeDescription
BatchCreateSessionsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchCreateSessionsResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateSessionsResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSession(int index)

public Session getSession(int index)

The freshly created sessions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Session

getSessionCount()

public int getSessionCount()

The freshly created sessions.

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

Returns
TypeDescription
int

getSessionList()

public List<Session> getSessionList()

The freshly created sessions.

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

Returns
TypeDescription
List<Session>

getSessionOrBuilder(int index)

public SessionOrBuilder getSessionOrBuilder(int index)

The freshly created sessions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SessionOrBuilder

getSessionOrBuilderList()

public List<? extends SessionOrBuilder> getSessionOrBuilderList()

The freshly created sessions.

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

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

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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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