# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/servicedirectory/v1/registration_service.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/servicedirectory/v1/endpoint_pb' require 'google/cloud/servicedirectory/v1/namespace_pb' require 'google/cloud/servicedirectory/v1/service_pb' require 'google/iam/v1/iam_policy_pb' require 'google/iam/v1/policy_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' descriptor_data = "\n;google/cloud/servicedirectory/v1/registration_service.proto\x12 google.cloud.servicedirectory.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/servicedirectory/v1/endpoint.proto\x1a\x30google/cloud/servicedirectory/v1/namespace.proto\x1a.google/cloud/servicedirectory/v1/service.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xb3\x01\n\x16\x43reateNamespaceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x19\n\x0cnamespace_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\tnamespace\x18\x03 \x01(\x0b\x32+.google.cloud.servicedirectory.v1.NamespaceB\x03\xe0\x41\x02\"\xaf\x01\n\x15ListNamespacesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"r\n\x16ListNamespacesResponse\x12?\n\nnamespaces\x18\x01 \x03(\x0b\x32+.google.cloud.servicedirectory.v1.Namespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"V\n\x13GetNamespaceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\"\x93\x01\n\x16UpdateNamespaceRequest\x12\x43\n\tnamespace\x18\x01 \x01(\x0b\x32+.google.cloud.servicedirectory.v1.NamespaceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"Y\n\x16\x44\x65leteNamespaceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\"\xb3\x01\n\x14\x43reateServiceRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\x12\x17\n\nservice_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\x07service\x18\x03 \x01(\x0b\x32).google.cloud.servicedirectory.v1.ServiceB\x03\xe0\x41\x02\"\xb5\x01\n\x13ListServicesRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"l\n\x14ListServicesResponse\x12;\n\x08services\x18\x01 \x03(\x0b\x32).google.cloud.servicedirectory.v1.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"R\n\x11GetServiceRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\x8d\x01\n\x14UpdateServiceRequest\x12?\n\x07service\x18\x01 \x01(\x0b\x32).google.cloud.servicedirectory.v1.ServiceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"U\n\x14\x44\x65leteServiceRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\xb5\x01\n\x15\x43reateEndpointRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12\x18\n\x0b\x65ndpoint_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x08\x65ndpoint\x18\x03 \x01(\x0b\x32*.google.cloud.servicedirectory.v1.EndpointB\x03\xe0\x41\x02\"\xb4\x01\n\x14ListEndpointsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"o\n\x15ListEndpointsResponse\x12=\n\tendpoints\x18\x01 \x03(\x0b\x32*.google.cloud.servicedirectory.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"T\n\x12GetEndpointRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(servicedirectory.googleapis.com/Endpoint\"\x90\x01\n\x15UpdateEndpointRequest\x12\x41\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32*.google.cloud.servicedirectory.v1.EndpointB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"W\n\x15\x44\x65leteEndpointRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(servicedirectory.googleapis.com/Endpoint2\xdf\x1e\n\x13RegistrationService\x12\xdb\x01\n\x0f\x43reateNamespace\x12\x38.google.cloud.servicedirectory.v1.CreateNamespaceRequest\x1a+.google.cloud.servicedirectory.v1.Namespace\"a\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/namespaces:\tnamespace\xda\x41\x1dparent,namespace,namespace_id\x12\xc4\x01\n\x0eListNamespaces\x12\x37.google.cloud.servicedirectory.v1.ListNamespacesRequest\x1a\x38.google.cloud.servicedirectory.v1.ListNamespacesResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/namespaces\xda\x41\x06parent\x12\xb1\x01\n\x0cGetNamespace\x12\x35.google.cloud.servicedirectory.v1.GetNamespaceRequest\x1a+.google.cloud.servicedirectory.v1.Namespace\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/namespaces/*}\xda\x41\x04name\x12\xdd\x01\n\x0fUpdateNamespace\x12\x38.google.cloud.servicedirectory.v1.UpdateNamespaceRequest\x1a+.google.cloud.servicedirectory.v1.Namespace\"c\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{namespace.name=projects/*/locations/*/namespaces/*}:\tnamespace\xda\x41\x15namespace,update_mask\x12\xa2\x01\n\x0f\x44\x65leteNamespace\x12\x38.google.cloud.servicedirectory.v1.DeleteNamespaceRequest\x1a\x16.google.protobuf.Empty\"=\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/namespaces/*}\xda\x41\x04name\x12\xda\x01\n\rCreateService\x12\x36.google.cloud.servicedirectory.v1.CreateServiceRequest\x1a).google.cloud.servicedirectory.v1.Service\"f\x82\xd3\xe4\x93\x02\x44\"9/v1/{parent=projects/*/locations/*/namespaces/*}/services:\x07service\xda\x41\x19parent,service,service_id\x12\xc9\x01\n\x0cListServices\x12\x35.google.cloud.servicedirectory.v1.ListServicesRequest\x1a\x36.google.cloud.servicedirectory.v1.ListServicesResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/namespaces/*}/services\xda\x41\x06parent\x12\xb6\x01\n\nGetService\x12\x33.google.cloud.servicedirectory.v1.GetServiceRequest\x1a).google.cloud.servicedirectory.v1.Service\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/namespaces/*/services/*}\xda\x41\x04name\x12\xdc\x01\n\rUpdateService\x12\x36.google.cloud.servicedirectory.v1.UpdateServiceRequest\x1a).google.cloud.servicedirectory.v1.Service\"h\x82\xd3\xe4\x93\x02L2A/v1/{service.name=projects/*/locations/*/namespaces/*/services/*}:\x07service\xda\x41\x13service,update_mask\x12\xa9\x01\n\rDeleteService\x12\x36.google.cloud.servicedirectory.v1.DeleteServiceRequest\x1a\x16.google.protobuf.Empty\"H\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/namespaces/*/services/*}\xda\x41\x04name\x12\xec\x01\n\x0e\x43reateEndpoint\x12\x37.google.cloud.servicedirectory.v1.CreateEndpointRequest\x1a*.google.cloud.servicedirectory.v1.Endpoint\"u\x82\xd3\xe4\x93\x02Q\"E/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints:\x08\x65ndpoint\xda\x41\x1bparent,endpoint,endpoint_id\x12\xd8\x01\n\rListEndpoints\x12\x36.google.cloud.servicedirectory.v1.ListEndpointsRequest\x1a\x37.google.cloud.servicedirectory.v1.ListEndpointsResponse\"V\x82\xd3\xe4\x93\x02G\x12\x45/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints\xda\x41\x06parent\x12\xc5\x01\n\x0bGetEndpoint\x12\x34.google.cloud.servicedirectory.v1.GetEndpointRequest\x1a*.google.cloud.servicedirectory.v1.Endpoint\"T\x82\xd3\xe4\x93\x02G\x12\x45/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}\xda\x41\x04name\x12\xee\x01\n\x0eUpdateEndpoint\x12\x37.google.cloud.servicedirectory.v1.UpdateEndpointRequest\x1a*.google.cloud.servicedirectory.v1.Endpoint\"w\x82\xd3\xe4\x93\x02Z2N/v1/{endpoint.name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}:\x08\x65ndpoint\xda\x41\x14\x65ndpoint,update_mask\x12\xb7\x01\n\x0e\x44\x65leteEndpoint\x12\x37.google.cloud.servicedirectory.v1.DeleteEndpointRequest\x1a\x16.google.protobuf.Empty\"T\x82\xd3\xe4\x93\x02G*E/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}\xda\x41\x04name\x12\xe8\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01\"?/v1/{resource=projects/*/locations/*/namespaces/*}:getIamPolicy:\x01*ZO\"J/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:getIamPolicy:\x01*\x12\xe8\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01\"?/v1/{resource=projects/*/locations/*/namespaces/*}:setIamPolicy:\x01*ZO\"J/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:setIamPolicy:\x01*\x12\x94\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xa8\x01\x82\xd3\xe4\x93\x02\xa1\x01\"E/v1/{resource=projects/*/locations/*/namespaces/*}:testIamPermissions:\x01*ZU\"P/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:testIamPermissions:\x01*\x1aS\xca\x41\x1fservicedirectory.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x83\x02\n$com.google.cloud.servicedirectory.v1B\x18RegistrationServiceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xf8\x01\x01\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError => e # 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.cloud.servicedirectory.v1.Namespace", "google/cloud/servicedirectory/v1/namespace.proto"], ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], ["google.cloud.servicedirectory.v1.Service", "google/cloud/servicedirectory/v1/service.proto"], ["google.cloud.servicedirectory.v1.Endpoint", "google/cloud/servicedirectory/v1/endpoint.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 ServiceDirectory module V1 CreateNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.CreateNamespaceRequest").msgclass ListNamespacesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ListNamespacesRequest").msgclass ListNamespacesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ListNamespacesResponse").msgclass GetNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.GetNamespaceRequest").msgclass UpdateNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.UpdateNamespaceRequest").msgclass DeleteNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.DeleteNamespaceRequest").msgclass CreateServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.CreateServiceRequest").msgclass ListServicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ListServicesRequest").msgclass ListServicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ListServicesResponse").msgclass GetServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.GetServiceRequest").msgclass UpdateServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.UpdateServiceRequest").msgclass DeleteServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.DeleteServiceRequest").msgclass CreateEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.CreateEndpointRequest").msgclass ListEndpointsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ListEndpointsRequest").msgclass ListEndpointsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ListEndpointsResponse").msgclass GetEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.GetEndpointRequest").msgclass UpdateEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.UpdateEndpointRequest").msgclass DeleteEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.DeleteEndpointRequest").msgclass end end end end