Class FinishTransactionAction.Builder (6.77.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