Class BeginTransactionRequest (6.74.0)

public final class BeginTransactionRequest extends GeneratedMessageV3 implements BeginTransactionRequestOrBuilder

The request for BeginTransaction.

Protobuf type google.spanner.v1.BeginTransactionRequest

Static Fields

OPTIONS_FIELD_NUMBER

public static final int OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_OPTIONS_FIELD_NUMBER

public static final int REQUEST_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

SESSION_FIELD_NUMBER

public static final int SESSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BeginTransactionRequest getDefaultInstance()
Returns
Type Description
BeginTransactionRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BeginTransactionRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BeginTransactionRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BeginTransactionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BeginTransactionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BeginTransactionRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BeginTransactionRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry