Class CloseBatchTransactionAction (6.74.0)

public final class CloseBatchTransactionAction extends GeneratedMessageV3 implements CloseBatchTransactionActionOrBuilder

Closes or cleans up the currently opened batch read-only transaction.

Once a transaction is closed, the Executor can be disposed of or used to start start another transaction. Closing a batch transaction in one Executor doesn't affect the transaction's state in other Executors that also read from it.

When a transaction is cleaned up, it becomes globally invalid. Cleaning up is optional, but recommended.

Protobuf type google.spanner.executor.v1.CloseBatchTransactionAction

Static Fields

CLEANUP_FIELD_NUMBER

public static final int CLEANUP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloseBatchTransactionAction getDefaultInstance()
Returns
Type Description
CloseBatchTransactionAction

getDescriptor()

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

newBuilder()

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

newBuilder(CloseBatchTransactionAction prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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