Package com.google.spanner.executor.v1
Interface TransactionExecutionOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransactionExecutionOptions,TransactionExecutionOptions.Builder
public interface TransactionExecutionOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether optimistic concurrency should be used to execute this transaction.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
-
getOptimistic
boolean getOptimistic()Whether optimistic concurrency should be used to execute this transaction.
bool optimistic = 1;- Returns:
- The optimistic.
-