# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/metastore/v1/metastore_federation.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/metastore/v1/metastore_pb' require 'google/longrunning/operations_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\n4google/cloud/metastore/v1/metastore_federation.proto\x12\x19google.cloud.metastore.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/metastore/v1/metastore.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb3\x06\n\nFederation\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x41\n\x06labels\x18\x04 \x03(\x0b\x32\x31.google.cloud.metastore.v1.Federation.LabelsEntry\x12\x15\n\x07version\x18\x05 \x01(\tB\x04\xe2\x41\x01\x05\x12X\n\x12\x62\x61\x63kend_metastores\x18\x06 \x03(\x0b\x32<.google.cloud.metastore.v1.Federation.BackendMetastoresEntry\x12\x1a\n\x0c\x65ndpoint_uri\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x12@\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.metastore.v1.Federation.StateB\x04\xe2\x41\x01\x03\x12\x1b\n\rstate_message\x18\t \x01(\tB\x04\xe2\x41\x01\x03\x12\x11\n\x03uid\x18\n \x01(\tB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x65\n\x16\x42\x61\x63kendMetastoresEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.metastore.v1.BackendMetastore:\x02\x38\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x05:j\xea\x41g\n#metastore.googleapis.com/Federation\x12@projects/{project}/locations/{location}/federations/{federation}\"\xca\x01\n\x10\x42\x61\x63kendMetastore\x12\x0c\n\x04name\x18\x01 \x01(\t\x12Q\n\x0emetastore_type\x18\x02 \x01(\x0e\x32\x39.google.cloud.metastore.v1.BackendMetastore.MetastoreType\"U\n\rMetastoreType\x12\x1e\n\x1aMETASTORE_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x42IGQUERY\x10\x02\x12\x16\n\x12\x44\x41TAPROC_METASTORE\x10\x03\"\xb7\x01\n\x16ListFederationsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\x12#metastore.googleapis.com/Federation\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\x83\x01\n\x17ListFederationsResponse\x12:\n\x0b\x66\x65\x64\x65rations\x18\x01 \x03(\x0b\x32%.google.cloud.metastore.v1.Federation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"R\n\x14GetFederationRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\n#metastore.googleapis.com/Federation\"\xcf\x01\n\x17\x43reateFederationRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\x12#metastore.googleapis.com/Federation\x12\x1b\n\rfederation_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12?\n\nfederation\x18\x03 \x01(\x0b\x32%.google.cloud.metastore.v1.FederationB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\xab\x01\n\x17UpdateFederationRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12?\n\nfederation\x18\x02 \x01(\x0b\x32%.google.cloud.metastore.v1.FederationB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"o\n\x17\x44\x65leteFederationRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\n#metastore.googleapis.com/Federation\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x32\xdc\t\n\x1b\x44\x61taprocMetastoreFederation\x12\xba\x01\n\x0fListFederations\x12\x31.google.cloud.metastore.v1.ListFederationsRequest\x1a\x32.google.cloud.metastore.v1.ListFederationsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/federations\x12\xa7\x01\n\rGetFederation\x12/.google.cloud.metastore.v1.GetFederationRequest\x1a%.google.cloud.metastore.v1.Federation\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/federations/*}\x12\x89\x02\n\x10\x43reateFederation\x12\x32.google.cloud.metastore.v1.CreateFederationRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41\x39\n\nFederation\x12+google.cloud.metastore.v1.OperationMetadata\xda\x41\x1fparent,federation,federation_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/federations:\nfederation\x12\x8b\x02\n\x10UpdateFederation\x12\x32.google.cloud.metastore.v1.UpdateFederationRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\xca\x41\x39\n\nFederation\x12+google.cloud.metastore.v1.OperationMetadata\xda\x41\x16\x66\x65\x64\x65ration,update_mask\x82\xd3\xe4\x93\x02H2:/v1/{federation.name=projects/*/locations/*/federations/*}:\nfederation\x12\xed\x01\n\x10\x44\x65leteFederation\x12\x32.google.cloud.metastore.v1.DeleteFederationRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x44\n\x15google.protobuf.Empty\x12+google.cloud.metastore.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/federations/*}\x1aL\xca\x41\x18metastore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBx\n\x1d\x63om.google.cloud.metastore.v1B\x18MetastoreFederationProtoP\x01Z;cloud.google.com/go/metastore/apiv1/metastorepb;metastorepbb\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module Metastore module V1 Federation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.Federation").msgclass Federation::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.Federation.State").enummodule BackendMetastore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.BackendMetastore").msgclass BackendMetastore::MetastoreType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.BackendMetastore.MetastoreType").enummodule ListFederationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.ListFederationsRequest").msgclass ListFederationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.ListFederationsResponse").msgclass GetFederationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.GetFederationRequest").msgclass CreateFederationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.CreateFederationRequest").msgclass UpdateFederationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.UpdateFederationRequest").msgclass DeleteFederationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.DeleteFederationRequest").msgclass end end end end