# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/datastore/admin/v1/datastore_admin.proto require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/datastore/admin/v1/index_pb' require 'google/datastore/admin/v1/migration_pb' require 'google/longrunning/operations_pb' require 'google/protobuf/timestamp_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/datastore/admin/v1/datastore_admin.proto", :syntax => :proto3) do add_message "google.datastore.admin.v1.CommonMetadata" do optional :start_time, :message, 1, "google.protobuf.Timestamp" optional :end_time, :message, 2, "google.protobuf.Timestamp" optional :operation_type, :enum, 3, "google.datastore.admin.v1.OperationType" map :labels, :string, :string, 4 optional :state, :enum, 5, "google.datastore.admin.v1.CommonMetadata.State" end add_enum "google.datastore.admin.v1.CommonMetadata.State" do value :STATE_UNSPECIFIED, 0 value :INITIALIZING, 1 value :PROCESSING, 2 value :CANCELLING, 3 value :FINALIZING, 4 value :SUCCESSFUL, 5 value :FAILED, 6 value :CANCELLED, 7 end add_message "google.datastore.admin.v1.Progress" do optional :work_completed, :int64, 1 optional :work_estimated, :int64, 2 end add_message "google.datastore.admin.v1.ExportEntitiesRequest" do optional :project_id, :string, 1 map :labels, :string, :string, 2 optional :entity_filter, :message, 3, "google.datastore.admin.v1.EntityFilter" optional :output_url_prefix, :string, 4 end add_message "google.datastore.admin.v1.ImportEntitiesRequest" do optional :project_id, :string, 1 map :labels, :string, :string, 2 optional :input_url, :string, 3 optional :entity_filter, :message, 4, "google.datastore.admin.v1.EntityFilter" end add_message "google.datastore.admin.v1.ExportEntitiesResponse" do optional :output_url, :string, 1 end add_message "google.datastore.admin.v1.ExportEntitiesMetadata" do optional :common, :message, 1, "google.datastore.admin.v1.CommonMetadata" optional :progress_entities, :message, 2, "google.datastore.admin.v1.Progress" optional :progress_bytes, :message, 3, "google.datastore.admin.v1.Progress" optional :entity_filter, :message, 4, "google.datastore.admin.v1.EntityFilter" optional :output_url_prefix, :string, 5 end add_message "google.datastore.admin.v1.ImportEntitiesMetadata" do optional :common, :message, 1, "google.datastore.admin.v1.CommonMetadata" optional :progress_entities, :message, 2, "google.datastore.admin.v1.Progress" optional :progress_bytes, :message, 3, "google.datastore.admin.v1.Progress" optional :entity_filter, :message, 4, "google.datastore.admin.v1.EntityFilter" optional :input_url, :string, 5 end add_message "google.datastore.admin.v1.EntityFilter" do repeated :kinds, :string, 1 repeated :namespace_ids, :string, 2 end add_message "google.datastore.admin.v1.CreateIndexRequest" do optional :project_id, :string, 1 optional :index, :message, 3, "google.datastore.admin.v1.Index" end add_message "google.datastore.admin.v1.DeleteIndexRequest" do optional :project_id, :string, 1 optional :index_id, :string, 3 end add_message "google.datastore.admin.v1.GetIndexRequest" do optional :project_id, :string, 1 optional :index_id, :string, 3 end add_message "google.datastore.admin.v1.ListIndexesRequest" do optional :project_id, :string, 1 optional :filter, :string, 3 optional :page_size, :int32, 4 optional :page_token, :string, 5 end add_message "google.datastore.admin.v1.ListIndexesResponse" do repeated :indexes, :message, 1, "google.datastore.admin.v1.Index" optional :next_page_token, :string, 2 end add_message "google.datastore.admin.v1.IndexOperationMetadata" do optional :common, :message, 1, "google.datastore.admin.v1.CommonMetadata" optional :progress_entities, :message, 2, "google.datastore.admin.v1.Progress" optional :index_id, :string, 3 end add_message "google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata" do optional :migration_state, :enum, 1, "google.datastore.admin.v1.MigrationState" optional :migration_step, :enum, 2, "google.datastore.admin.v1.MigrationStep" end add_enum "google.datastore.admin.v1.OperationType" do value :OPERATION_TYPE_UNSPECIFIED, 0 value :EXPORT_ENTITIES, 1 value :IMPORT_ENTITIES, 2 value :CREATE_INDEX, 3 value :DELETE_INDEX, 4 end end end module Google module Cloud module Datastore module Admin module V1 CommonMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.CommonMetadata").msgclass CommonMetadata::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.CommonMetadata.State").enummodule Progress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.Progress").msgclass ExportEntitiesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.ExportEntitiesRequest").msgclass ImportEntitiesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.ImportEntitiesRequest").msgclass ExportEntitiesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.ExportEntitiesResponse").msgclass ExportEntitiesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.ExportEntitiesMetadata").msgclass ImportEntitiesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.ImportEntitiesMetadata").msgclass EntityFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.EntityFilter").msgclass CreateIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.CreateIndexRequest").msgclass DeleteIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.DeleteIndexRequest").msgclass GetIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.GetIndexRequest").msgclass ListIndexesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.ListIndexesRequest").msgclass ListIndexesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.ListIndexesResponse").msgclass IndexOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.IndexOperationMetadata").msgclass DatastoreFirestoreMigrationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata").msgclass OperationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.datastore.admin.v1.OperationType").enummodule end end end end end