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

package com.google.spanner.v1;

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

  /**
   *
   *
   * <pre>
   * Required. The session in which the transaction runs.
   * </pre>
   *
   * <code>string session = 1;</code>
   */
  java.lang.String getSession();
  /**
   *
   *
   * <pre>
   * Required. The session in which the transaction runs.
   * </pre>
   *
   * <code>string session = 1;</code>
   */
  com.google.protobuf.ByteString getSessionBytes();

  /**
   *
   *
   * <pre>
   * Required. Options for the new transaction.
   * </pre>
   *
   * <code>.google.spanner.v1.TransactionOptions options = 2;</code>
   */
  boolean hasOptions();
  /**
   *
   *
   * <pre>
   * Required. Options for the new transaction.
   * </pre>
   *
   * <code>.google.spanner.v1.TransactionOptions options = 2;</code>
   */
  com.google.spanner.v1.TransactionOptions getOptions();
  /**
   *
   *
   * <pre>
   * Required. Options for the new transaction.
   * </pre>
   *
   * <code>.google.spanner.v1.TransactionOptions options = 2;</code>
   */
  com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder();
}
