Interface TransactionOptions.ReadWriteOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TransactionOptions.ReadWrite, TransactionOptions.ReadWrite.Builder
Enclosing class:
TransactionOptions

public static interface TransactionOptions.ReadWriteOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    Optional.
    Read lock mode for the transaction.
    int
    Read lock mode for the transaction.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getReadLockModeValue

      int getReadLockModeValue()
       Read lock mode for the transaction.
       
      .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1;
      Returns:
      The enum numeric value on the wire for readLockMode.
    • getReadLockMode

       Read lock mode for the transaction.
       
      .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1;
      Returns:
      The readLockMode.
    • getMultiplexedSessionPreviousTransactionId

      com.google.protobuf.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.
       
      bytes multiplexed_session_previous_transaction_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The multiplexedSessionPreviousTransactionId.