Interface TransactionOptions.ReadWriteOrBuilder (6.83.0)

public static interface TransactionOptions.ReadWriteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMultiplexedSessionPreviousTransactionId()

public abstract ByteString getMultiplexedSessionPreviousTransactionId()

Optional. Clients should pass the transaction ID of the previous transaction attempt that was aborted if this transaction is being executed on a multiplexed session. This feature is not yet supported and will result in an UNIMPLEMENTED error.

bytes multiplexed_session_previous_transaction_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The multiplexedSessionPreviousTransactionId.

getReadLockMode()

public abstract TransactionOptions.ReadWrite.ReadLockMode getReadLockMode()

Read lock mode for the transaction.

.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1;

Returns
Type Description
TransactionOptions.ReadWrite.ReadLockMode

The readLockMode.

getReadLockModeValue()

public abstract int getReadLockModeValue()

Read lock mode for the transaction.

.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1;

Returns
Type Description
int

The enum numeric value on the wire for readLockMode.