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 Detail

      • hasReadWrite

        boolean hasReadWrite()
         The transaction should allow both reads and writes.
         
        .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;
        Returns:
        Whether the readWrite field is set.
      • getReadWrite

        TransactionOptions.ReadWrite getReadWrite()
         The transaction should allow both reads and writes.
         
        .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;
        Returns:
        The readWrite.
      • getReadWriteOrBuilder

        TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder()
         The transaction should allow both reads and writes.
         
        .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;
      • hasReadOnly

        boolean hasReadOnly()
         The transaction should only allow reads.
         
        .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        TransactionOptions.ReadOnly getReadOnly()
         The transaction should only allow reads.
         
        .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;
        Returns:
        The readOnly.
      • getReadOnlyOrBuilder

        TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder()
         The transaction should only allow reads.
         
        .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;