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

    • hasReadOnly

      boolean hasReadOnly()
       The transaction can only be used for read operations.
       
      .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2;
      Returns:
      Whether the readOnly field is set.
    • getReadOnly

       The transaction can only be used for read operations.
       
      .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2;
      Returns:
      The readOnly.
    • getReadOnlyOrBuilder

      TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder()
       The transaction can only be used for read operations.
       
      .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2;
    • hasReadWrite

      boolean hasReadWrite()
       The transaction can be used for both read and write operations.
       
      .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3;
      Returns:
      Whether the readWrite field is set.
    • getReadWrite

       The transaction can be used for both read and write operations.
       
      .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3;
      Returns:
      The readWrite.
    • getReadWriteOrBuilder

      TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder()
       The transaction can be used for both read and write operations.
       
      .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3;
    • getModeCase