# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/firestore/admin/v1/database.proto require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' require 'google/api/annotations_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/firestore/admin/v1/database.proto", :syntax => :proto3) do add_message "google.firestore.admin.v1.Database" do optional :name, :string, 1 optional :location_id, :string, 9 optional :type, :enum, 10, "google.firestore.admin.v1.Database.DatabaseType" optional :concurrency_mode, :enum, 15, "google.firestore.admin.v1.Database.ConcurrencyMode" optional :etag, :string, 99 end add_enum "google.firestore.admin.v1.Database.DatabaseType" do value :DATABASE_TYPE_UNSPECIFIED, 0 value :FIRESTORE_NATIVE, 1 value :DATASTORE_MODE, 2 end add_enum "google.firestore.admin.v1.Database.ConcurrencyMode" do value :CONCURRENCY_MODE_UNSPECIFIED, 0 value :OPTIMISTIC, 1 value :PESSIMISTIC, 2 value :OPTIMISTIC_WITH_ENTITY_GROUPS, 3 end end end module Google module Cloud module Firestore module Admin module V1 Database = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Database").msgclass Database::DatabaseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Database.DatabaseType").enummodule Database::ConcurrencyMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Database.ConcurrencyMode").enummodule end end end end end