# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/essentialcontacts/v1/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/essentialcontacts/v1/enums_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\n/google/cloud/essentialcontacts/v1/service.proto\x12!google.cloud.essentialcontacts.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/essentialcontacts/v1/enums.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd1\x03\n\x07\x43ontact\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12\x64\n#notification_category_subscriptions\x18\x03 \x03(\x0e\x32\x37.google.cloud.essentialcontacts.v1.NotificationCategory\x12\x14\n\x0clanguage_tag\x18\x04 \x01(\t\x12L\n\x10validation_state\x18\x08 \x01(\x0e\x32\x32.google.cloud.essentialcontacts.v1.ValidationState\x12\x31\n\rvalidate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\xab\x01\xea\x41\xa7\x01\n(essentialcontacts.googleapis.com/Contact\x12%projects/{project}/contacts/{contact}\x12#folders/{folder}/contacts/{contact}\x12/organizations/{organization}/contacts/{contact}\"\x88\x01\n\x13ListContactsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\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\"m\n\x14ListContactsResponse\x12<\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32*.google.cloud.essentialcontacts.v1.Contact\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x11GetContactRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(essentialcontacts.googleapis.com/Contact\"V\n\x14\x44\x65leteContactRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(essentialcontacts.googleapis.com/Contact\"\x9a\x01\n\x14\x43reateContactRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12@\n\x07\x63ontact\x18\x02 \x01(\x0b\x32*.google.cloud.essentialcontacts.v1.ContactB\x03\xe0\x41\x02\"\x8e\x01\n\x14UpdateContactRequest\x12@\n\x07\x63ontact\x18\x02 \x01(\x0b\x32*.google.cloud.essentialcontacts.v1.ContactB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xe5\x01\n\x16\x43omputeContactsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12X\n\x17notification_categories\x18\x06 \x03(\x0e\x32\x37.google.cloud.essentialcontacts.v1.NotificationCategory\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"p\n\x17\x43omputeContactsResponse\x12<\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32*.google.cloud.essentialcontacts.v1.Contact\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xfd\x01\n\x16SendTestMessageRequest\x12\x42\n\x08\x63ontacts\x18\x01 \x03(\tB0\xe0\x41\x02\xfa\x41*\n(essentialcontacts.googleapis.com/Contact\x12\x42\n\x08resource\x18\x02 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12[\n\x15notification_category\x18\x03 \x01(\x0e\x32\x37.google.cloud.essentialcontacts.v1.NotificationCategoryB\x03\xe0\x41\x02\x32\xcb\x0f\n\x18\x45ssentialContactsService\x12\x98\x02\n\rCreateContact\x12\x37.google.cloud.essentialcontacts.v1.CreateContactRequest\x1a*.google.cloud.essentialcontacts.v1.Contact\"\xa1\x01\x82\xd3\xe4\x93\x02\x89\x01\" /v1/{parent=projects/*}/contacts:\x07\x63ontactZ*\"\x1f/v1/{parent=folders/*}/contacts:\x07\x63ontactZ0\"%/v1/{parent=organizations/*}/contacts:\x07\x63ontact\xda\x41\x0eparent,contact\x12\xb5\x02\n\rUpdateContact\x12\x37.google.cloud.essentialcontacts.v1.UpdateContactRequest\x1a*.google.cloud.essentialcontacts.v1.Contact\"\xbe\x01\x82\xd3\xe4\x93\x02\xa1\x01\x32(/v1/{contact.name=projects/*/contacts/*}:\x07\x63ontactZ22\'/v1/{contact.name=folders/*/contacts/*}:\x07\x63ontactZ82-/v1/{contact.name=organizations/*/contacts/*}:\x07\x63ontact\xda\x41\x13\x63ontact,update_mask\x12\xfe\x01\n\x0cListContacts\x12\x36.google.cloud.essentialcontacts.v1.ListContactsRequest\x1a\x37.google.cloud.essentialcontacts.v1.ListContactsResponse\"}\x82\xd3\xe4\x93\x02n\x12 /v1/{parent=projects/*}/contactsZ!\x12\x1f/v1/{parent=folders/*}/contactsZ\'\x12%/v1/{parent=organizations/*}/contacts\xda\x41\x06parent\x12\xeb\x01\n\nGetContact\x12\x34.google.cloud.essentialcontacts.v1.GetContactRequest\x1a*.google.cloud.essentialcontacts.v1.Contact\"{\x82\xd3\xe4\x93\x02n\x12 /v1/{name=projects/*/contacts/*}Z!\x12\x1f/v1/{name=folders/*/contacts/*}Z\'\x12%/v1/{name=organizations/*/contacts/*}\xda\x41\x04name\x12\xdd\x01\n\rDeleteContact\x12\x37.google.cloud.essentialcontacts.v1.DeleteContactRequest\x1a\x16.google.protobuf.Empty\"{\x82\xd3\xe4\x93\x02n* /v1/{name=projects/*/contacts/*}Z!*\x1f/v1/{name=folders/*/contacts/*}Z\'*%/v1/{name=organizations/*/contacts/*}\xda\x41\x04name\x12\x98\x02\n\x0f\x43omputeContacts\x12\x39.google.cloud.essentialcontacts.v1.ComputeContactsRequest\x1a:.google.cloud.essentialcontacts.v1.ComputeContactsResponse\"\x8d\x01\x82\xd3\xe4\x93\x02\x86\x01\x12(/v1/{parent=projects/*}/contacts:computeZ)\x12\'/v1/{parent=folders/*}/contacts:computeZ/\x12-/v1/{parent=organizations/*}/contacts:compute\x12\x9b\x02\n\x0fSendTestMessage\x12\x39.google.cloud.essentialcontacts.v1.SendTestMessageRequest\x1a\x16.google.protobuf.Empty\"\xb4\x01\x82\xd3\xe4\x93\x02\xad\x01\"2/v1/{resource=projects/*}/contacts:sendTestMessage:\x01*Z6\"1/v1/{resource=folders/*}/contacts:sendTestMessage:\x01*Z<\"7/v1/{resource=organizations/*}/contacts:sendTestMessage:\x01*\x1aT\xca\x41 essentialcontacts.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xed\x01\n%com.google.cloud.essentialcontacts.v1P\x01ZScloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb\xaa\x02!Google.Cloud.EssentialContacts.V1\xca\x02!Google\\Cloud\\EssentialContacts\\V1\xea\x02$Google::Cloud::EssentialContacts::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.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 EssentialContacts module V1 Contact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.essentialcontacts.v1.Contact").msgclass ListContactsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.essentialcontacts.v1.ListContactsRequest").msgclass ListContactsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.essentialcontacts.v1.ListContactsResponse").msgclass GetContactRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.essentialcontacts.v1.GetContactRequest").msgclass DeleteContactRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.essentialcontacts.v1.DeleteContactRequest").msgclass CreateContactRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.essentialcontacts.v1.CreateContactRequest").msgclass UpdateContactRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.essentialcontacts.v1.UpdateContactRequest").msgclass ComputeContactsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.essentialcontacts.v1.ComputeContactsRequest").msgclass ComputeContactsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.essentialcontacts.v1.ComputeContactsResponse").msgclass SendTestMessageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.essentialcontacts.v1.SendTestMessageRequest").msgclass end end end end