Class FinishTransactionAction.Builder (6.68.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FinishTransactionAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FinishTransactionAction.Builder
Overrides

build()

public FinishTransactionAction build()
Returns
Type Description
FinishTransactionAction

buildPartial()

public FinishTransactionAction buildPartial()
Returns
Type Description
FinishTransactionAction

clear()

public FinishTransactionAction.Builder clear()
Returns
Type Description
FinishTransactionAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FinishTransactionAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FinishTransactionAction.Builder
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;

Returns
Type Description
FinishTransactionAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FinishTransactionAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FinishTransactionAction.Builder
Overrides

clone()

public FinishTransactionAction.Builder clone()
Returns
Type Description
FinishTransactionAction.Builder
Overrides

getDefaultInstanceForType()

public FinishTransactionAction getDefaultInstanceForType()
Returns
Type Description
FinishTransactionAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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;

Returns
Type Description
FinishTransactionAction.Mode

The mode.

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FinishTransactionAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FinishTransactionAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FinishTransactionAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FinishTransactionAction.Builder
Overrides

mergeFrom(FinishTransactionAction other)

public FinishTransactionAction.Builder mergeFrom(FinishTransactionAction other)
Parameter
Name Description
other FinishTransactionAction
Returns
Type Description
FinishTransactionAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FinishTransactionAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FinishTransactionAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FinishTransactionAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FinishTransactionAction.Builder
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;

Parameter
Name Description
value FinishTransactionAction.Mode

The mode to set.

Returns
Type Description
FinishTransactionAction.Builder

This builder for chaining.

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.

Returns
Type Description
FinishTransactionAction.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FinishTransactionAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FinishTransactionAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FinishTransactionAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FinishTransactionAction.Builder
Overrides