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

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/auth_pb'
require 'google/iam/v1/iam_policy_pb'
require 'google/iam/v1/policy_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.spanner.admin.database.v1.Database" do
    optional :name, :string, 1
    optional :state, :enum, 2, "google.spanner.admin.database.v1.Database.State"
  end
  add_enum "google.spanner.admin.database.v1.Database.State" do
    value :STATE_UNSPECIFIED, 0
    value :CREATING, 1
    value :READY, 2
  end
  add_message "google.spanner.admin.database.v1.ListDatabasesRequest" do
    optional :parent, :string, 1
    optional :page_size, :int32, 3
    optional :page_token, :string, 4
  end
  add_message "google.spanner.admin.database.v1.ListDatabasesResponse" do
    repeated :databases, :message, 1, "google.spanner.admin.database.v1.Database"
    optional :next_page_token, :string, 2
  end
  add_message "google.spanner.admin.database.v1.CreateDatabaseRequest" do
    optional :parent, :string, 1
    optional :create_statement, :string, 2
    repeated :extra_statements, :string, 3
  end
  add_message "google.spanner.admin.database.v1.CreateDatabaseMetadata" do
    optional :database, :string, 1
  end
  add_message "google.spanner.admin.database.v1.GetDatabaseRequest" do
    optional :name, :string, 1
  end
  add_message "google.spanner.admin.database.v1.UpdateDatabaseDdlRequest" do
    optional :database, :string, 1
    repeated :statements, :string, 2
    optional :operation_id, :string, 3
  end
  add_message "google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata" do
    optional :database, :string, 1
    repeated :statements, :string, 2
    repeated :commit_timestamps, :message, 3, "google.protobuf.Timestamp"
  end
  add_message "google.spanner.admin.database.v1.DropDatabaseRequest" do
    optional :database, :string, 1
  end
  add_message "google.spanner.admin.database.v1.GetDatabaseDdlRequest" do
    optional :database, :string, 1
  end
  add_message "google.spanner.admin.database.v1.GetDatabaseDdlResponse" do
    repeated :statements, :string, 1
  end
end

module Google
  module Spanner
    module Admin
      module Database
        module V1
          Database = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.admin.database.v1.Database").msgclass
          Database::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.admin.database.v1.Database.State").enummodule
          ListDatabasesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.admin.database.v1.ListDatabasesRequest").msgclass
          ListDatabasesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.admin.database.v1.ListDatabasesResponse").msgclass
          CreateDatabaseRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.admin.database.v1.CreateDatabaseRequest").msgclass
          CreateDatabaseMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.admin.database.v1.CreateDatabaseMetadata").msgclass
          GetDatabaseRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.admin.database.v1.GetDatabaseRequest").msgclass
          UpdateDatabaseDdlRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.admin.database.v1.UpdateDatabaseDdlRequest").msgclass
          UpdateDatabaseDdlMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata").msgclass
          DropDatabaseRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.admin.database.v1.DropDatabaseRequest").msgclass
          GetDatabaseDdlRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.admin.database.v1.GetDatabaseDdlRequest").msgclass
          GetDatabaseDdlResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.admin.database.v1.GetDatabaseDdlResponse").msgclass
        end
      end
    end
  end
end
