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

package com.google.spanner.v1;

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

  /**
   *
   *
   * <pre>
   * Required. The database in which the new session is created.
   * </pre>
   *
   * <code>string database = 1;</code>
   */
  java.lang.String getDatabase();
  /**
   *
   *
   * <pre>
   * Required. The database in which the new session is created.
   * </pre>
   *
   * <code>string database = 1;</code>
   */
  com.google.protobuf.ByteString getDatabaseBytes();

  /**
   *
   *
   * <pre>
   * The session to create.
   * </pre>
   *
   * <code>.google.spanner.v1.Session session = 2;</code>
   */
  boolean hasSession();
  /**
   *
   *
   * <pre>
   * The session to create.
   * </pre>
   *
   * <code>.google.spanner.v1.Session session = 2;</code>
   */
  com.google.spanner.v1.Session getSession();
  /**
   *
   *
   * <pre>
   * The session to create.
   * </pre>
   *
   * <code>.google.spanner.v1.Session session = 2;</code>
   */
  com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder();
}
