Interface TransactionOptionsOrBuilder

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

public interface TransactionOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasReadWrite

      boolean hasReadWrite()
       Transaction may write.
      
       Authorization to begin a read-write transaction requires
       `spanner.databases.beginOrRollbackReadWriteTransaction` permission
       on the `session` resource.
       
      .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1;
      Returns:
      Whether the readWrite field is set.
    • getReadWrite

       Transaction may write.
      
       Authorization to begin a read-write transaction requires
       `spanner.databases.beginOrRollbackReadWriteTransaction` permission
       on the `session` resource.
       
      .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1;
      Returns:
      The readWrite.
    • getReadWriteOrBuilder

      TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder()
       Transaction may write.
      
       Authorization to begin a read-write transaction requires
       `spanner.databases.beginOrRollbackReadWriteTransaction` permission
       on the `session` resource.
       
      .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1;
    • hasPartitionedDml

      boolean hasPartitionedDml()
       Partitioned DML transaction.
      
       Authorization to begin a Partitioned DML transaction requires
       `spanner.databases.beginPartitionedDmlTransaction` permission
       on the `session` resource.
       
      .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      Returns:
      Whether the partitionedDml field is set.
    • getPartitionedDml

       Partitioned DML transaction.
      
       Authorization to begin a Partitioned DML transaction requires
       `spanner.databases.beginPartitionedDmlTransaction` permission
       on the `session` resource.
       
      .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      Returns:
      The partitionedDml.
    • getPartitionedDmlOrBuilder

      TransactionOptions.PartitionedDmlOrBuilder getPartitionedDmlOrBuilder()
       Partitioned DML transaction.
      
       Authorization to begin a Partitioned DML transaction requires
       `spanner.databases.beginPartitionedDmlTransaction` permission
       on the `session` resource.
       
      .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
    • hasReadOnly

      boolean hasReadOnly()
       Transaction will not write.
      
       Authorization to begin a read-only transaction requires
       `spanner.databases.beginReadOnlyTransaction` permission
       on the `session` resource.
       
      .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2;
      Returns:
      Whether the readOnly field is set.
    • getReadOnly

       Transaction will not write.
      
       Authorization to begin a read-only transaction requires
       `spanner.databases.beginReadOnlyTransaction` permission
       on the `session` resource.
       
      .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2;
      Returns:
      The readOnly.
    • getReadOnlyOrBuilder

      TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder()
       Transaction will not write.
      
       Authorization to begin a read-only transaction requires
       `spanner.databases.beginReadOnlyTransaction` permission
       on the `session` resource.
       
      .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2;
    • getModeCase