Class BatchCreateSessionsRequest (6.77.0)

public final class BatchCreateSessionsRequest extends GeneratedMessageV3 implements BatchCreateSessionsRequestOrBuilder

The request for BatchCreateSessions.

Protobuf type google.spanner.v1.BatchCreateSessionsRequest

Static Fields

DATABASE_FIELD_NUMBER

public static final int DATABASE_FIELD_NUMBER
Field Value
Type Description
int

SESSION_COUNT_FIELD_NUMBER

public static final int SESSION_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SESSION_TEMPLATE_FIELD_NUMBER

public static final int SESSION_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCreateSessionsRequest getDefaultInstance()
Returns
Type Description
BatchCreateSessionsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BatchCreateSessionsRequest.Builder newBuilder()
Returns
Type Description
BatchCreateSessionsRequest.Builder

newBuilder(BatchCreateSessionsRequest prototype)

public static BatchCreateSessionsRequest.Builder newBuilder(BatchCreateSessionsRequest prototype)
Parameter
Name Description
prototype BatchCreateSessionsRequest
Returns
Type Description
BatchCreateSessionsRequest.Builder

parseDelimitedFrom(InputStream input)

public static BatchCreateSessionsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateSessionsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateSessionsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateSessionsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchCreateSessionsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchCreateSessionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateSessionsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateSessionsRequest
Exceptions
Type Description
InvalidProtocolBufferException