Sha256: 683c75f4cd8383b4a5efa70ce49ee0af455313ffb795dad3abb3e676a3ce7868

Contents?: true

Size: 1.75 KB

Versions: 1

Compression:

Stored size: 1.75 KB

Contents

# 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
google-cloud-firestore-admin-v1-0.4.0 lib/google/firestore/admin/v1/database_pb.rb