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/eventarc/v1/eventarc.proto 20 21package eventarc 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 longrunning "google.golang.org/genproto/googleapis/longrunning" 30 grpc "google.golang.org/grpc" 31 codes "google.golang.org/grpc/codes" 32 status "google.golang.org/grpc/status" 33 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 34 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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// The request message for the GetTrigger method. 47type GetTriggerRequest struct { 48 state protoimpl.MessageState 49 sizeCache protoimpl.SizeCache 50 unknownFields protoimpl.UnknownFields 51 52 // Required. The name of the trigger to get. 53 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 54} 55 56func (x *GetTriggerRequest) Reset() { 57 *x = GetTriggerRequest{} 58 if protoimpl.UnsafeEnabled { 59 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[0] 60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 61 ms.StoreMessageInfo(mi) 62 } 63} 64 65func (x *GetTriggerRequest) String() string { 66 return protoimpl.X.MessageStringOf(x) 67} 68 69func (*GetTriggerRequest) ProtoMessage() {} 70 71func (x *GetTriggerRequest) ProtoReflect() protoreflect.Message { 72 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[0] 73 if protoimpl.UnsafeEnabled && x != nil { 74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 75 if ms.LoadMessageInfo() == nil { 76 ms.StoreMessageInfo(mi) 77 } 78 return ms 79 } 80 return mi.MessageOf(x) 81} 82 83// Deprecated: Use GetTriggerRequest.ProtoReflect.Descriptor instead. 84func (*GetTriggerRequest) Descriptor() ([]byte, []int) { 85 return file_google_cloud_eventarc_v1_eventarc_proto_rawDescGZIP(), []int{0} 86} 87 88func (x *GetTriggerRequest) GetName() string { 89 if x != nil { 90 return x.Name 91 } 92 return "" 93} 94 95// The request message for the ListTriggers method. 96type ListTriggersRequest struct { 97 state protoimpl.MessageState 98 sizeCache protoimpl.SizeCache 99 unknownFields protoimpl.UnknownFields 100 101 // Required. The parent collection to list triggers on. 102 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 103 // The maximum number of triggers to return on each page. 104 // Note: The service may send fewer. 105 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 106 // The page token; provide the value from the `next_page_token` field in a 107 // previous `ListTriggers` call to retrieve the subsequent page. 108 // 109 // When paginating, all other parameters provided to `ListTriggers` must match 110 // the call that provided the page token. 111 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 112 // The sorting order of the resources returned. Value should be a comma 113 // separated list of fields. The default sorting oder is ascending. To specify 114 // descending order for a field, append a ` desc` suffix; for example: 115 // `name desc, trigger_id`. 116 OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` 117} 118 119func (x *ListTriggersRequest) Reset() { 120 *x = ListTriggersRequest{} 121 if protoimpl.UnsafeEnabled { 122 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[1] 123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 124 ms.StoreMessageInfo(mi) 125 } 126} 127 128func (x *ListTriggersRequest) String() string { 129 return protoimpl.X.MessageStringOf(x) 130} 131 132func (*ListTriggersRequest) ProtoMessage() {} 133 134func (x *ListTriggersRequest) ProtoReflect() protoreflect.Message { 135 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[1] 136 if protoimpl.UnsafeEnabled && x != nil { 137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 138 if ms.LoadMessageInfo() == nil { 139 ms.StoreMessageInfo(mi) 140 } 141 return ms 142 } 143 return mi.MessageOf(x) 144} 145 146// Deprecated: Use ListTriggersRequest.ProtoReflect.Descriptor instead. 147func (*ListTriggersRequest) Descriptor() ([]byte, []int) { 148 return file_google_cloud_eventarc_v1_eventarc_proto_rawDescGZIP(), []int{1} 149} 150 151func (x *ListTriggersRequest) GetParent() string { 152 if x != nil { 153 return x.Parent 154 } 155 return "" 156} 157 158func (x *ListTriggersRequest) GetPageSize() int32 { 159 if x != nil { 160 return x.PageSize 161 } 162 return 0 163} 164 165func (x *ListTriggersRequest) GetPageToken() string { 166 if x != nil { 167 return x.PageToken 168 } 169 return "" 170} 171 172func (x *ListTriggersRequest) GetOrderBy() string { 173 if x != nil { 174 return x.OrderBy 175 } 176 return "" 177} 178 179// The response message for the ListTriggers method. 180type ListTriggersResponse struct { 181 state protoimpl.MessageState 182 sizeCache protoimpl.SizeCache 183 unknownFields protoimpl.UnknownFields 184 185 // The requested triggers, up to the number specified in `page_size`. 186 Triggers []*Trigger `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"` 187 // A page token that can be sent to ListTriggers to request the next page. 188 // If this is empty, then there are no more pages. 189 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 190 // Unreachable resources, if any. 191 Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` 192} 193 194func (x *ListTriggersResponse) Reset() { 195 *x = ListTriggersResponse{} 196 if protoimpl.UnsafeEnabled { 197 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[2] 198 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 199 ms.StoreMessageInfo(mi) 200 } 201} 202 203func (x *ListTriggersResponse) String() string { 204 return protoimpl.X.MessageStringOf(x) 205} 206 207func (*ListTriggersResponse) ProtoMessage() {} 208 209func (x *ListTriggersResponse) ProtoReflect() protoreflect.Message { 210 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[2] 211 if protoimpl.UnsafeEnabled && x != nil { 212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 213 if ms.LoadMessageInfo() == nil { 214 ms.StoreMessageInfo(mi) 215 } 216 return ms 217 } 218 return mi.MessageOf(x) 219} 220 221// Deprecated: Use ListTriggersResponse.ProtoReflect.Descriptor instead. 222func (*ListTriggersResponse) Descriptor() ([]byte, []int) { 223 return file_google_cloud_eventarc_v1_eventarc_proto_rawDescGZIP(), []int{2} 224} 225 226func (x *ListTriggersResponse) GetTriggers() []*Trigger { 227 if x != nil { 228 return x.Triggers 229 } 230 return nil 231} 232 233func (x *ListTriggersResponse) GetNextPageToken() string { 234 if x != nil { 235 return x.NextPageToken 236 } 237 return "" 238} 239 240func (x *ListTriggersResponse) GetUnreachable() []string { 241 if x != nil { 242 return x.Unreachable 243 } 244 return nil 245} 246 247// The request message for the CreateTrigger method. 248type CreateTriggerRequest struct { 249 state protoimpl.MessageState 250 sizeCache protoimpl.SizeCache 251 unknownFields protoimpl.UnknownFields 252 253 // Required. The parent collection in which to add this trigger. 254 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 255 // Required. The trigger to create. 256 Trigger *Trigger `protobuf:"bytes,2,opt,name=trigger,proto3" json:"trigger,omitempty"` 257 // Required. The user-provided ID to be assigned to the trigger. 258 TriggerId string `protobuf:"bytes,3,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` 259 // Required. If set, validate the request and preview the review, but do not actually 260 // post it. 261 ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` 262} 263 264func (x *CreateTriggerRequest) Reset() { 265 *x = CreateTriggerRequest{} 266 if protoimpl.UnsafeEnabled { 267 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[3] 268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 269 ms.StoreMessageInfo(mi) 270 } 271} 272 273func (x *CreateTriggerRequest) String() string { 274 return protoimpl.X.MessageStringOf(x) 275} 276 277func (*CreateTriggerRequest) ProtoMessage() {} 278 279func (x *CreateTriggerRequest) ProtoReflect() protoreflect.Message { 280 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[3] 281 if protoimpl.UnsafeEnabled && x != nil { 282 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 283 if ms.LoadMessageInfo() == nil { 284 ms.StoreMessageInfo(mi) 285 } 286 return ms 287 } 288 return mi.MessageOf(x) 289} 290 291// Deprecated: Use CreateTriggerRequest.ProtoReflect.Descriptor instead. 292func (*CreateTriggerRequest) Descriptor() ([]byte, []int) { 293 return file_google_cloud_eventarc_v1_eventarc_proto_rawDescGZIP(), []int{3} 294} 295 296func (x *CreateTriggerRequest) GetParent() string { 297 if x != nil { 298 return x.Parent 299 } 300 return "" 301} 302 303func (x *CreateTriggerRequest) GetTrigger() *Trigger { 304 if x != nil { 305 return x.Trigger 306 } 307 return nil 308} 309 310func (x *CreateTriggerRequest) GetTriggerId() string { 311 if x != nil { 312 return x.TriggerId 313 } 314 return "" 315} 316 317func (x *CreateTriggerRequest) GetValidateOnly() bool { 318 if x != nil { 319 return x.ValidateOnly 320 } 321 return false 322} 323 324// The request message for the UpdateTrigger method. 325type UpdateTriggerRequest struct { 326 state protoimpl.MessageState 327 sizeCache protoimpl.SizeCache 328 unknownFields protoimpl.UnknownFields 329 330 // The trigger to be updated. 331 Trigger *Trigger `protobuf:"bytes,1,opt,name=trigger,proto3" json:"trigger,omitempty"` 332 // The fields to be updated; only fields explicitly provided will be updated. 333 // If no field mask is provided, all provided fields in the request will be 334 // updated. To update all fields, provide a field mask of "*". 335 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 336 // If set to true, and the trigger is not found, a new trigger will be 337 // created. In this situation, `update_mask` is ignored. 338 AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` 339 // Required. If set, validate the request and preview the review, but do not actually 340 // post it. 341 ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` 342} 343 344func (x *UpdateTriggerRequest) Reset() { 345 *x = UpdateTriggerRequest{} 346 if protoimpl.UnsafeEnabled { 347 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[4] 348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 349 ms.StoreMessageInfo(mi) 350 } 351} 352 353func (x *UpdateTriggerRequest) String() string { 354 return protoimpl.X.MessageStringOf(x) 355} 356 357func (*UpdateTriggerRequest) ProtoMessage() {} 358 359func (x *UpdateTriggerRequest) ProtoReflect() protoreflect.Message { 360 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[4] 361 if protoimpl.UnsafeEnabled && x != nil { 362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 363 if ms.LoadMessageInfo() == nil { 364 ms.StoreMessageInfo(mi) 365 } 366 return ms 367 } 368 return mi.MessageOf(x) 369} 370 371// Deprecated: Use UpdateTriggerRequest.ProtoReflect.Descriptor instead. 372func (*UpdateTriggerRequest) Descriptor() ([]byte, []int) { 373 return file_google_cloud_eventarc_v1_eventarc_proto_rawDescGZIP(), []int{4} 374} 375 376func (x *UpdateTriggerRequest) GetTrigger() *Trigger { 377 if x != nil { 378 return x.Trigger 379 } 380 return nil 381} 382 383func (x *UpdateTriggerRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 384 if x != nil { 385 return x.UpdateMask 386 } 387 return nil 388} 389 390func (x *UpdateTriggerRequest) GetAllowMissing() bool { 391 if x != nil { 392 return x.AllowMissing 393 } 394 return false 395} 396 397func (x *UpdateTriggerRequest) GetValidateOnly() bool { 398 if x != nil { 399 return x.ValidateOnly 400 } 401 return false 402} 403 404// The request message for the DeleteTrigger method. 405type DeleteTriggerRequest struct { 406 state protoimpl.MessageState 407 sizeCache protoimpl.SizeCache 408 unknownFields protoimpl.UnknownFields 409 410 // Required. The name of the trigger to be deleted. 411 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 412 // If provided, the trigger will only be deleted if the etag matches the 413 // current etag on the resource. 414 Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` 415 // If set to true, and the trigger is not found, the request will succeed 416 // but no action will be taken on the server. 417 AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` 418 // Required. If set, validate the request and preview the review, but do not actually 419 // post it. 420 ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` 421} 422 423func (x *DeleteTriggerRequest) Reset() { 424 *x = DeleteTriggerRequest{} 425 if protoimpl.UnsafeEnabled { 426 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[5] 427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 428 ms.StoreMessageInfo(mi) 429 } 430} 431 432func (x *DeleteTriggerRequest) String() string { 433 return protoimpl.X.MessageStringOf(x) 434} 435 436func (*DeleteTriggerRequest) ProtoMessage() {} 437 438func (x *DeleteTriggerRequest) ProtoReflect() protoreflect.Message { 439 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[5] 440 if protoimpl.UnsafeEnabled && x != nil { 441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 442 if ms.LoadMessageInfo() == nil { 443 ms.StoreMessageInfo(mi) 444 } 445 return ms 446 } 447 return mi.MessageOf(x) 448} 449 450// Deprecated: Use DeleteTriggerRequest.ProtoReflect.Descriptor instead. 451func (*DeleteTriggerRequest) Descriptor() ([]byte, []int) { 452 return file_google_cloud_eventarc_v1_eventarc_proto_rawDescGZIP(), []int{5} 453} 454 455func (x *DeleteTriggerRequest) GetName() string { 456 if x != nil { 457 return x.Name 458 } 459 return "" 460} 461 462func (x *DeleteTriggerRequest) GetEtag() string { 463 if x != nil { 464 return x.Etag 465 } 466 return "" 467} 468 469func (x *DeleteTriggerRequest) GetAllowMissing() bool { 470 if x != nil { 471 return x.AllowMissing 472 } 473 return false 474} 475 476func (x *DeleteTriggerRequest) GetValidateOnly() bool { 477 if x != nil { 478 return x.ValidateOnly 479 } 480 return false 481} 482 483// Represents the metadata of the long-running operation. 484type OperationMetadata struct { 485 state protoimpl.MessageState 486 sizeCache protoimpl.SizeCache 487 unknownFields protoimpl.UnknownFields 488 489 // Output only. The time the operation was created. 490 CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 491 // Output only. The time the operation finished running. 492 EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` 493 // Output only. Server-defined resource path for the target of the operation. 494 Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` 495 // Output only. Name of the verb executed by the operation. 496 Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"` 497 // Output only. Human-readable status of the operation, if any. 498 StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` 499 // Output only. Identifies whether the user has requested cancellation 500 // of the operation. Operations that have successfully been cancelled 501 // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, 502 // corresponding to `Code.CANCELLED`. 503 RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"` 504 // Output only. API version used to start the operation. 505 ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` 506} 507 508func (x *OperationMetadata) Reset() { 509 *x = OperationMetadata{} 510 if protoimpl.UnsafeEnabled { 511 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[6] 512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 513 ms.StoreMessageInfo(mi) 514 } 515} 516 517func (x *OperationMetadata) String() string { 518 return protoimpl.X.MessageStringOf(x) 519} 520 521func (*OperationMetadata) ProtoMessage() {} 522 523func (x *OperationMetadata) ProtoReflect() protoreflect.Message { 524 mi := &file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[6] 525 if protoimpl.UnsafeEnabled && x != nil { 526 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 527 if ms.LoadMessageInfo() == nil { 528 ms.StoreMessageInfo(mi) 529 } 530 return ms 531 } 532 return mi.MessageOf(x) 533} 534 535// Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead. 536func (*OperationMetadata) Descriptor() ([]byte, []int) { 537 return file_google_cloud_eventarc_v1_eventarc_proto_rawDescGZIP(), []int{6} 538} 539 540func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { 541 if x != nil { 542 return x.CreateTime 543 } 544 return nil 545} 546 547func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { 548 if x != nil { 549 return x.EndTime 550 } 551 return nil 552} 553 554func (x *OperationMetadata) GetTarget() string { 555 if x != nil { 556 return x.Target 557 } 558 return "" 559} 560 561func (x *OperationMetadata) GetVerb() string { 562 if x != nil { 563 return x.Verb 564 } 565 return "" 566} 567 568func (x *OperationMetadata) GetStatusMessage() string { 569 if x != nil { 570 return x.StatusMessage 571 } 572 return "" 573} 574 575func (x *OperationMetadata) GetRequestedCancellation() bool { 576 if x != nil { 577 return x.RequestedCancellation 578 } 579 return false 580} 581 582func (x *OperationMetadata) GetApiVersion() string { 583 if x != nil { 584 return x.ApiVersion 585 } 586 return "" 587} 588 589var File_google_cloud_eventarc_v1_eventarc_proto protoreflect.FileDescriptor 590 591var file_google_cloud_eventarc_v1_eventarc_proto_rawDesc = []byte{ 592 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65, 593 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 594 0x61, 0x72, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 595 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 596 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 597 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 598 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 599 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 600 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 601 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 602 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 603 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 604 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x76, 0x31, 605 0x2f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 606 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 607 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 608 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 609 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 610 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 611 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 612 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x72, 0x69, 613 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 614 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 615 0x21, 0x0a, 0x1f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 616 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x69, 0x67, 0x67, 617 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xad, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 618 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 619 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 620 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 621 0x72, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 622 0x6d, 0x2f, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 623 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 624 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 625 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 626 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x19, 0x0a, 627 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 628 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0x9f, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 629 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 630 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 631 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 632 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 633 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 634 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 635 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 636 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x72, 0x65, 637 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x75, 638 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xe7, 0x01, 0x0a, 0x14, 0x43, 639 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 640 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 641 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x65, 0x76, 0x65, 642 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 643 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x06, 0x70, 0x61, 644 0x72, 0x65, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, 645 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 646 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 647 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x74, 648 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0a, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 649 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 650 0x09, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0d, 0x76, 0x61, 651 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 652 0x08, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 653 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xdf, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 654 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 655 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 656 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 657 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 658 0x72, 0x52, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 659 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 660 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 661 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 662 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 663 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 664 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x28, 0x0a, 0x0d, 665 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 666 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 667 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xb6, 0x01, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 668 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 669 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 670 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 671 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 672 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 673 0x65, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 674 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 675 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 676 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x28, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 677 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 678 0x02, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 679 0xd5, 0x02, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 680 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 681 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 682 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 683 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 684 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 685 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 686 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 687 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 688 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 689 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 690 0x12, 0x17, 0x0a, 0x04, 0x76, 0x65, 0x72, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 691 0xe0, 0x41, 0x03, 0x52, 0x04, 0x76, 0x65, 0x72, 0x62, 0x12, 0x2a, 0x0a, 0x0e, 0x73, 0x74, 0x61, 692 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 693 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, 0x65, 694 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x16, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 695 0x65, 0x64, 0x5f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 696 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x15, 0x72, 0x65, 0x71, 0x75, 697 0x65, 0x73, 0x74, 0x65, 0x64, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 698 0x6e, 0x12, 0x24, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 699 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x61, 0x70, 0x69, 700 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0xb4, 0x08, 0x0a, 0x08, 0x45, 0x76, 0x65, 0x6e, 701 0x74, 0x61, 0x72, 0x63, 0x12, 0x99, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x54, 0x72, 0x69, 0x67, 702 0x67, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 703 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 704 0x65, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 705 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 706 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x69, 0x67, 707 0x67, 0x65, 0x72, 0x22, 0x3b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x31, 708 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 709 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x72, 710 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 711 0x12, 0xac, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 712 0x73, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 713 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 714 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 715 0x1a, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 716 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 717 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 718 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 719 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 720 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x72, 721 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 722 0xd8, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 723 0x72, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 724 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 725 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 726 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 727 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 728 0x22, 0x78, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 729 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 730 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x72, 731 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x3a, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0xda, 732 0x41, 0x19, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 733 0x2c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x69, 0x64, 0xca, 0x41, 0x1c, 0x0a, 0x07, 734 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 735 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xe9, 0x01, 0x0a, 0x0d, 0x55, 736 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x2e, 0x2e, 0x67, 737 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 738 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 739 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 740 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 741 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x88, 0x01, 0x82, 0xd3, 742 0xe4, 0x93, 0x02, 0x3f, 0x32, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x74, 0x72, 0x69, 0x67, 0x67, 743 0x65, 0x72, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 744 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 745 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x07, 0x74, 0x72, 0x69, 0x67, 746 0x67, 0x65, 0x72, 0xda, 0x41, 0x21, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x2c, 0x75, 0x70, 747 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 748 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0xca, 0x41, 0x1c, 0x0a, 0x07, 0x54, 0x72, 0x69, 0x67, 749 0x67, 0x65, 0x72, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 750 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xc8, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 751 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 752 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 753 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 754 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 755 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 756 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x68, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x2a, 757 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 758 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 759 0x2a, 0x2f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x12, 760 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 761 0x6e, 0x67, 0xca, 0x41, 0x1c, 0x0a, 0x07, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x11, 762 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 763 0x61, 0x1a, 0x4b, 0xca, 0x41, 0x17, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x67, 764 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 765 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 766 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 767 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xc5, 768 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 769 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x42, 770 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 771 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 772 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 773 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65, 0x76, 774 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x76, 0x31, 0x3b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 775 0x72, 0x63, 0xaa, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 776 0x64, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x18, 777 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x45, 0x76, 0x65, 778 0x6e, 0x74, 0x61, 0x72, 0x63, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 779 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 780 0x72, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 781} 782 783var ( 784 file_google_cloud_eventarc_v1_eventarc_proto_rawDescOnce sync.Once 785 file_google_cloud_eventarc_v1_eventarc_proto_rawDescData = file_google_cloud_eventarc_v1_eventarc_proto_rawDesc 786) 787 788func file_google_cloud_eventarc_v1_eventarc_proto_rawDescGZIP() []byte { 789 file_google_cloud_eventarc_v1_eventarc_proto_rawDescOnce.Do(func() { 790 file_google_cloud_eventarc_v1_eventarc_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_eventarc_v1_eventarc_proto_rawDescData) 791 }) 792 return file_google_cloud_eventarc_v1_eventarc_proto_rawDescData 793} 794 795var file_google_cloud_eventarc_v1_eventarc_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 796var file_google_cloud_eventarc_v1_eventarc_proto_goTypes = []interface{}{ 797 (*GetTriggerRequest)(nil), // 0: google.cloud.eventarc.v1.GetTriggerRequest 798 (*ListTriggersRequest)(nil), // 1: google.cloud.eventarc.v1.ListTriggersRequest 799 (*ListTriggersResponse)(nil), // 2: google.cloud.eventarc.v1.ListTriggersResponse 800 (*CreateTriggerRequest)(nil), // 3: google.cloud.eventarc.v1.CreateTriggerRequest 801 (*UpdateTriggerRequest)(nil), // 4: google.cloud.eventarc.v1.UpdateTriggerRequest 802 (*DeleteTriggerRequest)(nil), // 5: google.cloud.eventarc.v1.DeleteTriggerRequest 803 (*OperationMetadata)(nil), // 6: google.cloud.eventarc.v1.OperationMetadata 804 (*Trigger)(nil), // 7: google.cloud.eventarc.v1.Trigger 805 (*fieldmaskpb.FieldMask)(nil), // 8: google.protobuf.FieldMask 806 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp 807 (*longrunning.Operation)(nil), // 10: google.longrunning.Operation 808} 809var file_google_cloud_eventarc_v1_eventarc_proto_depIdxs = []int32{ 810 7, // 0: google.cloud.eventarc.v1.ListTriggersResponse.triggers:type_name -> google.cloud.eventarc.v1.Trigger 811 7, // 1: google.cloud.eventarc.v1.CreateTriggerRequest.trigger:type_name -> google.cloud.eventarc.v1.Trigger 812 7, // 2: google.cloud.eventarc.v1.UpdateTriggerRequest.trigger:type_name -> google.cloud.eventarc.v1.Trigger 813 8, // 3: google.cloud.eventarc.v1.UpdateTriggerRequest.update_mask:type_name -> google.protobuf.FieldMask 814 9, // 4: google.cloud.eventarc.v1.OperationMetadata.create_time:type_name -> google.protobuf.Timestamp 815 9, // 5: google.cloud.eventarc.v1.OperationMetadata.end_time:type_name -> google.protobuf.Timestamp 816 0, // 6: google.cloud.eventarc.v1.Eventarc.GetTrigger:input_type -> google.cloud.eventarc.v1.GetTriggerRequest 817 1, // 7: google.cloud.eventarc.v1.Eventarc.ListTriggers:input_type -> google.cloud.eventarc.v1.ListTriggersRequest 818 3, // 8: google.cloud.eventarc.v1.Eventarc.CreateTrigger:input_type -> google.cloud.eventarc.v1.CreateTriggerRequest 819 4, // 9: google.cloud.eventarc.v1.Eventarc.UpdateTrigger:input_type -> google.cloud.eventarc.v1.UpdateTriggerRequest 820 5, // 10: google.cloud.eventarc.v1.Eventarc.DeleteTrigger:input_type -> google.cloud.eventarc.v1.DeleteTriggerRequest 821 7, // 11: google.cloud.eventarc.v1.Eventarc.GetTrigger:output_type -> google.cloud.eventarc.v1.Trigger 822 2, // 12: google.cloud.eventarc.v1.Eventarc.ListTriggers:output_type -> google.cloud.eventarc.v1.ListTriggersResponse 823 10, // 13: google.cloud.eventarc.v1.Eventarc.CreateTrigger:output_type -> google.longrunning.Operation 824 10, // 14: google.cloud.eventarc.v1.Eventarc.UpdateTrigger:output_type -> google.longrunning.Operation 825 10, // 15: google.cloud.eventarc.v1.Eventarc.DeleteTrigger:output_type -> google.longrunning.Operation 826 11, // [11:16] is the sub-list for method output_type 827 6, // [6:11] is the sub-list for method input_type 828 6, // [6:6] is the sub-list for extension type_name 829 6, // [6:6] is the sub-list for extension extendee 830 0, // [0:6] is the sub-list for field type_name 831} 832 833func init() { file_google_cloud_eventarc_v1_eventarc_proto_init() } 834func file_google_cloud_eventarc_v1_eventarc_proto_init() { 835 if File_google_cloud_eventarc_v1_eventarc_proto != nil { 836 return 837 } 838 file_google_cloud_eventarc_v1_trigger_proto_init() 839 if !protoimpl.UnsafeEnabled { 840 file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 841 switch v := v.(*GetTriggerRequest); i { 842 case 0: 843 return &v.state 844 case 1: 845 return &v.sizeCache 846 case 2: 847 return &v.unknownFields 848 default: 849 return nil 850 } 851 } 852 file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 853 switch v := v.(*ListTriggersRequest); i { 854 case 0: 855 return &v.state 856 case 1: 857 return &v.sizeCache 858 case 2: 859 return &v.unknownFields 860 default: 861 return nil 862 } 863 } 864 file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 865 switch v := v.(*ListTriggersResponse); i { 866 case 0: 867 return &v.state 868 case 1: 869 return &v.sizeCache 870 case 2: 871 return &v.unknownFields 872 default: 873 return nil 874 } 875 } 876 file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 877 switch v := v.(*CreateTriggerRequest); i { 878 case 0: 879 return &v.state 880 case 1: 881 return &v.sizeCache 882 case 2: 883 return &v.unknownFields 884 default: 885 return nil 886 } 887 } 888 file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 889 switch v := v.(*UpdateTriggerRequest); i { 890 case 0: 891 return &v.state 892 case 1: 893 return &v.sizeCache 894 case 2: 895 return &v.unknownFields 896 default: 897 return nil 898 } 899 } 900 file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 901 switch v := v.(*DeleteTriggerRequest); i { 902 case 0: 903 return &v.state 904 case 1: 905 return &v.sizeCache 906 case 2: 907 return &v.unknownFields 908 default: 909 return nil 910 } 911 } 912 file_google_cloud_eventarc_v1_eventarc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 913 switch v := v.(*OperationMetadata); i { 914 case 0: 915 return &v.state 916 case 1: 917 return &v.sizeCache 918 case 2: 919 return &v.unknownFields 920 default: 921 return nil 922 } 923 } 924 } 925 type x struct{} 926 out := protoimpl.TypeBuilder{ 927 File: protoimpl.DescBuilder{ 928 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 929 RawDescriptor: file_google_cloud_eventarc_v1_eventarc_proto_rawDesc, 930 NumEnums: 0, 931 NumMessages: 7, 932 NumExtensions: 0, 933 NumServices: 1, 934 }, 935 GoTypes: file_google_cloud_eventarc_v1_eventarc_proto_goTypes, 936 DependencyIndexes: file_google_cloud_eventarc_v1_eventarc_proto_depIdxs, 937 MessageInfos: file_google_cloud_eventarc_v1_eventarc_proto_msgTypes, 938 }.Build() 939 File_google_cloud_eventarc_v1_eventarc_proto = out.File 940 file_google_cloud_eventarc_v1_eventarc_proto_rawDesc = nil 941 file_google_cloud_eventarc_v1_eventarc_proto_goTypes = nil 942 file_google_cloud_eventarc_v1_eventarc_proto_depIdxs = nil 943} 944 945// Reference imports to suppress errors if they are not otherwise used. 946var _ context.Context 947var _ grpc.ClientConnInterface 948 949// This is a compile-time assertion to ensure that this generated file 950// is compatible with the grpc package it is being compiled against. 951const _ = grpc.SupportPackageIsVersion6 952 953// EventarcClient is the client API for Eventarc service. 954// 955// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 956type EventarcClient interface { 957 // Get a single trigger. 958 GetTrigger(ctx context.Context, in *GetTriggerRequest, opts ...grpc.CallOption) (*Trigger, error) 959 // List triggers. 960 ListTriggers(ctx context.Context, in *ListTriggersRequest, opts ...grpc.CallOption) (*ListTriggersResponse, error) 961 // Create a new trigger in a particular project and location. 962 CreateTrigger(ctx context.Context, in *CreateTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 963 // Update a single trigger. 964 UpdateTrigger(ctx context.Context, in *UpdateTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 965 // Delete a single trigger. 966 DeleteTrigger(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 967} 968 969type eventarcClient struct { 970 cc grpc.ClientConnInterface 971} 972 973func NewEventarcClient(cc grpc.ClientConnInterface) EventarcClient { 974 return &eventarcClient{cc} 975} 976 977func (c *eventarcClient) GetTrigger(ctx context.Context, in *GetTriggerRequest, opts ...grpc.CallOption) (*Trigger, error) { 978 out := new(Trigger) 979 err := c.cc.Invoke(ctx, "/google.cloud.eventarc.v1.Eventarc/GetTrigger", in, out, opts...) 980 if err != nil { 981 return nil, err 982 } 983 return out, nil 984} 985 986func (c *eventarcClient) ListTriggers(ctx context.Context, in *ListTriggersRequest, opts ...grpc.CallOption) (*ListTriggersResponse, error) { 987 out := new(ListTriggersResponse) 988 err := c.cc.Invoke(ctx, "/google.cloud.eventarc.v1.Eventarc/ListTriggers", in, out, opts...) 989 if err != nil { 990 return nil, err 991 } 992 return out, nil 993} 994 995func (c *eventarcClient) CreateTrigger(ctx context.Context, in *CreateTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 996 out := new(longrunning.Operation) 997 err := c.cc.Invoke(ctx, "/google.cloud.eventarc.v1.Eventarc/CreateTrigger", in, out, opts...) 998 if err != nil { 999 return nil, err 1000 } 1001 return out, nil 1002} 1003 1004func (c *eventarcClient) UpdateTrigger(ctx context.Context, in *UpdateTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1005 out := new(longrunning.Operation) 1006 err := c.cc.Invoke(ctx, "/google.cloud.eventarc.v1.Eventarc/UpdateTrigger", in, out, opts...) 1007 if err != nil { 1008 return nil, err 1009 } 1010 return out, nil 1011} 1012 1013func (c *eventarcClient) DeleteTrigger(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1014 out := new(longrunning.Operation) 1015 err := c.cc.Invoke(ctx, "/google.cloud.eventarc.v1.Eventarc/DeleteTrigger", in, out, opts...) 1016 if err != nil { 1017 return nil, err 1018 } 1019 return out, nil 1020} 1021 1022// EventarcServer is the server API for Eventarc service. 1023type EventarcServer interface { 1024 // Get a single trigger. 1025 GetTrigger(context.Context, *GetTriggerRequest) (*Trigger, error) 1026 // List triggers. 1027 ListTriggers(context.Context, *ListTriggersRequest) (*ListTriggersResponse, error) 1028 // Create a new trigger in a particular project and location. 1029 CreateTrigger(context.Context, *CreateTriggerRequest) (*longrunning.Operation, error) 1030 // Update a single trigger. 1031 UpdateTrigger(context.Context, *UpdateTriggerRequest) (*longrunning.Operation, error) 1032 // Delete a single trigger. 1033 DeleteTrigger(context.Context, *DeleteTriggerRequest) (*longrunning.Operation, error) 1034} 1035 1036// UnimplementedEventarcServer can be embedded to have forward compatible implementations. 1037type UnimplementedEventarcServer struct { 1038} 1039 1040func (*UnimplementedEventarcServer) GetTrigger(context.Context, *GetTriggerRequest) (*Trigger, error) { 1041 return nil, status.Errorf(codes.Unimplemented, "method GetTrigger not implemented") 1042} 1043func (*UnimplementedEventarcServer) ListTriggers(context.Context, *ListTriggersRequest) (*ListTriggersResponse, error) { 1044 return nil, status.Errorf(codes.Unimplemented, "method ListTriggers not implemented") 1045} 1046func (*UnimplementedEventarcServer) CreateTrigger(context.Context, *CreateTriggerRequest) (*longrunning.Operation, error) { 1047 return nil, status.Errorf(codes.Unimplemented, "method CreateTrigger not implemented") 1048} 1049func (*UnimplementedEventarcServer) UpdateTrigger(context.Context, *UpdateTriggerRequest) (*longrunning.Operation, error) { 1050 return nil, status.Errorf(codes.Unimplemented, "method UpdateTrigger not implemented") 1051} 1052func (*UnimplementedEventarcServer) DeleteTrigger(context.Context, *DeleteTriggerRequest) (*longrunning.Operation, error) { 1053 return nil, status.Errorf(codes.Unimplemented, "method DeleteTrigger not implemented") 1054} 1055 1056func RegisterEventarcServer(s *grpc.Server, srv EventarcServer) { 1057 s.RegisterService(&_Eventarc_serviceDesc, srv) 1058} 1059 1060func _Eventarc_GetTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1061 in := new(GetTriggerRequest) 1062 if err := dec(in); err != nil { 1063 return nil, err 1064 } 1065 if interceptor == nil { 1066 return srv.(EventarcServer).GetTrigger(ctx, in) 1067 } 1068 info := &grpc.UnaryServerInfo{ 1069 Server: srv, 1070 FullMethod: "/google.cloud.eventarc.v1.Eventarc/GetTrigger", 1071 } 1072 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1073 return srv.(EventarcServer).GetTrigger(ctx, req.(*GetTriggerRequest)) 1074 } 1075 return interceptor(ctx, in, info, handler) 1076} 1077 1078func _Eventarc_ListTriggers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1079 in := new(ListTriggersRequest) 1080 if err := dec(in); err != nil { 1081 return nil, err 1082 } 1083 if interceptor == nil { 1084 return srv.(EventarcServer).ListTriggers(ctx, in) 1085 } 1086 info := &grpc.UnaryServerInfo{ 1087 Server: srv, 1088 FullMethod: "/google.cloud.eventarc.v1.Eventarc/ListTriggers", 1089 } 1090 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1091 return srv.(EventarcServer).ListTriggers(ctx, req.(*ListTriggersRequest)) 1092 } 1093 return interceptor(ctx, in, info, handler) 1094} 1095 1096func _Eventarc_CreateTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1097 in := new(CreateTriggerRequest) 1098 if err := dec(in); err != nil { 1099 return nil, err 1100 } 1101 if interceptor == nil { 1102 return srv.(EventarcServer).CreateTrigger(ctx, in) 1103 } 1104 info := &grpc.UnaryServerInfo{ 1105 Server: srv, 1106 FullMethod: "/google.cloud.eventarc.v1.Eventarc/CreateTrigger", 1107 } 1108 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1109 return srv.(EventarcServer).CreateTrigger(ctx, req.(*CreateTriggerRequest)) 1110 } 1111 return interceptor(ctx, in, info, handler) 1112} 1113 1114func _Eventarc_UpdateTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1115 in := new(UpdateTriggerRequest) 1116 if err := dec(in); err != nil { 1117 return nil, err 1118 } 1119 if interceptor == nil { 1120 return srv.(EventarcServer).UpdateTrigger(ctx, in) 1121 } 1122 info := &grpc.UnaryServerInfo{ 1123 Server: srv, 1124 FullMethod: "/google.cloud.eventarc.v1.Eventarc/UpdateTrigger", 1125 } 1126 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1127 return srv.(EventarcServer).UpdateTrigger(ctx, req.(*UpdateTriggerRequest)) 1128 } 1129 return interceptor(ctx, in, info, handler) 1130} 1131 1132func _Eventarc_DeleteTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1133 in := new(DeleteTriggerRequest) 1134 if err := dec(in); err != nil { 1135 return nil, err 1136 } 1137 if interceptor == nil { 1138 return srv.(EventarcServer).DeleteTrigger(ctx, in) 1139 } 1140 info := &grpc.UnaryServerInfo{ 1141 Server: srv, 1142 FullMethod: "/google.cloud.eventarc.v1.Eventarc/DeleteTrigger", 1143 } 1144 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1145 return srv.(EventarcServer).DeleteTrigger(ctx, req.(*DeleteTriggerRequest)) 1146 } 1147 return interceptor(ctx, in, info, handler) 1148} 1149 1150var _Eventarc_serviceDesc = grpc.ServiceDesc{ 1151 ServiceName: "google.cloud.eventarc.v1.Eventarc", 1152 HandlerType: (*EventarcServer)(nil), 1153 Methods: []grpc.MethodDesc{ 1154 { 1155 MethodName: "GetTrigger", 1156 Handler: _Eventarc_GetTrigger_Handler, 1157 }, 1158 { 1159 MethodName: "ListTriggers", 1160 Handler: _Eventarc_ListTriggers_Handler, 1161 }, 1162 { 1163 MethodName: "CreateTrigger", 1164 Handler: _Eventarc_CreateTrigger_Handler, 1165 }, 1166 { 1167 MethodName: "UpdateTrigger", 1168 Handler: _Eventarc_UpdateTrigger_Handler, 1169 }, 1170 { 1171 MethodName: "DeleteTrigger", 1172 Handler: _Eventarc_DeleteTrigger_Handler, 1173 }, 1174 }, 1175 Streams: []grpc.StreamDesc{}, 1176 Metadata: "google/cloud/eventarc/v1/eventarc.proto", 1177} 1178