// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/datastore/v1/datastore.proto

package com.google.datastore.v1;

public interface TransactionOptionsOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.datastore.v1.TransactionOptions)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * The transaction should allow both reads and writes.
   * </pre>
   *
   * <code>.google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;</code>
   */
  boolean hasReadWrite();
  /**
   * <pre>
   * The transaction should allow both reads and writes.
   * </pre>
   *
   * <code>.google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;</code>
   */
  com.google.datastore.v1.TransactionOptions.ReadWrite getReadWrite();
  /**
   * <pre>
   * The transaction should allow both reads and writes.
   * </pre>
   *
   * <code>.google.datastore.v1.TransactionOptions.ReadWrite read_write = 1;</code>
   */
  com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder();

  /**
   * <pre>
   * The transaction should only allow reads.
   * </pre>
   *
   * <code>.google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;</code>
   */
  boolean hasReadOnly();
  /**
   * <pre>
   * The transaction should only allow reads.
   * </pre>
   *
   * <code>.google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;</code>
   */
  com.google.datastore.v1.TransactionOptions.ReadOnly getReadOnly();
  /**
   * <pre>
   * The transaction should only allow reads.
   * </pre>
   *
   * <code>.google.datastore.v1.TransactionOptions.ReadOnly read_only = 2;</code>
   */
  com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder();

  public com.google.datastore.v1.TransactionOptions.ModeCase getModeCase();
}
