1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/cloud/essentialcontacts/v1/service.proto 20 21package essentialcontacts 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 grpc "google.golang.org/grpc" 30 codes "google.golang.org/grpc/codes" 31 status "google.golang.org/grpc/status" 32 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 33 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 34 emptypb "google.golang.org/protobuf/types/known/emptypb" 35 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 36 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 37) 38 39const ( 40 // Verify that this generated code is sufficiently up-to-date. 41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 42 // Verify that runtime/protoimpl is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 44) 45 46// A contact that will receive notifications from Google Cloud. 47type Contact struct { 48 state protoimpl.MessageState 49 sizeCache protoimpl.SizeCache 50 unknownFields protoimpl.UnknownFields 51 52 // The identifier for the contact. 53 // Format: {resource_type}/{resource_id}/contacts/{contact_id} 54 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 55 // Required. The email address to send notifications to. This does not need to 56 // be a Google account. 57 Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` 58 // The categories of notifications that the contact will receive 59 // communications for. 60 NotificationCategorySubscriptions []NotificationCategory `protobuf:"varint,3,rep,packed,name=notification_category_subscriptions,json=notificationCategorySubscriptions,proto3,enum=google.cloud.essentialcontacts.v1.NotificationCategory" json:"notification_category_subscriptions,omitempty"` 61 // The preferred language for notifications, as a ISO 639-1 language code. See 62 // [Supported 63 // languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) 64 // for a list of supported languages. 65 LanguageTag string `protobuf:"bytes,4,opt,name=language_tag,json=languageTag,proto3" json:"language_tag,omitempty"` 66 // The validity of the contact. A contact is considered valid if it is the 67 // correct recipient for notifications for a particular resource. 68 ValidationState ValidationState `protobuf:"varint,8,opt,name=validation_state,json=validationState,proto3,enum=google.cloud.essentialcontacts.v1.ValidationState" json:"validation_state,omitempty"` 69 // The last time the validation_state was updated, either manually or 70 // automatically. A contact is considered stale if its validation state was 71 // updated more than 1 year ago. 72 ValidateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=validate_time,json=validateTime,proto3" json:"validate_time,omitempty"` 73} 74 75func (x *Contact) Reset() { 76 *x = Contact{} 77 if protoimpl.UnsafeEnabled { 78 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[0] 79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 80 ms.StoreMessageInfo(mi) 81 } 82} 83 84func (x *Contact) String() string { 85 return protoimpl.X.MessageStringOf(x) 86} 87 88func (*Contact) ProtoMessage() {} 89 90func (x *Contact) ProtoReflect() protoreflect.Message { 91 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[0] 92 if protoimpl.UnsafeEnabled && x != nil { 93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 94 if ms.LoadMessageInfo() == nil { 95 ms.StoreMessageInfo(mi) 96 } 97 return ms 98 } 99 return mi.MessageOf(x) 100} 101 102// Deprecated: Use Contact.ProtoReflect.Descriptor instead. 103func (*Contact) Descriptor() ([]byte, []int) { 104 return file_google_cloud_essentialcontacts_v1_service_proto_rawDescGZIP(), []int{0} 105} 106 107func (x *Contact) GetName() string { 108 if x != nil { 109 return x.Name 110 } 111 return "" 112} 113 114func (x *Contact) GetEmail() string { 115 if x != nil { 116 return x.Email 117 } 118 return "" 119} 120 121func (x *Contact) GetNotificationCategorySubscriptions() []NotificationCategory { 122 if x != nil { 123 return x.NotificationCategorySubscriptions 124 } 125 return nil 126} 127 128func (x *Contact) GetLanguageTag() string { 129 if x != nil { 130 return x.LanguageTag 131 } 132 return "" 133} 134 135func (x *Contact) GetValidationState() ValidationState { 136 if x != nil { 137 return x.ValidationState 138 } 139 return ValidationState_VALIDATION_STATE_UNSPECIFIED 140} 141 142func (x *Contact) GetValidateTime() *timestamppb.Timestamp { 143 if x != nil { 144 return x.ValidateTime 145 } 146 return nil 147} 148 149// Request message for the ListContacts method. 150type ListContactsRequest struct { 151 state protoimpl.MessageState 152 sizeCache protoimpl.SizeCache 153 unknownFields protoimpl.UnknownFields 154 155 // Required. The parent resource name. 156 // Format: organizations/{organization_id}, folders/{folder_id} or 157 // projects/{project_id} 158 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 159 // Optional. The maximum number of results to return from this request. 160 // Non-positive values are ignored. The presence of `next_page_token` in the 161 // response indicates that more results might be available. 162 // If not specified, the default page_size is 100. 163 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 164 // Optional. If present, retrieves the next batch of results from the 165 // preceding call to this method. `page_token` must be the value of 166 // `next_page_token` from the previous response. The values of other method 167 // parameters should be identical to those in the previous call. 168 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 169} 170 171func (x *ListContactsRequest) Reset() { 172 *x = ListContactsRequest{} 173 if protoimpl.UnsafeEnabled { 174 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[1] 175 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 176 ms.StoreMessageInfo(mi) 177 } 178} 179 180func (x *ListContactsRequest) String() string { 181 return protoimpl.X.MessageStringOf(x) 182} 183 184func (*ListContactsRequest) ProtoMessage() {} 185 186func (x *ListContactsRequest) ProtoReflect() protoreflect.Message { 187 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[1] 188 if protoimpl.UnsafeEnabled && x != nil { 189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 190 if ms.LoadMessageInfo() == nil { 191 ms.StoreMessageInfo(mi) 192 } 193 return ms 194 } 195 return mi.MessageOf(x) 196} 197 198// Deprecated: Use ListContactsRequest.ProtoReflect.Descriptor instead. 199func (*ListContactsRequest) Descriptor() ([]byte, []int) { 200 return file_google_cloud_essentialcontacts_v1_service_proto_rawDescGZIP(), []int{1} 201} 202 203func (x *ListContactsRequest) GetParent() string { 204 if x != nil { 205 return x.Parent 206 } 207 return "" 208} 209 210func (x *ListContactsRequest) GetPageSize() int32 { 211 if x != nil { 212 return x.PageSize 213 } 214 return 0 215} 216 217func (x *ListContactsRequest) GetPageToken() string { 218 if x != nil { 219 return x.PageToken 220 } 221 return "" 222} 223 224// Response message for the ListContacts method. 225type ListContactsResponse struct { 226 state protoimpl.MessageState 227 sizeCache protoimpl.SizeCache 228 unknownFields protoimpl.UnknownFields 229 230 // The contacts for the specified resource. 231 Contacts []*Contact `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"` 232 // If there are more results than those appearing in this response, then 233 // `next_page_token` is included. To get the next set of results, call this 234 // method again using the value of `next_page_token` as `page_token` and the 235 // rest of the parameters the same as the original request. 236 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 237} 238 239func (x *ListContactsResponse) Reset() { 240 *x = ListContactsResponse{} 241 if protoimpl.UnsafeEnabled { 242 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[2] 243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 244 ms.StoreMessageInfo(mi) 245 } 246} 247 248func (x *ListContactsResponse) String() string { 249 return protoimpl.X.MessageStringOf(x) 250} 251 252func (*ListContactsResponse) ProtoMessage() {} 253 254func (x *ListContactsResponse) ProtoReflect() protoreflect.Message { 255 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[2] 256 if protoimpl.UnsafeEnabled && x != nil { 257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 258 if ms.LoadMessageInfo() == nil { 259 ms.StoreMessageInfo(mi) 260 } 261 return ms 262 } 263 return mi.MessageOf(x) 264} 265 266// Deprecated: Use ListContactsResponse.ProtoReflect.Descriptor instead. 267func (*ListContactsResponse) Descriptor() ([]byte, []int) { 268 return file_google_cloud_essentialcontacts_v1_service_proto_rawDescGZIP(), []int{2} 269} 270 271func (x *ListContactsResponse) GetContacts() []*Contact { 272 if x != nil { 273 return x.Contacts 274 } 275 return nil 276} 277 278func (x *ListContactsResponse) GetNextPageToken() string { 279 if x != nil { 280 return x.NextPageToken 281 } 282 return "" 283} 284 285// Request message for the GetContact method. 286type GetContactRequest struct { 287 state protoimpl.MessageState 288 sizeCache protoimpl.SizeCache 289 unknownFields protoimpl.UnknownFields 290 291 // Required. The name of the contact to retrieve. 292 // Format: organizations/{organization_id}/contacts/{contact_id}, 293 // folders/{folder_id}/contacts/{contact_id} or 294 // projects/{project_id}/contacts/{contact_id} 295 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 296} 297 298func (x *GetContactRequest) Reset() { 299 *x = GetContactRequest{} 300 if protoimpl.UnsafeEnabled { 301 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[3] 302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 303 ms.StoreMessageInfo(mi) 304 } 305} 306 307func (x *GetContactRequest) String() string { 308 return protoimpl.X.MessageStringOf(x) 309} 310 311func (*GetContactRequest) ProtoMessage() {} 312 313func (x *GetContactRequest) ProtoReflect() protoreflect.Message { 314 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[3] 315 if protoimpl.UnsafeEnabled && x != nil { 316 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 317 if ms.LoadMessageInfo() == nil { 318 ms.StoreMessageInfo(mi) 319 } 320 return ms 321 } 322 return mi.MessageOf(x) 323} 324 325// Deprecated: Use GetContactRequest.ProtoReflect.Descriptor instead. 326func (*GetContactRequest) Descriptor() ([]byte, []int) { 327 return file_google_cloud_essentialcontacts_v1_service_proto_rawDescGZIP(), []int{3} 328} 329 330func (x *GetContactRequest) GetName() string { 331 if x != nil { 332 return x.Name 333 } 334 return "" 335} 336 337// Request message for the DeleteContact method. 338type DeleteContactRequest struct { 339 state protoimpl.MessageState 340 sizeCache protoimpl.SizeCache 341 unknownFields protoimpl.UnknownFields 342 343 // Required. The name of the contact to delete. 344 // Format: organizations/{organization_id}/contacts/{contact_id}, 345 // folders/{folder_id}/contacts/{contact_id} or 346 // projects/{project_id}/contacts/{contact_id} 347 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 348} 349 350func (x *DeleteContactRequest) Reset() { 351 *x = DeleteContactRequest{} 352 if protoimpl.UnsafeEnabled { 353 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[4] 354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 355 ms.StoreMessageInfo(mi) 356 } 357} 358 359func (x *DeleteContactRequest) String() string { 360 return protoimpl.X.MessageStringOf(x) 361} 362 363func (*DeleteContactRequest) ProtoMessage() {} 364 365func (x *DeleteContactRequest) ProtoReflect() protoreflect.Message { 366 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[4] 367 if protoimpl.UnsafeEnabled && x != nil { 368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 369 if ms.LoadMessageInfo() == nil { 370 ms.StoreMessageInfo(mi) 371 } 372 return ms 373 } 374 return mi.MessageOf(x) 375} 376 377// Deprecated: Use DeleteContactRequest.ProtoReflect.Descriptor instead. 378func (*DeleteContactRequest) Descriptor() ([]byte, []int) { 379 return file_google_cloud_essentialcontacts_v1_service_proto_rawDescGZIP(), []int{4} 380} 381 382func (x *DeleteContactRequest) GetName() string { 383 if x != nil { 384 return x.Name 385 } 386 return "" 387} 388 389// Request message for the CreateContact method. 390type CreateContactRequest struct { 391 state protoimpl.MessageState 392 sizeCache protoimpl.SizeCache 393 unknownFields protoimpl.UnknownFields 394 395 // Required. The resource to save this contact for. 396 // Format: organizations/{organization_id}, folders/{folder_id} or 397 // projects/{project_id} 398 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 399 // Required. The contact to create. Must specify an email address and language 400 // tag. 401 Contact *Contact `protobuf:"bytes,2,opt,name=contact,proto3" json:"contact,omitempty"` 402} 403 404func (x *CreateContactRequest) Reset() { 405 *x = CreateContactRequest{} 406 if protoimpl.UnsafeEnabled { 407 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[5] 408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 409 ms.StoreMessageInfo(mi) 410 } 411} 412 413func (x *CreateContactRequest) String() string { 414 return protoimpl.X.MessageStringOf(x) 415} 416 417func (*CreateContactRequest) ProtoMessage() {} 418 419func (x *CreateContactRequest) ProtoReflect() protoreflect.Message { 420 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[5] 421 if protoimpl.UnsafeEnabled && x != nil { 422 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 423 if ms.LoadMessageInfo() == nil { 424 ms.StoreMessageInfo(mi) 425 } 426 return ms 427 } 428 return mi.MessageOf(x) 429} 430 431// Deprecated: Use CreateContactRequest.ProtoReflect.Descriptor instead. 432func (*CreateContactRequest) Descriptor() ([]byte, []int) { 433 return file_google_cloud_essentialcontacts_v1_service_proto_rawDescGZIP(), []int{5} 434} 435 436func (x *CreateContactRequest) GetParent() string { 437 if x != nil { 438 return x.Parent 439 } 440 return "" 441} 442 443func (x *CreateContactRequest) GetContact() *Contact { 444 if x != nil { 445 return x.Contact 446 } 447 return nil 448} 449 450// Request message for the UpdateContact method. 451type UpdateContactRequest struct { 452 state protoimpl.MessageState 453 sizeCache protoimpl.SizeCache 454 unknownFields protoimpl.UnknownFields 455 456 // Required. The contact resource to replace the existing saved contact. Note: 457 // the email address of the contact cannot be modified. 458 Contact *Contact `protobuf:"bytes,2,opt,name=contact,proto3" json:"contact,omitempty"` 459 // Optional. The update mask applied to the resource. For the `FieldMask` 460 // definition, see 461 // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask 462 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 463} 464 465func (x *UpdateContactRequest) Reset() { 466 *x = UpdateContactRequest{} 467 if protoimpl.UnsafeEnabled { 468 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[6] 469 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 470 ms.StoreMessageInfo(mi) 471 } 472} 473 474func (x *UpdateContactRequest) String() string { 475 return protoimpl.X.MessageStringOf(x) 476} 477 478func (*UpdateContactRequest) ProtoMessage() {} 479 480func (x *UpdateContactRequest) ProtoReflect() protoreflect.Message { 481 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[6] 482 if protoimpl.UnsafeEnabled && x != nil { 483 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 484 if ms.LoadMessageInfo() == nil { 485 ms.StoreMessageInfo(mi) 486 } 487 return ms 488 } 489 return mi.MessageOf(x) 490} 491 492// Deprecated: Use UpdateContactRequest.ProtoReflect.Descriptor instead. 493func (*UpdateContactRequest) Descriptor() ([]byte, []int) { 494 return file_google_cloud_essentialcontacts_v1_service_proto_rawDescGZIP(), []int{6} 495} 496 497func (x *UpdateContactRequest) GetContact() *Contact { 498 if x != nil { 499 return x.Contact 500 } 501 return nil 502} 503 504func (x *UpdateContactRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 505 if x != nil { 506 return x.UpdateMask 507 } 508 return nil 509} 510 511// Request message for the ComputeContacts method. 512type ComputeContactsRequest struct { 513 state protoimpl.MessageState 514 sizeCache protoimpl.SizeCache 515 unknownFields protoimpl.UnknownFields 516 517 // Required. The name of the resource to compute contacts for. 518 // Format: organizations/{organization_id}, 519 // folders/{folder_id} or projects/{project_id} 520 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 521 // The categories of notifications to compute contacts for. If ALL is included 522 // in this list, contacts subscribed to any notification category will be 523 // returned. 524 NotificationCategories []NotificationCategory `protobuf:"varint,6,rep,packed,name=notification_categories,json=notificationCategories,proto3,enum=google.cloud.essentialcontacts.v1.NotificationCategory" json:"notification_categories,omitempty"` 525 // Optional. The maximum number of results to return from this request. 526 // Non-positive values are ignored. The presence of `next_page_token` in the 527 // response indicates that more results might be available. 528 // If not specified, the default page_size is 100. 529 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 530 // Optional. If present, retrieves the next batch of results from the 531 // preceding call to this method. `page_token` must be the value of 532 // `next_page_token` from the previous response. The values of other method 533 // parameters should be identical to those in the previous call. 534 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 535} 536 537func (x *ComputeContactsRequest) Reset() { 538 *x = ComputeContactsRequest{} 539 if protoimpl.UnsafeEnabled { 540 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[7] 541 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 542 ms.StoreMessageInfo(mi) 543 } 544} 545 546func (x *ComputeContactsRequest) String() string { 547 return protoimpl.X.MessageStringOf(x) 548} 549 550func (*ComputeContactsRequest) ProtoMessage() {} 551 552func (x *ComputeContactsRequest) ProtoReflect() protoreflect.Message { 553 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[7] 554 if protoimpl.UnsafeEnabled && x != nil { 555 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 556 if ms.LoadMessageInfo() == nil { 557 ms.StoreMessageInfo(mi) 558 } 559 return ms 560 } 561 return mi.MessageOf(x) 562} 563 564// Deprecated: Use ComputeContactsRequest.ProtoReflect.Descriptor instead. 565func (*ComputeContactsRequest) Descriptor() ([]byte, []int) { 566 return file_google_cloud_essentialcontacts_v1_service_proto_rawDescGZIP(), []int{7} 567} 568 569func (x *ComputeContactsRequest) GetParent() string { 570 if x != nil { 571 return x.Parent 572 } 573 return "" 574} 575 576func (x *ComputeContactsRequest) GetNotificationCategories() []NotificationCategory { 577 if x != nil { 578 return x.NotificationCategories 579 } 580 return nil 581} 582 583func (x *ComputeContactsRequest) GetPageSize() int32 { 584 if x != nil { 585 return x.PageSize 586 } 587 return 0 588} 589 590func (x *ComputeContactsRequest) GetPageToken() string { 591 if x != nil { 592 return x.PageToken 593 } 594 return "" 595} 596 597// Response message for the ComputeContacts method. 598type ComputeContactsResponse struct { 599 state protoimpl.MessageState 600 sizeCache protoimpl.SizeCache 601 unknownFields protoimpl.UnknownFields 602 603 // All contacts for the resource that are subscribed to the specified 604 // notification categories, including contacts inherited from any parent 605 // resources. 606 Contacts []*Contact `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"` 607 // If there are more results than those appearing in this response, then 608 // `next_page_token` is included. To get the next set of results, call this 609 // method again using the value of `next_page_token` as `page_token` and the 610 // rest of the parameters the same as the original request. 611 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 612} 613 614func (x *ComputeContactsResponse) Reset() { 615 *x = ComputeContactsResponse{} 616 if protoimpl.UnsafeEnabled { 617 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[8] 618 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 619 ms.StoreMessageInfo(mi) 620 } 621} 622 623func (x *ComputeContactsResponse) String() string { 624 return protoimpl.X.MessageStringOf(x) 625} 626 627func (*ComputeContactsResponse) ProtoMessage() {} 628 629func (x *ComputeContactsResponse) ProtoReflect() protoreflect.Message { 630 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[8] 631 if protoimpl.UnsafeEnabled && x != nil { 632 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 633 if ms.LoadMessageInfo() == nil { 634 ms.StoreMessageInfo(mi) 635 } 636 return ms 637 } 638 return mi.MessageOf(x) 639} 640 641// Deprecated: Use ComputeContactsResponse.ProtoReflect.Descriptor instead. 642func (*ComputeContactsResponse) Descriptor() ([]byte, []int) { 643 return file_google_cloud_essentialcontacts_v1_service_proto_rawDescGZIP(), []int{8} 644} 645 646func (x *ComputeContactsResponse) GetContacts() []*Contact { 647 if x != nil { 648 return x.Contacts 649 } 650 return nil 651} 652 653func (x *ComputeContactsResponse) GetNextPageToken() string { 654 if x != nil { 655 return x.NextPageToken 656 } 657 return "" 658} 659 660// Request message for the SendTestMessage method. 661type SendTestMessageRequest struct { 662 state protoimpl.MessageState 663 sizeCache protoimpl.SizeCache 664 unknownFields protoimpl.UnknownFields 665 666 // Required. The list of names of the contacts to send a test message to. 667 // Format: organizations/{organization_id}/contacts/{contact_id}, 668 // folders/{folder_id}/contacts/{contact_id} or 669 // projects/{project_id}/contacts/{contact_id} 670 Contacts []string `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"` 671 // Required. The name of the resource to send the test message for. All 672 // contacts must either be set directly on this resource or inherited from 673 // another resource that is an ancestor of this one. Format: 674 // organizations/{organization_id}, folders/{folder_id} or 675 // projects/{project_id} 676 Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` 677 // Required. The notification category to send the test message for. All 678 // contacts must be subscribed to this category. 679 NotificationCategory NotificationCategory `protobuf:"varint,3,opt,name=notification_category,json=notificationCategory,proto3,enum=google.cloud.essentialcontacts.v1.NotificationCategory" json:"notification_category,omitempty"` 680} 681 682func (x *SendTestMessageRequest) Reset() { 683 *x = SendTestMessageRequest{} 684 if protoimpl.UnsafeEnabled { 685 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[9] 686 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 687 ms.StoreMessageInfo(mi) 688 } 689} 690 691func (x *SendTestMessageRequest) String() string { 692 return protoimpl.X.MessageStringOf(x) 693} 694 695func (*SendTestMessageRequest) ProtoMessage() {} 696 697func (x *SendTestMessageRequest) ProtoReflect() protoreflect.Message { 698 mi := &file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[9] 699 if protoimpl.UnsafeEnabled && x != nil { 700 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 701 if ms.LoadMessageInfo() == nil { 702 ms.StoreMessageInfo(mi) 703 } 704 return ms 705 } 706 return mi.MessageOf(x) 707} 708 709// Deprecated: Use SendTestMessageRequest.ProtoReflect.Descriptor instead. 710func (*SendTestMessageRequest) Descriptor() ([]byte, []int) { 711 return file_google_cloud_essentialcontacts_v1_service_proto_rawDescGZIP(), []int{9} 712} 713 714func (x *SendTestMessageRequest) GetContacts() []string { 715 if x != nil { 716 return x.Contacts 717 } 718 return nil 719} 720 721func (x *SendTestMessageRequest) GetResource() string { 722 if x != nil { 723 return x.Resource 724 } 725 return "" 726} 727 728func (x *SendTestMessageRequest) GetNotificationCategory() NotificationCategory { 729 if x != nil { 730 return x.NotificationCategory 731 } 732 return NotificationCategory_NOTIFICATION_CATEGORY_UNSPECIFIED 733} 734 735var File_google_cloud_essentialcontacts_v1_service_proto protoreflect.FileDescriptor 736 737var file_google_cloud_essentialcontacts_v1_service_proto_rawDesc = []byte{ 738 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65, 739 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 740 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 741 0x6f, 0x12, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 742 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 743 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 744 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 745 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 746 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 747 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 748 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 749 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 750 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 751 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 752 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 753 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 754 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 755 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 756 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 757 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 758 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 759 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x04, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x61, 760 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 761 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 762 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x87, 0x01, 0x0a, 763 0x23, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x61, 764 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 765 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 766 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 767 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 768 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x74, 0x65, 0x67, 769 0x6f, 0x72, 0x79, 0x52, 0x21, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 770 0x6e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 771 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 772 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x61, 773 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x12, 0x5d, 0x0a, 0x10, 0x76, 0x61, 0x6c, 774 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 775 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 776 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 777 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 778 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 779 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 780 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 781 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 782 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x76, 0x61, 0x6c, 783 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x3a, 0xab, 0x01, 0xea, 0x41, 0xa7, 0x01, 784 0x0a, 0x28, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 785 0x63, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 786 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x12, 0x25, 0x70, 0x72, 0x6f, 0x6a, 787 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, 788 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 789 0x7d, 0x12, 0x23, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66, 0x6f, 0x6c, 0x64, 790 0x65, 0x72, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 791 0x6e, 0x74, 0x61, 0x63, 0x74, 0x7d, 0x12, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 792 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 793 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x63, 794 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x7d, 0x22, 0xa5, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 795 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 796 0x48, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 797 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x12, 0x28, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 798 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 799 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 800 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 801 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 802 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 803 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 804 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 805 0x86, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 806 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 807 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 808 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 809 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 810 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 811 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 812 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 813 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x59, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 814 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 815 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 816 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 817 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 818 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x04, 0x6e, 819 0x61, 0x6d, 0x65, 0x22, 0x5c, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 820 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x04, 0x6e, 821 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 822 0x2a, 0x0a, 0x28, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 823 0x61, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 824 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 825 0x65, 0x22, 0xab, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 826 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x06, 0x70, 0x61, 827 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 828 0x41, 0x2a, 0x12, 0x28, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 829 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 830 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 831 0x72, 0x65, 0x6e, 0x74, 0x12, 0x49, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x18, 832 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 833 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 834 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 835 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x22, 836 0xa3, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 837 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 838 0x61, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 839 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 840 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 841 0x6e, 0x74, 0x61, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 842 0x61, 0x63, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 843 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 844 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 845 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 846 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x9a, 0x02, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 847 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 848 0x12, 0x48, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 849 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x12, 0x28, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 850 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 851 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x74, 0x61, 852 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x70, 0x0a, 0x17, 0x6e, 0x6f, 853 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 854 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 855 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 856 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 857 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x74, 0x65, 858 0x67, 0x6f, 0x72, 0x79, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 859 0x6f, 0x6e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x09, 860 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 861 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 862 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 863 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 864 0x65, 0x6e, 0x22, 0x89, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x43, 0x6f, 865 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 866 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 867 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 868 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 869 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x08, 0x63, 0x6f, 870 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 871 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 872 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa7, 873 0x02, 0x0a, 0x16, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 874 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 875 0x74, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 876 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 877 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 878 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x08, 0x63, 879 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 880 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 881 0x2a, 0x12, 0x28, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 882 0x61, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 883 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x08, 0x72, 0x65, 0x73, 884 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x71, 0x0a, 0x15, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 885 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x03, 886 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 887 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 888 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 889 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, 0x03, 0xe0, 890 0x41, 0x02, 0x52, 0x14, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 891 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x32, 0xcb, 0x0f, 0x0a, 0x18, 0x45, 0x73, 0x73, 892 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x53, 0x65, 893 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x98, 0x02, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 894 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 895 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 896 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 897 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 898 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 899 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 900 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x22, 0xa1, 0x01, 0x82, 901 0xd3, 0xe4, 0x93, 0x02, 0x89, 0x01, 0x22, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 902 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 903 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x3a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 904 0x74, 0x5a, 0x2a, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 905 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 906 0x61, 0x63, 0x74, 0x73, 0x3a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5a, 0x30, 0x22, 907 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6f, 0x72, 0x67, 908 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 909 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x3a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0xda, 910 0x41, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 911 0x12, 0xb5, 0x02, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 912 0x63, 0x74, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 913 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 914 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 915 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 916 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 917 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 918 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x22, 0xbe, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0xa1, 919 0x01, 0x32, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x2e, 920 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 921 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x07, 0x63, 0x6f, 0x6e, 922 0x74, 0x61, 0x63, 0x74, 0x5a, 0x32, 0x32, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 923 0x74, 0x61, 0x63, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 924 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 925 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5a, 0x38, 0x32, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 926 0x7b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 927 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 928 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 929 0x63, 0x74, 0xda, 0x41, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x2c, 0x75, 0x70, 0x64, 930 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0xfe, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 931 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 932 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 933 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 934 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 935 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 936 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 937 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 938 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7d, 0x82, 0xd3, 0xe4, 0x93, 939 0x02, 0x6e, 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 940 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 941 0x61, 0x63, 0x74, 0x73, 0x5a, 0x21, 0x12, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 942 0x65, 0x6e, 0x74, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 943 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x5a, 0x27, 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 944 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 945 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 946 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xeb, 0x01, 0x0a, 0x0a, 0x47, 0x65, 947 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 948 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 949 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 950 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 951 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 952 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 953 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x22, 0x7b, 0x82, 0xd3, 0xe4, 0x93, 954 0x02, 0x6e, 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 955 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 956 0x73, 0x2f, 0x2a, 0x7d, 0x5a, 0x21, 0x12, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 957 0x65, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 958 0x61, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x5a, 0x27, 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 959 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 960 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 961 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xdd, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 962 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 963 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 964 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 965 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 966 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 967 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x7b, 0x82, 0xd3, 0xe4, 0x93, 968 0x02, 0x6e, 0x2a, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 969 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 970 0x73, 0x2f, 0x2a, 0x7d, 0x5a, 0x21, 0x2a, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 971 0x65, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 972 0x61, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x5a, 0x27, 0x2a, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 973 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 974 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 975 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x98, 0x02, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 976 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x12, 0x39, 0x2e, 0x67, 0x6f, 977 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 978 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 979 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x52, 980 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 981 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 982 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x75, 983 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 984 0x73, 0x65, 0x22, 0x8d, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x86, 0x01, 0x12, 0x28, 0x2f, 0x76, 985 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 986 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x3a, 0x63, 987 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5a, 0x29, 0x12, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 988 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 989 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x3a, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 990 0x65, 0x5a, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 991 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 992 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x3a, 0x63, 0x6f, 0x6d, 0x70, 0x75, 993 0x74, 0x65, 0x12, 0x9b, 0x02, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 994 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 995 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 996 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x54, 997 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 998 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 999 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xb4, 0x01, 0x82, 0xd3, 0xe4, 0x93, 1000 0x02, 0xad, 0x01, 0x22, 0x32, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 1001 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 1002 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x3a, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x65, 0x73, 0x74, 1003 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x36, 0x22, 0x31, 0x2f, 0x76, 1004 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x66, 0x6f, 0x6c, 0x64, 1005 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x3a, 1006 0x73, 0x65, 0x6e, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x3a, 1007 0x01, 0x2a, 0x5a, 0x3c, 0x22, 0x37, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 1008 0x72, 0x63, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1009 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x3a, 0x73, 0x65, 1010 0x6e, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x3a, 0x01, 0x2a, 1011 0x1a, 0x54, 0xca, 0x41, 0x20, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 1012 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 1013 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 1014 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1015 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 1016 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xec, 0x01, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 1017 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x73, 0x73, 0x65, 1018 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 1019 0x50, 0x01, 0x5a, 0x52, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 1020 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 1021 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 1022 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 1023 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x6f, 1024 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0xaa, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1025 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x45, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x43, 1026 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x21, 0x47, 0x6f, 0x6f, 1027 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x45, 0x73, 0x73, 0x65, 0x6e, 0x74, 1028 0x69, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 1029 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 1030 0x45, 0x73, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 1031 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1032} 1033 1034var ( 1035 file_google_cloud_essentialcontacts_v1_service_proto_rawDescOnce sync.Once 1036 file_google_cloud_essentialcontacts_v1_service_proto_rawDescData = file_google_cloud_essentialcontacts_v1_service_proto_rawDesc 1037) 1038 1039func file_google_cloud_essentialcontacts_v1_service_proto_rawDescGZIP() []byte { 1040 file_google_cloud_essentialcontacts_v1_service_proto_rawDescOnce.Do(func() { 1041 file_google_cloud_essentialcontacts_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_essentialcontacts_v1_service_proto_rawDescData) 1042 }) 1043 return file_google_cloud_essentialcontacts_v1_service_proto_rawDescData 1044} 1045 1046var file_google_cloud_essentialcontacts_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 1047var file_google_cloud_essentialcontacts_v1_service_proto_goTypes = []interface{}{ 1048 (*Contact)(nil), // 0: google.cloud.essentialcontacts.v1.Contact 1049 (*ListContactsRequest)(nil), // 1: google.cloud.essentialcontacts.v1.ListContactsRequest 1050 (*ListContactsResponse)(nil), // 2: google.cloud.essentialcontacts.v1.ListContactsResponse 1051 (*GetContactRequest)(nil), // 3: google.cloud.essentialcontacts.v1.GetContactRequest 1052 (*DeleteContactRequest)(nil), // 4: google.cloud.essentialcontacts.v1.DeleteContactRequest 1053 (*CreateContactRequest)(nil), // 5: google.cloud.essentialcontacts.v1.CreateContactRequest 1054 (*UpdateContactRequest)(nil), // 6: google.cloud.essentialcontacts.v1.UpdateContactRequest 1055 (*ComputeContactsRequest)(nil), // 7: google.cloud.essentialcontacts.v1.ComputeContactsRequest 1056 (*ComputeContactsResponse)(nil), // 8: google.cloud.essentialcontacts.v1.ComputeContactsResponse 1057 (*SendTestMessageRequest)(nil), // 9: google.cloud.essentialcontacts.v1.SendTestMessageRequest 1058 (NotificationCategory)(0), // 10: google.cloud.essentialcontacts.v1.NotificationCategory 1059 (ValidationState)(0), // 11: google.cloud.essentialcontacts.v1.ValidationState 1060 (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp 1061 (*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask 1062 (*emptypb.Empty)(nil), // 14: google.protobuf.Empty 1063} 1064var file_google_cloud_essentialcontacts_v1_service_proto_depIdxs = []int32{ 1065 10, // 0: google.cloud.essentialcontacts.v1.Contact.notification_category_subscriptions:type_name -> google.cloud.essentialcontacts.v1.NotificationCategory 1066 11, // 1: google.cloud.essentialcontacts.v1.Contact.validation_state:type_name -> google.cloud.essentialcontacts.v1.ValidationState 1067 12, // 2: google.cloud.essentialcontacts.v1.Contact.validate_time:type_name -> google.protobuf.Timestamp 1068 0, // 3: google.cloud.essentialcontacts.v1.ListContactsResponse.contacts:type_name -> google.cloud.essentialcontacts.v1.Contact 1069 0, // 4: google.cloud.essentialcontacts.v1.CreateContactRequest.contact:type_name -> google.cloud.essentialcontacts.v1.Contact 1070 0, // 5: google.cloud.essentialcontacts.v1.UpdateContactRequest.contact:type_name -> google.cloud.essentialcontacts.v1.Contact 1071 13, // 6: google.cloud.essentialcontacts.v1.UpdateContactRequest.update_mask:type_name -> google.protobuf.FieldMask 1072 10, // 7: google.cloud.essentialcontacts.v1.ComputeContactsRequest.notification_categories:type_name -> google.cloud.essentialcontacts.v1.NotificationCategory 1073 0, // 8: google.cloud.essentialcontacts.v1.ComputeContactsResponse.contacts:type_name -> google.cloud.essentialcontacts.v1.Contact 1074 10, // 9: google.cloud.essentialcontacts.v1.SendTestMessageRequest.notification_category:type_name -> google.cloud.essentialcontacts.v1.NotificationCategory 1075 5, // 10: google.cloud.essentialcontacts.v1.EssentialContactsService.CreateContact:input_type -> google.cloud.essentialcontacts.v1.CreateContactRequest 1076 6, // 11: google.cloud.essentialcontacts.v1.EssentialContactsService.UpdateContact:input_type -> google.cloud.essentialcontacts.v1.UpdateContactRequest 1077 1, // 12: google.cloud.essentialcontacts.v1.EssentialContactsService.ListContacts:input_type -> google.cloud.essentialcontacts.v1.ListContactsRequest 1078 3, // 13: google.cloud.essentialcontacts.v1.EssentialContactsService.GetContact:input_type -> google.cloud.essentialcontacts.v1.GetContactRequest 1079 4, // 14: google.cloud.essentialcontacts.v1.EssentialContactsService.DeleteContact:input_type -> google.cloud.essentialcontacts.v1.DeleteContactRequest 1080 7, // 15: google.cloud.essentialcontacts.v1.EssentialContactsService.ComputeContacts:input_type -> google.cloud.essentialcontacts.v1.ComputeContactsRequest 1081 9, // 16: google.cloud.essentialcontacts.v1.EssentialContactsService.SendTestMessage:input_type -> google.cloud.essentialcontacts.v1.SendTestMessageRequest 1082 0, // 17: google.cloud.essentialcontacts.v1.EssentialContactsService.CreateContact:output_type -> google.cloud.essentialcontacts.v1.Contact 1083 0, // 18: google.cloud.essentialcontacts.v1.EssentialContactsService.UpdateContact:output_type -> google.cloud.essentialcontacts.v1.Contact 1084 2, // 19: google.cloud.essentialcontacts.v1.EssentialContactsService.ListContacts:output_type -> google.cloud.essentialcontacts.v1.ListContactsResponse 1085 0, // 20: google.cloud.essentialcontacts.v1.EssentialContactsService.GetContact:output_type -> google.cloud.essentialcontacts.v1.Contact 1086 14, // 21: google.cloud.essentialcontacts.v1.EssentialContactsService.DeleteContact:output_type -> google.protobuf.Empty 1087 8, // 22: google.cloud.essentialcontacts.v1.EssentialContactsService.ComputeContacts:output_type -> google.cloud.essentialcontacts.v1.ComputeContactsResponse 1088 14, // 23: google.cloud.essentialcontacts.v1.EssentialContactsService.SendTestMessage:output_type -> google.protobuf.Empty 1089 17, // [17:24] is the sub-list for method output_type 1090 10, // [10:17] is the sub-list for method input_type 1091 10, // [10:10] is the sub-list for extension type_name 1092 10, // [10:10] is the sub-list for extension extendee 1093 0, // [0:10] is the sub-list for field type_name 1094} 1095 1096func init() { file_google_cloud_essentialcontacts_v1_service_proto_init() } 1097func file_google_cloud_essentialcontacts_v1_service_proto_init() { 1098 if File_google_cloud_essentialcontacts_v1_service_proto != nil { 1099 return 1100 } 1101 file_google_cloud_essentialcontacts_v1_enums_proto_init() 1102 if !protoimpl.UnsafeEnabled { 1103 file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1104 switch v := v.(*Contact); i { 1105 case 0: 1106 return &v.state 1107 case 1: 1108 return &v.sizeCache 1109 case 2: 1110 return &v.unknownFields 1111 default: 1112 return nil 1113 } 1114 } 1115 file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1116 switch v := v.(*ListContactsRequest); i { 1117 case 0: 1118 return &v.state 1119 case 1: 1120 return &v.sizeCache 1121 case 2: 1122 return &v.unknownFields 1123 default: 1124 return nil 1125 } 1126 } 1127 file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1128 switch v := v.(*ListContactsResponse); i { 1129 case 0: 1130 return &v.state 1131 case 1: 1132 return &v.sizeCache 1133 case 2: 1134 return &v.unknownFields 1135 default: 1136 return nil 1137 } 1138 } 1139 file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1140 switch v := v.(*GetContactRequest); i { 1141 case 0: 1142 return &v.state 1143 case 1: 1144 return &v.sizeCache 1145 case 2: 1146 return &v.unknownFields 1147 default: 1148 return nil 1149 } 1150 } 1151 file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1152 switch v := v.(*DeleteContactRequest); i { 1153 case 0: 1154 return &v.state 1155 case 1: 1156 return &v.sizeCache 1157 case 2: 1158 return &v.unknownFields 1159 default: 1160 return nil 1161 } 1162 } 1163 file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1164 switch v := v.(*CreateContactRequest); i { 1165 case 0: 1166 return &v.state 1167 case 1: 1168 return &v.sizeCache 1169 case 2: 1170 return &v.unknownFields 1171 default: 1172 return nil 1173 } 1174 } 1175 file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1176 switch v := v.(*UpdateContactRequest); i { 1177 case 0: 1178 return &v.state 1179 case 1: 1180 return &v.sizeCache 1181 case 2: 1182 return &v.unknownFields 1183 default: 1184 return nil 1185 } 1186 } 1187 file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1188 switch v := v.(*ComputeContactsRequest); i { 1189 case 0: 1190 return &v.state 1191 case 1: 1192 return &v.sizeCache 1193 case 2: 1194 return &v.unknownFields 1195 default: 1196 return nil 1197 } 1198 } 1199 file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1200 switch v := v.(*ComputeContactsResponse); i { 1201 case 0: 1202 return &v.state 1203 case 1: 1204 return &v.sizeCache 1205 case 2: 1206 return &v.unknownFields 1207 default: 1208 return nil 1209 } 1210 } 1211 file_google_cloud_essentialcontacts_v1_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1212 switch v := v.(*SendTestMessageRequest); i { 1213 case 0: 1214 return &v.state 1215 case 1: 1216 return &v.sizeCache 1217 case 2: 1218 return &v.unknownFields 1219 default: 1220 return nil 1221 } 1222 } 1223 } 1224 type x struct{} 1225 out := protoimpl.TypeBuilder{ 1226 File: protoimpl.DescBuilder{ 1227 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1228 RawDescriptor: file_google_cloud_essentialcontacts_v1_service_proto_rawDesc, 1229 NumEnums: 0, 1230 NumMessages: 10, 1231 NumExtensions: 0, 1232 NumServices: 1, 1233 }, 1234 GoTypes: file_google_cloud_essentialcontacts_v1_service_proto_goTypes, 1235 DependencyIndexes: file_google_cloud_essentialcontacts_v1_service_proto_depIdxs, 1236 MessageInfos: file_google_cloud_essentialcontacts_v1_service_proto_msgTypes, 1237 }.Build() 1238 File_google_cloud_essentialcontacts_v1_service_proto = out.File 1239 file_google_cloud_essentialcontacts_v1_service_proto_rawDesc = nil 1240 file_google_cloud_essentialcontacts_v1_service_proto_goTypes = nil 1241 file_google_cloud_essentialcontacts_v1_service_proto_depIdxs = nil 1242} 1243 1244// Reference imports to suppress errors if they are not otherwise used. 1245var _ context.Context 1246var _ grpc.ClientConnInterface 1247 1248// This is a compile-time assertion to ensure that this generated file 1249// is compatible with the grpc package it is being compiled against. 1250const _ = grpc.SupportPackageIsVersion6 1251 1252// EssentialContactsServiceClient is the client API for EssentialContactsService service. 1253// 1254// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1255type EssentialContactsServiceClient interface { 1256 // Adds a new contact for a resource. 1257 CreateContact(ctx context.Context, in *CreateContactRequest, opts ...grpc.CallOption) (*Contact, error) 1258 // Updates a contact. 1259 // Note: A contact's email address cannot be changed. 1260 UpdateContact(ctx context.Context, in *UpdateContactRequest, opts ...grpc.CallOption) (*Contact, error) 1261 // Lists the contacts that have been set on a resource. 1262 ListContacts(ctx context.Context, in *ListContactsRequest, opts ...grpc.CallOption) (*ListContactsResponse, error) 1263 // Gets a single contact. 1264 GetContact(ctx context.Context, in *GetContactRequest, opts ...grpc.CallOption) (*Contact, error) 1265 // Deletes a contact. 1266 DeleteContact(ctx context.Context, in *DeleteContactRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1267 // Lists all contacts for the resource that are subscribed to the 1268 // specified notification categories, including contacts inherited from 1269 // any parent resources. 1270 ComputeContacts(ctx context.Context, in *ComputeContactsRequest, opts ...grpc.CallOption) (*ComputeContactsResponse, error) 1271 // Allows a contact admin to send a test message to contact to verify that it 1272 // has been configured correctly. 1273 SendTestMessage(ctx context.Context, in *SendTestMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1274} 1275 1276type essentialContactsServiceClient struct { 1277 cc grpc.ClientConnInterface 1278} 1279 1280func NewEssentialContactsServiceClient(cc grpc.ClientConnInterface) EssentialContactsServiceClient { 1281 return &essentialContactsServiceClient{cc} 1282} 1283 1284func (c *essentialContactsServiceClient) CreateContact(ctx context.Context, in *CreateContactRequest, opts ...grpc.CallOption) (*Contact, error) { 1285 out := new(Contact) 1286 err := c.cc.Invoke(ctx, "/google.cloud.essentialcontacts.v1.EssentialContactsService/CreateContact", in, out, opts...) 1287 if err != nil { 1288 return nil, err 1289 } 1290 return out, nil 1291} 1292 1293func (c *essentialContactsServiceClient) UpdateContact(ctx context.Context, in *UpdateContactRequest, opts ...grpc.CallOption) (*Contact, error) { 1294 out := new(Contact) 1295 err := c.cc.Invoke(ctx, "/google.cloud.essentialcontacts.v1.EssentialContactsService/UpdateContact", in, out, opts...) 1296 if err != nil { 1297 return nil, err 1298 } 1299 return out, nil 1300} 1301 1302func (c *essentialContactsServiceClient) ListContacts(ctx context.Context, in *ListContactsRequest, opts ...grpc.CallOption) (*ListContactsResponse, error) { 1303 out := new(ListContactsResponse) 1304 err := c.cc.Invoke(ctx, "/google.cloud.essentialcontacts.v1.EssentialContactsService/ListContacts", in, out, opts...) 1305 if err != nil { 1306 return nil, err 1307 } 1308 return out, nil 1309} 1310 1311func (c *essentialContactsServiceClient) GetContact(ctx context.Context, in *GetContactRequest, opts ...grpc.CallOption) (*Contact, error) { 1312 out := new(Contact) 1313 err := c.cc.Invoke(ctx, "/google.cloud.essentialcontacts.v1.EssentialContactsService/GetContact", in, out, opts...) 1314 if err != nil { 1315 return nil, err 1316 } 1317 return out, nil 1318} 1319 1320func (c *essentialContactsServiceClient) DeleteContact(ctx context.Context, in *DeleteContactRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1321 out := new(emptypb.Empty) 1322 err := c.cc.Invoke(ctx, "/google.cloud.essentialcontacts.v1.EssentialContactsService/DeleteContact", in, out, opts...) 1323 if err != nil { 1324 return nil, err 1325 } 1326 return out, nil 1327} 1328 1329func (c *essentialContactsServiceClient) ComputeContacts(ctx context.Context, in *ComputeContactsRequest, opts ...grpc.CallOption) (*ComputeContactsResponse, error) { 1330 out := new(ComputeContactsResponse) 1331 err := c.cc.Invoke(ctx, "/google.cloud.essentialcontacts.v1.EssentialContactsService/ComputeContacts", in, out, opts...) 1332 if err != nil { 1333 return nil, err 1334 } 1335 return out, nil 1336} 1337 1338func (c *essentialContactsServiceClient) SendTestMessage(ctx context.Context, in *SendTestMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1339 out := new(emptypb.Empty) 1340 err := c.cc.Invoke(ctx, "/google.cloud.essentialcontacts.v1.EssentialContactsService/SendTestMessage", in, out, opts...) 1341 if err != nil { 1342 return nil, err 1343 } 1344 return out, nil 1345} 1346 1347// EssentialContactsServiceServer is the server API for EssentialContactsService service. 1348type EssentialContactsServiceServer interface { 1349 // Adds a new contact for a resource. 1350 CreateContact(context.Context, *CreateContactRequest) (*Contact, error) 1351 // Updates a contact. 1352 // Note: A contact's email address cannot be changed. 1353 UpdateContact(context.Context, *UpdateContactRequest) (*Contact, error) 1354 // Lists the contacts that have been set on a resource. 1355 ListContacts(context.Context, *ListContactsRequest) (*ListContactsResponse, error) 1356 // Gets a single contact. 1357 GetContact(context.Context, *GetContactRequest) (*Contact, error) 1358 // Deletes a contact. 1359 DeleteContact(context.Context, *DeleteContactRequest) (*emptypb.Empty, error) 1360 // Lists all contacts for the resource that are subscribed to the 1361 // specified notification categories, including contacts inherited from 1362 // any parent resources. 1363 ComputeContacts(context.Context, *ComputeContactsRequest) (*ComputeContactsResponse, error) 1364 // Allows a contact admin to send a test message to contact to verify that it 1365 // has been configured correctly. 1366 SendTestMessage(context.Context, *SendTestMessageRequest) (*emptypb.Empty, error) 1367} 1368 1369// UnimplementedEssentialContactsServiceServer can be embedded to have forward compatible implementations. 1370type UnimplementedEssentialContactsServiceServer struct { 1371} 1372 1373func (*UnimplementedEssentialContactsServiceServer) CreateContact(context.Context, *CreateContactRequest) (*Contact, error) { 1374 return nil, status.Errorf(codes.Unimplemented, "method CreateContact not implemented") 1375} 1376func (*UnimplementedEssentialContactsServiceServer) UpdateContact(context.Context, *UpdateContactRequest) (*Contact, error) { 1377 return nil, status.Errorf(codes.Unimplemented, "method UpdateContact not implemented") 1378} 1379func (*UnimplementedEssentialContactsServiceServer) ListContacts(context.Context, *ListContactsRequest) (*ListContactsResponse, error) { 1380 return nil, status.Errorf(codes.Unimplemented, "method ListContacts not implemented") 1381} 1382func (*UnimplementedEssentialContactsServiceServer) GetContact(context.Context, *GetContactRequest) (*Contact, error) { 1383 return nil, status.Errorf(codes.Unimplemented, "method GetContact not implemented") 1384} 1385func (*UnimplementedEssentialContactsServiceServer) DeleteContact(context.Context, *DeleteContactRequest) (*emptypb.Empty, error) { 1386 return nil, status.Errorf(codes.Unimplemented, "method DeleteContact not implemented") 1387} 1388func (*UnimplementedEssentialContactsServiceServer) ComputeContacts(context.Context, *ComputeContactsRequest) (*ComputeContactsResponse, error) { 1389 return nil, status.Errorf(codes.Unimplemented, "method ComputeContacts not implemented") 1390} 1391func (*UnimplementedEssentialContactsServiceServer) SendTestMessage(context.Context, *SendTestMessageRequest) (*emptypb.Empty, error) { 1392 return nil, status.Errorf(codes.Unimplemented, "method SendTestMessage not implemented") 1393} 1394 1395func RegisterEssentialContactsServiceServer(s *grpc.Server, srv EssentialContactsServiceServer) { 1396 s.RegisterService(&_EssentialContactsService_serviceDesc, srv) 1397} 1398 1399func _EssentialContactsService_CreateContact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1400 in := new(CreateContactRequest) 1401 if err := dec(in); err != nil { 1402 return nil, err 1403 } 1404 if interceptor == nil { 1405 return srv.(EssentialContactsServiceServer).CreateContact(ctx, in) 1406 } 1407 info := &grpc.UnaryServerInfo{ 1408 Server: srv, 1409 FullMethod: "/google.cloud.essentialcontacts.v1.EssentialContactsService/CreateContact", 1410 } 1411 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1412 return srv.(EssentialContactsServiceServer).CreateContact(ctx, req.(*CreateContactRequest)) 1413 } 1414 return interceptor(ctx, in, info, handler) 1415} 1416 1417func _EssentialContactsService_UpdateContact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1418 in := new(UpdateContactRequest) 1419 if err := dec(in); err != nil { 1420 return nil, err 1421 } 1422 if interceptor == nil { 1423 return srv.(EssentialContactsServiceServer).UpdateContact(ctx, in) 1424 } 1425 info := &grpc.UnaryServerInfo{ 1426 Server: srv, 1427 FullMethod: "/google.cloud.essentialcontacts.v1.EssentialContactsService/UpdateContact", 1428 } 1429 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1430 return srv.(EssentialContactsServiceServer).UpdateContact(ctx, req.(*UpdateContactRequest)) 1431 } 1432 return interceptor(ctx, in, info, handler) 1433} 1434 1435func _EssentialContactsService_ListContacts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1436 in := new(ListContactsRequest) 1437 if err := dec(in); err != nil { 1438 return nil, err 1439 } 1440 if interceptor == nil { 1441 return srv.(EssentialContactsServiceServer).ListContacts(ctx, in) 1442 } 1443 info := &grpc.UnaryServerInfo{ 1444 Server: srv, 1445 FullMethod: "/google.cloud.essentialcontacts.v1.EssentialContactsService/ListContacts", 1446 } 1447 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1448 return srv.(EssentialContactsServiceServer).ListContacts(ctx, req.(*ListContactsRequest)) 1449 } 1450 return interceptor(ctx, in, info, handler) 1451} 1452 1453func _EssentialContactsService_GetContact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1454 in := new(GetContactRequest) 1455 if err := dec(in); err != nil { 1456 return nil, err 1457 } 1458 if interceptor == nil { 1459 return srv.(EssentialContactsServiceServer).GetContact(ctx, in) 1460 } 1461 info := &grpc.UnaryServerInfo{ 1462 Server: srv, 1463 FullMethod: "/google.cloud.essentialcontacts.v1.EssentialContactsService/GetContact", 1464 } 1465 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1466 return srv.(EssentialContactsServiceServer).GetContact(ctx, req.(*GetContactRequest)) 1467 } 1468 return interceptor(ctx, in, info, handler) 1469} 1470 1471func _EssentialContactsService_DeleteContact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1472 in := new(DeleteContactRequest) 1473 if err := dec(in); err != nil { 1474 return nil, err 1475 } 1476 if interceptor == nil { 1477 return srv.(EssentialContactsServiceServer).DeleteContact(ctx, in) 1478 } 1479 info := &grpc.UnaryServerInfo{ 1480 Server: srv, 1481 FullMethod: "/google.cloud.essentialcontacts.v1.EssentialContactsService/DeleteContact", 1482 } 1483 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1484 return srv.(EssentialContactsServiceServer).DeleteContact(ctx, req.(*DeleteContactRequest)) 1485 } 1486 return interceptor(ctx, in, info, handler) 1487} 1488 1489func _EssentialContactsService_ComputeContacts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1490 in := new(ComputeContactsRequest) 1491 if err := dec(in); err != nil { 1492 return nil, err 1493 } 1494 if interceptor == nil { 1495 return srv.(EssentialContactsServiceServer).ComputeContacts(ctx, in) 1496 } 1497 info := &grpc.UnaryServerInfo{ 1498 Server: srv, 1499 FullMethod: "/google.cloud.essentialcontacts.v1.EssentialContactsService/ComputeContacts", 1500 } 1501 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1502 return srv.(EssentialContactsServiceServer).ComputeContacts(ctx, req.(*ComputeContactsRequest)) 1503 } 1504 return interceptor(ctx, in, info, handler) 1505} 1506 1507func _EssentialContactsService_SendTestMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1508 in := new(SendTestMessageRequest) 1509 if err := dec(in); err != nil { 1510 return nil, err 1511 } 1512 if interceptor == nil { 1513 return srv.(EssentialContactsServiceServer).SendTestMessage(ctx, in) 1514 } 1515 info := &grpc.UnaryServerInfo{ 1516 Server: srv, 1517 FullMethod: "/google.cloud.essentialcontacts.v1.EssentialContactsService/SendTestMessage", 1518 } 1519 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1520 return srv.(EssentialContactsServiceServer).SendTestMessage(ctx, req.(*SendTestMessageRequest)) 1521 } 1522 return interceptor(ctx, in, info, handler) 1523} 1524 1525var _EssentialContactsService_serviceDesc = grpc.ServiceDesc{ 1526 ServiceName: "google.cloud.essentialcontacts.v1.EssentialContactsService", 1527 HandlerType: (*EssentialContactsServiceServer)(nil), 1528 Methods: []grpc.MethodDesc{ 1529 { 1530 MethodName: "CreateContact", 1531 Handler: _EssentialContactsService_CreateContact_Handler, 1532 }, 1533 { 1534 MethodName: "UpdateContact", 1535 Handler: _EssentialContactsService_UpdateContact_Handler, 1536 }, 1537 { 1538 MethodName: "ListContacts", 1539 Handler: _EssentialContactsService_ListContacts_Handler, 1540 }, 1541 { 1542 MethodName: "GetContact", 1543 Handler: _EssentialContactsService_GetContact_Handler, 1544 }, 1545 { 1546 MethodName: "DeleteContact", 1547 Handler: _EssentialContactsService_DeleteContact_Handler, 1548 }, 1549 { 1550 MethodName: "ComputeContacts", 1551 Handler: _EssentialContactsService_ComputeContacts_Handler, 1552 }, 1553 { 1554 MethodName: "SendTestMessage", 1555 Handler: _EssentialContactsService_SendTestMessage_Handler, 1556 }, 1557 }, 1558 Streams: []grpc.StreamDesc{}, 1559 Metadata: "google/cloud/essentialcontacts/v1/service.proto", 1560} 1561