Package com.google.spanner.executor.v1
Interface StartTransactionActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StartTransactionAction,StartTransactionAction.Builder
public interface StartTransactionActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConcurrency is for read-only transactions and must be omitted for read-write transactions.Concurrency is for read-only transactions and must be omitted for read-write transactions.Execution options (e.g., whether transaction is opaque, optimistic).Execution options (e.g., whether transaction is opaque, optimistic).getTable(int index) Metadata about tables and columns that will be involved in this transaction.intMetadata about tables and columns that will be involved in this transaction.Metadata about tables and columns that will be involved in this transaction.getTableOrBuilder(int index) Metadata about tables and columns that will be involved in this transaction.List<? extends TableMetadataOrBuilder>Metadata about tables and columns that will be involved in this transaction.Transaction_seed contains workid and op pair for this transaction, used for testing.com.google.protobuf.ByteStringTransaction_seed contains workid and op pair for this transaction, used for testing.booleanConcurrency is for read-only transactions and must be omitted for read-write transactions.booleanExecution options (e.g., whether transaction is opaque, optimistic).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
-
hasConcurrency
boolean hasConcurrency()Concurrency is for read-only transactions and must be omitted for read-write transactions.
optional .google.spanner.executor.v1.Concurrency concurrency = 1;- Returns:
- Whether the concurrency field is set.
-
getConcurrency
Concurrency getConcurrency()Concurrency is for read-only transactions and must be omitted for read-write transactions.
optional .google.spanner.executor.v1.Concurrency concurrency = 1;- Returns:
- The concurrency.
-
getConcurrencyOrBuilder
ConcurrencyOrBuilder getConcurrencyOrBuilder()Concurrency is for read-only transactions and must be omitted for read-write transactions.
optional .google.spanner.executor.v1.Concurrency concurrency = 1; -
getTableList
List<TableMetadata> getTableList()Metadata about tables and columns that will be involved in this transaction. It is to convert values of key parts correctly.
repeated .google.spanner.executor.v1.TableMetadata table = 2; -
getTable
Metadata about tables and columns that will be involved in this transaction. It is to convert values of key parts correctly.
repeated .google.spanner.executor.v1.TableMetadata table = 2; -
getTableCount
int getTableCount()Metadata about tables and columns that will be involved in this transaction. It is to convert values of key parts correctly.
repeated .google.spanner.executor.v1.TableMetadata table = 2; -
getTableOrBuilderList
List<? extends TableMetadataOrBuilder> getTableOrBuilderList()Metadata about tables and columns that will be involved in this transaction. It is to convert values of key parts correctly.
repeated .google.spanner.executor.v1.TableMetadata table = 2; -
getTableOrBuilder
Metadata about tables and columns that will be involved in this transaction. It is to convert values of key parts correctly.
repeated .google.spanner.executor.v1.TableMetadata table = 2; -
getTransactionSeed
String getTransactionSeed()Transaction_seed contains workid and op pair for this transaction, used for testing.
string transaction_seed = 3;- Returns:
- The transactionSeed.
-
getTransactionSeedBytes
com.google.protobuf.ByteString getTransactionSeedBytes()Transaction_seed contains workid and op pair for this transaction, used for testing.
string transaction_seed = 3;- Returns:
- The bytes for transactionSeed.
-
hasExecutionOptions
boolean hasExecutionOptions()Execution options (e.g., whether transaction is opaque, optimistic).
optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4;- Returns:
- Whether the executionOptions field is set.
-
getExecutionOptions
TransactionExecutionOptions getExecutionOptions()Execution options (e.g., whether transaction is opaque, optimistic).
optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4;- Returns:
- The executionOptions.
-
getExecutionOptionsOrBuilder
TransactionExecutionOptionsOrBuilder getExecutionOptionsOrBuilder()Execution options (e.g., whether transaction is opaque, optimistic).
optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4;
-