Enum FinishTransactionAction.Mode (6.62.0)

public enum FinishTransactionAction.Mode extends Enum<FinishTransactionAction.Mode> implements ProtocolMessageEnum

Mode indicates how the transaction should be finished.

Protobuf enum google.spanner.executor.v1.FinishTransactionAction.Mode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ABANDON

Drop the transaction without committing it.

ABANDON = 2;

ABANDON_VALUE

Drop the transaction without committing it.

ABANDON = 2;

COMMIT

Commit the transaction.

COMMIT = 1;

COMMIT_VALUE

Commit the transaction.

COMMIT = 1;

MODE_UNSPECIFIED

"MODE_UNSPECIFIED" is equivalent to "COMMIT".

MODE_UNSPECIFIED = 0;

MODE_UNSPECIFIED_VALUE

"MODE_UNSPECIFIED" is equivalent to "COMMIT".

MODE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()