public static final class CloseBatchTransactionAction.Builder extends GeneratedMessageV3.Builder<CloseBatchTransactionAction.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloseBatchTransactionAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CloseBatchTransactionAction build()
buildPartial()
public CloseBatchTransactionAction buildPartial()
clear()
public CloseBatchTransactionAction.Builder clear()
Overrides
clearCleanup()
public CloseBatchTransactionAction.Builder clearCleanup()
Indicates whether the transaction needs to be cleaned up.
bool cleanup = 1;
clearField(Descriptors.FieldDescriptor field)
public CloseBatchTransactionAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloseBatchTransactionAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CloseBatchTransactionAction.Builder clone()
Overrides
getCleanup()
public boolean getCleanup()
Indicates whether the transaction needs to be cleaned up.
bool cleanup = 1;
Returns |
Type |
Description |
boolean |
The cleanup.
|
getDefaultInstanceForType()
public CloseBatchTransactionAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public CloseBatchTransactionAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CloseBatchTransactionAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(CloseBatchTransactionAction other)
public CloseBatchTransactionAction.Builder mergeFrom(CloseBatchTransactionAction other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloseBatchTransactionAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCleanup(boolean value)
public CloseBatchTransactionAction.Builder setCleanup(boolean value)
Indicates whether the transaction needs to be cleaned up.
bool cleanup = 1;
Parameter |
Name |
Description |
value |
boolean
The cleanup to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CloseBatchTransactionAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloseBatchTransactionAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloseBatchTransactionAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides