Package com.google.spanner.executor.v1
Interface FinishTransactionActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FinishTransactionAction,FinishTransactionAction.Builder
public interface FinishTransactionActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetMode()Defines how exactly the transaction should be completed, e.g.intDefines how exactly the transaction should be completed, e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getModeValue
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:
- The enum numeric value on the wire for mode.
-
getMode
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:
- The mode.
-