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