public static final class FinishTransactionAction.Builder extends GeneratedMessageV3.Builder<FinishTransactionAction.Builder> implements FinishTransactionActionOrBuilder
FinishTransactionAction defines an action of finishing a transaction.
Protobuf type google.spanner.executor.v1.FinishTransactionAction
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 FinishTransactionAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FinishTransactionAction build()
buildPartial()
public FinishTransactionAction buildPartial()
clear()
public FinishTransactionAction.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FinishTransactionAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMode()
public FinishTransactionAction.Builder clearMode()
Defines how exactly the transaction should be completed, e.g. with
commit or abortion.
.google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public FinishTransactionAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FinishTransactionAction.Builder clone()
Overrides
getDefaultInstanceForType()
public FinishTransactionAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMode()
public FinishTransactionAction.Mode getMode()
Defines how exactly the transaction should be completed, e.g. with
commit or abortion.
.google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1;
getModeValue()
public int getModeValue()
Defines how exactly the transaction should be completed, e.g. with
commit or abortion.
.google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for mode.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public FinishTransactionAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FinishTransactionAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(FinishTransactionAction other)
public FinishTransactionAction.Builder mergeFrom(FinishTransactionAction other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FinishTransactionAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FinishTransactionAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMode(FinishTransactionAction.Mode value)
public FinishTransactionAction.Builder setMode(FinishTransactionAction.Mode value)
Defines how exactly the transaction should be completed, e.g. with
commit or abortion.
.google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1;
setModeValue(int value)
public FinishTransactionAction.Builder setModeValue(int value)
Defines how exactly the transaction should be completed, e.g. with
commit or abortion.
.google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for mode to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FinishTransactionAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FinishTransactionAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides