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
Static Methods
getDefaultInstance()
public static BatchCreateSessionsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchCreateSessionsResponse.Builder newBuilder()
Returns
newBuilder(BatchCreateSessionsResponse prototype)
public static BatchCreateSessionsResponse.Builder newBuilder(BatchCreateSessionsResponse prototype)
Parameter
Returns
public static BatchCreateSessionsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchCreateSessionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchCreateSessionsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateSessionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchCreateSessionsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateSessionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCreateSessionsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchCreateSessionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCreateSessionsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchCreateSessionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchCreateSessionsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateSessionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchCreateSessionsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BatchCreateSessionsResponse getDefaultInstanceForType()
Returns
getParserForType()
public Parser<BatchCreateSessionsResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSession(int index)
public Session getSession(int index)
The freshly created sessions.
repeated .google.spanner.v1.Session session = 1;
Parameter
Returns
getSessionCount()
public int getSessionCount()
The freshly created sessions.
repeated .google.spanner.v1.Session session = 1;
Returns
getSessionList()
public List<Session> getSessionList()
The freshly created sessions.
repeated .google.spanner.v1.Session session = 1;
Returns
getSessionOrBuilder(int index)
public SessionOrBuilder getSessionOrBuilder(int index)
The freshly created sessions.
repeated .google.spanner.v1.Session session = 1;
Parameter
Returns
getSessionOrBuilderList()
public List<? extends SessionOrBuilder> getSessionOrBuilderList()
The freshly created sessions.
repeated .google.spanner.v1.Session session = 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
newBuilderForType()
public BatchCreateSessionsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchCreateSessionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchCreateSessionsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions