Interface StartTransactionActionOrBuilder (6.58.0)

public interface StartTransactionActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConcurrency()

public abstract 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
TypeDescription
Concurrency

The concurrency.

getConcurrencyOrBuilder()

public abstract ConcurrencyOrBuilder getConcurrencyOrBuilder()

Concurrency is for read-only transactions and must be omitted for read-write transactions.

optional .google.spanner.executor.v1.Concurrency concurrency = 1;

Returns
TypeDescription
ConcurrencyOrBuilder

getExecutionOptions()

public abstract TransactionExecutionOptions getExecutionOptions()

Execution options (e.g., whether transaction is opaque, optimistic).

optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4;

Returns
TypeDescription
TransactionExecutionOptions

The executionOptions.

getExecutionOptionsOrBuilder()

public abstract TransactionExecutionOptionsOrBuilder getExecutionOptionsOrBuilder()

Execution options (e.g., whether transaction is opaque, optimistic).

optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4;

Returns
TypeDescription
TransactionExecutionOptionsOrBuilder

getTable(int index)

public abstract TableMetadata getTable(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
TableMetadata

getTableCount()

public abstract 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;

Returns
TypeDescription
int

getTableList()

public abstract 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;

Returns
TypeDescription
List<TableMetadata>

getTableOrBuilder(int index)

public abstract TableMetadataOrBuilder getTableOrBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
TableMetadataOrBuilder

getTableOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.spanner.executor.v1.TableMetadataOrBuilder>

getTransactionSeed()

public abstract String getTransactionSeed()

Transaction_seed contains workid and op pair for this transaction, used for testing.

string transaction_seed = 3;

Returns
TypeDescription
String

The transactionSeed.

getTransactionSeedBytes()

public abstract ByteString getTransactionSeedBytes()

Transaction_seed contains workid and op pair for this transaction, used for testing.

string transaction_seed = 3;

Returns
TypeDescription
ByteString

The bytes for transactionSeed.

hasConcurrency()

public abstract 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
TypeDescription
boolean

Whether the concurrency field is set.

hasExecutionOptions()

public abstract boolean hasExecutionOptions()

Execution options (e.g., whether transaction is opaque, optimistic).

optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4;

Returns
TypeDescription
boolean

Whether the executionOptions field is set.