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

package com.google.firestore.v1beta1;

public interface BeginTransactionRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.firestore.v1beta1.BeginTransactionRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The database name. In the format:
   * `projects/{project_id}/databases/{database_id}`.
   * </pre>
   *
   * <code>string database = 1;</code>
   */
  java.lang.String getDatabase();
  /**
   *
   *
   * <pre>
   * The database name. In the format:
   * `projects/{project_id}/databases/{database_id}`.
   * </pre>
   *
   * <code>string database = 1;</code>
   */
  com.google.protobuf.ByteString getDatabaseBytes();

  /**
   *
   *
   * <pre>
   * The options for the transaction.
   * Defaults to a read-write transaction.
   * </pre>
   *
   * <code>.google.firestore.v1beta1.TransactionOptions options = 2;</code>
   */
  boolean hasOptions();
  /**
   *
   *
   * <pre>
   * The options for the transaction.
   * Defaults to a read-write transaction.
   * </pre>
   *
   * <code>.google.firestore.v1beta1.TransactionOptions options = 2;</code>
   */
  com.google.firestore.v1beta1.TransactionOptions getOptions();
  /**
   *
   *
   * <pre>
   * The options for the transaction.
   * Defaults to a read-write transaction.
   * </pre>
   *
   * <code>.google.firestore.v1beta1.TransactionOptions options = 2;</code>
   */
  com.google.firestore.v1beta1.TransactionOptionsOrBuilder getOptionsOrBuilder();
}
