1// Copyright 2020 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.25.0 18// protoc v3.13.0 19// source: google/cloud/dialogflow/cx/v3beta1/webhook.proto 20 21package cx 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 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 durationpb "google.golang.org/protobuf/types/known/durationpb" 36 emptypb "google.golang.org/protobuf/types/known/emptypb" 37 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 38 structpb "google.golang.org/protobuf/types/known/structpb" 39) 40 41const ( 42 // Verify that this generated code is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 44 // Verify that runtime/protoimpl is sufficiently up-to-date. 45 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 46) 47 48// This is a compile-time assertion that a sufficiently up-to-date version 49// of the legacy proto package is being used. 50const _ = proto.ProtoPackageIsVersion4 51 52// Defines merge behavior for `messages`. 53type WebhookResponse_FulfillmentResponse_MergeBehavior int32 54 55const ( 56 // Not specified. `APPEND` will be used. 57 WebhookResponse_FulfillmentResponse_MERGE_BEHAVIOR_UNSPECIFIED WebhookResponse_FulfillmentResponse_MergeBehavior = 0 58 // `messages` will be appended to the list of messages waiting to be sent 59 // to the user. 60 WebhookResponse_FulfillmentResponse_APPEND WebhookResponse_FulfillmentResponse_MergeBehavior = 1 61 // `messages` will replace the list of messages waiting to be sent to the 62 // user. 63 WebhookResponse_FulfillmentResponse_REPLACE WebhookResponse_FulfillmentResponse_MergeBehavior = 2 64) 65 66// Enum value maps for WebhookResponse_FulfillmentResponse_MergeBehavior. 67var ( 68 WebhookResponse_FulfillmentResponse_MergeBehavior_name = map[int32]string{ 69 0: "MERGE_BEHAVIOR_UNSPECIFIED", 70 1: "APPEND", 71 2: "REPLACE", 72 } 73 WebhookResponse_FulfillmentResponse_MergeBehavior_value = map[string]int32{ 74 "MERGE_BEHAVIOR_UNSPECIFIED": 0, 75 "APPEND": 1, 76 "REPLACE": 2, 77 } 78) 79 80func (x WebhookResponse_FulfillmentResponse_MergeBehavior) Enum() *WebhookResponse_FulfillmentResponse_MergeBehavior { 81 p := new(WebhookResponse_FulfillmentResponse_MergeBehavior) 82 *p = x 83 return p 84} 85 86func (x WebhookResponse_FulfillmentResponse_MergeBehavior) String() string { 87 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 88} 89 90func (WebhookResponse_FulfillmentResponse_MergeBehavior) Descriptor() protoreflect.EnumDescriptor { 91 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_enumTypes[0].Descriptor() 92} 93 94func (WebhookResponse_FulfillmentResponse_MergeBehavior) Type() protoreflect.EnumType { 95 return &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_enumTypes[0] 96} 97 98func (x WebhookResponse_FulfillmentResponse_MergeBehavior) Number() protoreflect.EnumNumber { 99 return protoreflect.EnumNumber(x) 100} 101 102// Deprecated: Use WebhookResponse_FulfillmentResponse_MergeBehavior.Descriptor instead. 103func (WebhookResponse_FulfillmentResponse_MergeBehavior) EnumDescriptor() ([]byte, []int) { 104 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{8, 0, 0} 105} 106 107// Represents the state of a parameter. 108type PageInfo_FormInfo_ParameterInfo_ParameterState int32 109 110const ( 111 // Not specified. This value should be never used. 112 PageInfo_FormInfo_ParameterInfo_PARAMETER_STATE_UNSPECIFIED PageInfo_FormInfo_ParameterInfo_ParameterState = 0 113 // Indicates that the parameter does not have a value. 114 PageInfo_FormInfo_ParameterInfo_EMPTY PageInfo_FormInfo_ParameterInfo_ParameterState = 1 115 // Indicates that the parameter value is invalid. This field can be used 116 // by the webhook to invalidate the parameter and ask the server to 117 // collect it from the user again. 118 PageInfo_FormInfo_ParameterInfo_INVALID PageInfo_FormInfo_ParameterInfo_ParameterState = 2 119 // Indicates that the parameter has a value. 120 PageInfo_FormInfo_ParameterInfo_FILLED PageInfo_FormInfo_ParameterInfo_ParameterState = 3 121) 122 123// Enum value maps for PageInfo_FormInfo_ParameterInfo_ParameterState. 124var ( 125 PageInfo_FormInfo_ParameterInfo_ParameterState_name = map[int32]string{ 126 0: "PARAMETER_STATE_UNSPECIFIED", 127 1: "EMPTY", 128 2: "INVALID", 129 3: "FILLED", 130 } 131 PageInfo_FormInfo_ParameterInfo_ParameterState_value = map[string]int32{ 132 "PARAMETER_STATE_UNSPECIFIED": 0, 133 "EMPTY": 1, 134 "INVALID": 2, 135 "FILLED": 3, 136 } 137) 138 139func (x PageInfo_FormInfo_ParameterInfo_ParameterState) Enum() *PageInfo_FormInfo_ParameterInfo_ParameterState { 140 p := new(PageInfo_FormInfo_ParameterInfo_ParameterState) 141 *p = x 142 return p 143} 144 145func (x PageInfo_FormInfo_ParameterInfo_ParameterState) String() string { 146 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 147} 148 149func (PageInfo_FormInfo_ParameterInfo_ParameterState) Descriptor() protoreflect.EnumDescriptor { 150 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_enumTypes[1].Descriptor() 151} 152 153func (PageInfo_FormInfo_ParameterInfo_ParameterState) Type() protoreflect.EnumType { 154 return &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_enumTypes[1] 155} 156 157func (x PageInfo_FormInfo_ParameterInfo_ParameterState) Number() protoreflect.EnumNumber { 158 return protoreflect.EnumNumber(x) 159} 160 161// Deprecated: Use PageInfo_FormInfo_ParameterInfo_ParameterState.Descriptor instead. 162func (PageInfo_FormInfo_ParameterInfo_ParameterState) EnumDescriptor() ([]byte, []int) { 163 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{9, 0, 0, 0} 164} 165 166// Webhooks host the developer's business logic. During a session, webhooks 167// allow the developer to use the data extracted by Dialogflow's natural 168// language processing to generate dynamic responses, validate collected data, 169// or trigger actions on the backend. 170type Webhook struct { 171 state protoimpl.MessageState 172 sizeCache protoimpl.SizeCache 173 unknownFields protoimpl.UnknownFields 174 175 // The unique identifier of the webhook. 176 // Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method. 177 // [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically. 178 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent 179 // ID>/webhooks/<Webhook ID>`. 180 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 181 // Required. The human-readable name of the webhook, unique within the agent. 182 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 183 // Required. The webhook configuration. 184 // 185 // Types that are assignable to Webhook: 186 // *Webhook_GenericWebService_ 187 Webhook isWebhook_Webhook `protobuf_oneof:"webhook"` 188 // Webhook execution timeout. Execution is considered failed if Dialogflow 189 // doesn't receive a response from webhook at the end of the timeout period. 190 // Defaults to 5 seconds, maximum allowed timeout is 30 seconds. 191 Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"` 192 // Indicates whether the webhook is disabled. 193 Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"` 194} 195 196func (x *Webhook) Reset() { 197 *x = Webhook{} 198 if protoimpl.UnsafeEnabled { 199 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[0] 200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 201 ms.StoreMessageInfo(mi) 202 } 203} 204 205func (x *Webhook) String() string { 206 return protoimpl.X.MessageStringOf(x) 207} 208 209func (*Webhook) ProtoMessage() {} 210 211func (x *Webhook) ProtoReflect() protoreflect.Message { 212 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[0] 213 if protoimpl.UnsafeEnabled && x != nil { 214 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 215 if ms.LoadMessageInfo() == nil { 216 ms.StoreMessageInfo(mi) 217 } 218 return ms 219 } 220 return mi.MessageOf(x) 221} 222 223// Deprecated: Use Webhook.ProtoReflect.Descriptor instead. 224func (*Webhook) Descriptor() ([]byte, []int) { 225 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{0} 226} 227 228func (x *Webhook) GetName() string { 229 if x != nil { 230 return x.Name 231 } 232 return "" 233} 234 235func (x *Webhook) GetDisplayName() string { 236 if x != nil { 237 return x.DisplayName 238 } 239 return "" 240} 241 242func (m *Webhook) GetWebhook() isWebhook_Webhook { 243 if m != nil { 244 return m.Webhook 245 } 246 return nil 247} 248 249func (x *Webhook) GetGenericWebService() *Webhook_GenericWebService { 250 if x, ok := x.GetWebhook().(*Webhook_GenericWebService_); ok { 251 return x.GenericWebService 252 } 253 return nil 254} 255 256func (x *Webhook) GetTimeout() *durationpb.Duration { 257 if x != nil { 258 return x.Timeout 259 } 260 return nil 261} 262 263func (x *Webhook) GetDisabled() bool { 264 if x != nil { 265 return x.Disabled 266 } 267 return false 268} 269 270type isWebhook_Webhook interface { 271 isWebhook_Webhook() 272} 273 274type Webhook_GenericWebService_ struct { 275 // Configuration for a generic web service. 276 GenericWebService *Webhook_GenericWebService `protobuf:"bytes,4,opt,name=generic_web_service,json=genericWebService,proto3,oneof"` 277} 278 279func (*Webhook_GenericWebService_) isWebhook_Webhook() {} 280 281// The request message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks]. 282type ListWebhooksRequest struct { 283 state protoimpl.MessageState 284 sizeCache protoimpl.SizeCache 285 unknownFields protoimpl.UnknownFields 286 287 // Required. The agent to list all webhooks for. 288 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. 289 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 290 // The maximum number of items to return in a single page. By default 100 and 291 // at most 1000. 292 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 293 // The next_page_token value returned from a previous list request. 294 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 295} 296 297func (x *ListWebhooksRequest) Reset() { 298 *x = ListWebhooksRequest{} 299 if protoimpl.UnsafeEnabled { 300 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[1] 301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 302 ms.StoreMessageInfo(mi) 303 } 304} 305 306func (x *ListWebhooksRequest) String() string { 307 return protoimpl.X.MessageStringOf(x) 308} 309 310func (*ListWebhooksRequest) ProtoMessage() {} 311 312func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message { 313 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[1] 314 if protoimpl.UnsafeEnabled && x != nil { 315 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 316 if ms.LoadMessageInfo() == nil { 317 ms.StoreMessageInfo(mi) 318 } 319 return ms 320 } 321 return mi.MessageOf(x) 322} 323 324// Deprecated: Use ListWebhooksRequest.ProtoReflect.Descriptor instead. 325func (*ListWebhooksRequest) Descriptor() ([]byte, []int) { 326 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{1} 327} 328 329func (x *ListWebhooksRequest) GetParent() string { 330 if x != nil { 331 return x.Parent 332 } 333 return "" 334} 335 336func (x *ListWebhooksRequest) GetPageSize() int32 { 337 if x != nil { 338 return x.PageSize 339 } 340 return 0 341} 342 343func (x *ListWebhooksRequest) GetPageToken() string { 344 if x != nil { 345 return x.PageToken 346 } 347 return "" 348} 349 350// The response message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks]. 351type ListWebhooksResponse struct { 352 state protoimpl.MessageState 353 sizeCache protoimpl.SizeCache 354 unknownFields protoimpl.UnknownFields 355 356 // The list of webhooks. There will be a maximum number of items returned 357 // based on the page_size field in the request. 358 Webhooks []*Webhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"` 359 // Token to retrieve the next page of results, or empty if there are no more 360 // results in the list. 361 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 362} 363 364func (x *ListWebhooksResponse) Reset() { 365 *x = ListWebhooksResponse{} 366 if protoimpl.UnsafeEnabled { 367 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[2] 368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 369 ms.StoreMessageInfo(mi) 370 } 371} 372 373func (x *ListWebhooksResponse) String() string { 374 return protoimpl.X.MessageStringOf(x) 375} 376 377func (*ListWebhooksResponse) ProtoMessage() {} 378 379func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message { 380 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[2] 381 if protoimpl.UnsafeEnabled && x != nil { 382 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 383 if ms.LoadMessageInfo() == nil { 384 ms.StoreMessageInfo(mi) 385 } 386 return ms 387 } 388 return mi.MessageOf(x) 389} 390 391// Deprecated: Use ListWebhooksResponse.ProtoReflect.Descriptor instead. 392func (*ListWebhooksResponse) Descriptor() ([]byte, []int) { 393 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{2} 394} 395 396func (x *ListWebhooksResponse) GetWebhooks() []*Webhook { 397 if x != nil { 398 return x.Webhooks 399 } 400 return nil 401} 402 403func (x *ListWebhooksResponse) GetNextPageToken() string { 404 if x != nil { 405 return x.NextPageToken 406 } 407 return "" 408} 409 410// The request message for [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook]. 411type GetWebhookRequest struct { 412 state protoimpl.MessageState 413 sizeCache protoimpl.SizeCache 414 unknownFields protoimpl.UnknownFields 415 416 // Required. The name of the webhook. 417 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent 418 // ID>/webhooks/<Webhook ID>`. 419 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 420} 421 422func (x *GetWebhookRequest) Reset() { 423 *x = GetWebhookRequest{} 424 if protoimpl.UnsafeEnabled { 425 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[3] 426 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 427 ms.StoreMessageInfo(mi) 428 } 429} 430 431func (x *GetWebhookRequest) String() string { 432 return protoimpl.X.MessageStringOf(x) 433} 434 435func (*GetWebhookRequest) ProtoMessage() {} 436 437func (x *GetWebhookRequest) ProtoReflect() protoreflect.Message { 438 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[3] 439 if protoimpl.UnsafeEnabled && x != nil { 440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 441 if ms.LoadMessageInfo() == nil { 442 ms.StoreMessageInfo(mi) 443 } 444 return ms 445 } 446 return mi.MessageOf(x) 447} 448 449// Deprecated: Use GetWebhookRequest.ProtoReflect.Descriptor instead. 450func (*GetWebhookRequest) Descriptor() ([]byte, []int) { 451 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{3} 452} 453 454func (x *GetWebhookRequest) GetName() string { 455 if x != nil { 456 return x.Name 457 } 458 return "" 459} 460 461// The request message for [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]. 462type CreateWebhookRequest struct { 463 state protoimpl.MessageState 464 sizeCache protoimpl.SizeCache 465 unknownFields protoimpl.UnknownFields 466 467 // Required. The agent to create a webhook for. 468 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. 469 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 470 // Required. The webhook to create. 471 Webhook *Webhook `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"` 472} 473 474func (x *CreateWebhookRequest) Reset() { 475 *x = CreateWebhookRequest{} 476 if protoimpl.UnsafeEnabled { 477 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[4] 478 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 479 ms.StoreMessageInfo(mi) 480 } 481} 482 483func (x *CreateWebhookRequest) String() string { 484 return protoimpl.X.MessageStringOf(x) 485} 486 487func (*CreateWebhookRequest) ProtoMessage() {} 488 489func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Message { 490 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[4] 491 if protoimpl.UnsafeEnabled && x != nil { 492 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 493 if ms.LoadMessageInfo() == nil { 494 ms.StoreMessageInfo(mi) 495 } 496 return ms 497 } 498 return mi.MessageOf(x) 499} 500 501// Deprecated: Use CreateWebhookRequest.ProtoReflect.Descriptor instead. 502func (*CreateWebhookRequest) Descriptor() ([]byte, []int) { 503 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{4} 504} 505 506func (x *CreateWebhookRequest) GetParent() string { 507 if x != nil { 508 return x.Parent 509 } 510 return "" 511} 512 513func (x *CreateWebhookRequest) GetWebhook() *Webhook { 514 if x != nil { 515 return x.Webhook 516 } 517 return nil 518} 519 520// The request message for [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook]. 521type UpdateWebhookRequest struct { 522 state protoimpl.MessageState 523 sizeCache protoimpl.SizeCache 524 unknownFields protoimpl.UnknownFields 525 526 // Required. The webhook to update. 527 Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` 528 // The mask to control which fields get updated. If the mask is not present, 529 // all fields will be updated. 530 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 531} 532 533func (x *UpdateWebhookRequest) Reset() { 534 *x = UpdateWebhookRequest{} 535 if protoimpl.UnsafeEnabled { 536 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[5] 537 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 538 ms.StoreMessageInfo(mi) 539 } 540} 541 542func (x *UpdateWebhookRequest) String() string { 543 return protoimpl.X.MessageStringOf(x) 544} 545 546func (*UpdateWebhookRequest) ProtoMessage() {} 547 548func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message { 549 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[5] 550 if protoimpl.UnsafeEnabled && x != nil { 551 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 552 if ms.LoadMessageInfo() == nil { 553 ms.StoreMessageInfo(mi) 554 } 555 return ms 556 } 557 return mi.MessageOf(x) 558} 559 560// Deprecated: Use UpdateWebhookRequest.ProtoReflect.Descriptor instead. 561func (*UpdateWebhookRequest) Descriptor() ([]byte, []int) { 562 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{5} 563} 564 565func (x *UpdateWebhookRequest) GetWebhook() *Webhook { 566 if x != nil { 567 return x.Webhook 568 } 569 return nil 570} 571 572func (x *UpdateWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 573 if x != nil { 574 return x.UpdateMask 575 } 576 return nil 577} 578 579// The request message for [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook]. 580type DeleteWebhookRequest struct { 581 state protoimpl.MessageState 582 sizeCache protoimpl.SizeCache 583 unknownFields protoimpl.UnknownFields 584 585 // Required. The name of the webhook to delete. 586 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent 587 // ID>/webhooks/<Webhook ID>`. 588 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 589 // This field has no effect for webhook not being used. 590 // For webhooks that are used by pages/flows/transition route groups: 591 // 592 // * If `force` is set to false, an error will be returned with message 593 // indicating the referenced resources. 594 // * If `force` is set to true, Dialogflow will remove the webhook, as well 595 // as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] 596 // and [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments that point to this webhook 597 // will be removed). 598 Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` 599} 600 601func (x *DeleteWebhookRequest) Reset() { 602 *x = DeleteWebhookRequest{} 603 if protoimpl.UnsafeEnabled { 604 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[6] 605 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 606 ms.StoreMessageInfo(mi) 607 } 608} 609 610func (x *DeleteWebhookRequest) String() string { 611 return protoimpl.X.MessageStringOf(x) 612} 613 614func (*DeleteWebhookRequest) ProtoMessage() {} 615 616func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message { 617 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[6] 618 if protoimpl.UnsafeEnabled && x != nil { 619 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 620 if ms.LoadMessageInfo() == nil { 621 ms.StoreMessageInfo(mi) 622 } 623 return ms 624 } 625 return mi.MessageOf(x) 626} 627 628// Deprecated: Use DeleteWebhookRequest.ProtoReflect.Descriptor instead. 629func (*DeleteWebhookRequest) Descriptor() ([]byte, []int) { 630 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{6} 631} 632 633func (x *DeleteWebhookRequest) GetName() string { 634 if x != nil { 635 return x.Name 636 } 637 return "" 638} 639 640func (x *DeleteWebhookRequest) GetForce() bool { 641 if x != nil { 642 return x.Force 643 } 644 return false 645} 646 647// The request message for a webhook call. 648type WebhookRequest struct { 649 state protoimpl.MessageState 650 sizeCache protoimpl.SizeCache 651 unknownFields protoimpl.UnknownFields 652 653 // Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that 654 // will be returned to the API caller. 655 DetectIntentResponseId string `protobuf:"bytes,1,opt,name=detect_intent_response_id,json=detectIntentResponseId,proto3" json:"detect_intent_response_id,omitempty"` 656 // Always present. Information about the fulfillment that triggered this 657 // webhook call. 658 FulfillmentInfo *WebhookRequest_FulfillmentInfo `protobuf:"bytes,6,opt,name=fulfillment_info,json=fulfillmentInfo,proto3" json:"fulfillment_info,omitempty"` 659 // Information about the last matched intent. 660 IntentInfo *WebhookRequest_IntentInfo `protobuf:"bytes,3,opt,name=intent_info,json=intentInfo,proto3" json:"intent_info,omitempty"` 661 // Information about page status. 662 PageInfo *PageInfo `protobuf:"bytes,4,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` 663 // Information about session status. 664 SessionInfo *SessionInfo `protobuf:"bytes,5,opt,name=session_info,json=sessionInfo,proto3" json:"session_info,omitempty"` 665 // The list of rich message responses to present to the user. Webhook can 666 // choose to append or replace this list in 667 // [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response]; 668 Messages []*ResponseMessage `protobuf:"bytes,7,rep,name=messages,proto3" json:"messages,omitempty"` 669 // Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload]. 670 Payload *structpb.Struct `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` 671} 672 673func (x *WebhookRequest) Reset() { 674 *x = WebhookRequest{} 675 if protoimpl.UnsafeEnabled { 676 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[7] 677 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 678 ms.StoreMessageInfo(mi) 679 } 680} 681 682func (x *WebhookRequest) String() string { 683 return protoimpl.X.MessageStringOf(x) 684} 685 686func (*WebhookRequest) ProtoMessage() {} 687 688func (x *WebhookRequest) ProtoReflect() protoreflect.Message { 689 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[7] 690 if protoimpl.UnsafeEnabled && x != nil { 691 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 692 if ms.LoadMessageInfo() == nil { 693 ms.StoreMessageInfo(mi) 694 } 695 return ms 696 } 697 return mi.MessageOf(x) 698} 699 700// Deprecated: Use WebhookRequest.ProtoReflect.Descriptor instead. 701func (*WebhookRequest) Descriptor() ([]byte, []int) { 702 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{7} 703} 704 705func (x *WebhookRequest) GetDetectIntentResponseId() string { 706 if x != nil { 707 return x.DetectIntentResponseId 708 } 709 return "" 710} 711 712func (x *WebhookRequest) GetFulfillmentInfo() *WebhookRequest_FulfillmentInfo { 713 if x != nil { 714 return x.FulfillmentInfo 715 } 716 return nil 717} 718 719func (x *WebhookRequest) GetIntentInfo() *WebhookRequest_IntentInfo { 720 if x != nil { 721 return x.IntentInfo 722 } 723 return nil 724} 725 726func (x *WebhookRequest) GetPageInfo() *PageInfo { 727 if x != nil { 728 return x.PageInfo 729 } 730 return nil 731} 732 733func (x *WebhookRequest) GetSessionInfo() *SessionInfo { 734 if x != nil { 735 return x.SessionInfo 736 } 737 return nil 738} 739 740func (x *WebhookRequest) GetMessages() []*ResponseMessage { 741 if x != nil { 742 return x.Messages 743 } 744 return nil 745} 746 747func (x *WebhookRequest) GetPayload() *structpb.Struct { 748 if x != nil { 749 return x.Payload 750 } 751 return nil 752} 753 754// The response message for a webhook call. 755type WebhookResponse struct { 756 state protoimpl.MessageState 757 sizeCache protoimpl.SizeCache 758 unknownFields protoimpl.UnknownFields 759 760 // The fulfillment response to send to the user. This field can be omitted by 761 // the webhook if it does not intend to send any response to the user. 762 FulfillmentResponse *WebhookResponse_FulfillmentResponse `protobuf:"bytes,1,opt,name=fulfillment_response,json=fulfillmentResponse,proto3" json:"fulfillment_response,omitempty"` 763 // Information about page status. This field can be omitted by the webhook if 764 // it does not intend to modify page status. 765 PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` 766 // Information about session status. This field can be omitted by the webhook 767 // if it does not intend to modify session status. 768 SessionInfo *SessionInfo `protobuf:"bytes,3,opt,name=session_info,json=sessionInfo,proto3" json:"session_info,omitempty"` 769 // Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads]. 770 Payload *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` 771 // The target to transition to. This can be set optionally to indicate an 772 // immediate transition to a different page in the same host flow, or a 773 // different flow in the same agent. 774 // 775 // Types that are assignable to Transition: 776 // *WebhookResponse_TargetPage 777 // *WebhookResponse_TargetFlow 778 Transition isWebhookResponse_Transition `protobuf_oneof:"transition"` 779} 780 781func (x *WebhookResponse) Reset() { 782 *x = WebhookResponse{} 783 if protoimpl.UnsafeEnabled { 784 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[8] 785 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 786 ms.StoreMessageInfo(mi) 787 } 788} 789 790func (x *WebhookResponse) String() string { 791 return protoimpl.X.MessageStringOf(x) 792} 793 794func (*WebhookResponse) ProtoMessage() {} 795 796func (x *WebhookResponse) ProtoReflect() protoreflect.Message { 797 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[8] 798 if protoimpl.UnsafeEnabled && x != nil { 799 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 800 if ms.LoadMessageInfo() == nil { 801 ms.StoreMessageInfo(mi) 802 } 803 return ms 804 } 805 return mi.MessageOf(x) 806} 807 808// Deprecated: Use WebhookResponse.ProtoReflect.Descriptor instead. 809func (*WebhookResponse) Descriptor() ([]byte, []int) { 810 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{8} 811} 812 813func (x *WebhookResponse) GetFulfillmentResponse() *WebhookResponse_FulfillmentResponse { 814 if x != nil { 815 return x.FulfillmentResponse 816 } 817 return nil 818} 819 820func (x *WebhookResponse) GetPageInfo() *PageInfo { 821 if x != nil { 822 return x.PageInfo 823 } 824 return nil 825} 826 827func (x *WebhookResponse) GetSessionInfo() *SessionInfo { 828 if x != nil { 829 return x.SessionInfo 830 } 831 return nil 832} 833 834func (x *WebhookResponse) GetPayload() *structpb.Struct { 835 if x != nil { 836 return x.Payload 837 } 838 return nil 839} 840 841func (m *WebhookResponse) GetTransition() isWebhookResponse_Transition { 842 if m != nil { 843 return m.Transition 844 } 845 return nil 846} 847 848func (x *WebhookResponse) GetTargetPage() string { 849 if x, ok := x.GetTransition().(*WebhookResponse_TargetPage); ok { 850 return x.TargetPage 851 } 852 return "" 853} 854 855func (x *WebhookResponse) GetTargetFlow() string { 856 if x, ok := x.GetTransition().(*WebhookResponse_TargetFlow); ok { 857 return x.TargetFlow 858 } 859 return "" 860} 861 862type isWebhookResponse_Transition interface { 863 isWebhookResponse_Transition() 864} 865 866type WebhookResponse_TargetPage struct { 867 // The target page to transition to. 868 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent 869 // ID>/flows/<Flow ID>/pages/<Page ID>`. 870 TargetPage string `protobuf:"bytes,5,opt,name=target_page,json=targetPage,proto3,oneof"` 871} 872 873type WebhookResponse_TargetFlow struct { 874 // The target flow to transition to. 875 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent 876 // ID>/flows/<Flow ID>`. 877 TargetFlow string `protobuf:"bytes,6,opt,name=target_flow,json=targetFlow,proto3,oneof"` 878} 879 880func (*WebhookResponse_TargetPage) isWebhookResponse_Transition() {} 881 882func (*WebhookResponse_TargetFlow) isWebhookResponse_Transition() {} 883 884// Represents page information communicated to and from the webhook. 885type PageInfo struct { 886 state protoimpl.MessageState 887 sizeCache protoimpl.SizeCache 888 unknownFields protoimpl.UnknownFields 889 890 // Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. 891 // The unique identifier of the current page. 892 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent 893 // ID>/flows/<Flow ID>/pages/<Page ID>`. 894 CurrentPage string `protobuf:"bytes,1,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"` 895 // Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. 896 // Information about the form. 897 FormInfo *PageInfo_FormInfo `protobuf:"bytes,3,opt,name=form_info,json=formInfo,proto3" json:"form_info,omitempty"` 898} 899 900func (x *PageInfo) Reset() { 901 *x = PageInfo{} 902 if protoimpl.UnsafeEnabled { 903 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[9] 904 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 905 ms.StoreMessageInfo(mi) 906 } 907} 908 909func (x *PageInfo) String() string { 910 return protoimpl.X.MessageStringOf(x) 911} 912 913func (*PageInfo) ProtoMessage() {} 914 915func (x *PageInfo) ProtoReflect() protoreflect.Message { 916 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[9] 917 if protoimpl.UnsafeEnabled && x != nil { 918 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 919 if ms.LoadMessageInfo() == nil { 920 ms.StoreMessageInfo(mi) 921 } 922 return ms 923 } 924 return mi.MessageOf(x) 925} 926 927// Deprecated: Use PageInfo.ProtoReflect.Descriptor instead. 928func (*PageInfo) Descriptor() ([]byte, []int) { 929 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{9} 930} 931 932func (x *PageInfo) GetCurrentPage() string { 933 if x != nil { 934 return x.CurrentPage 935 } 936 return "" 937} 938 939func (x *PageInfo) GetFormInfo() *PageInfo_FormInfo { 940 if x != nil { 941 return x.FormInfo 942 } 943 return nil 944} 945 946// Represents session information communicated to and from the webhook. 947type SessionInfo struct { 948 state protoimpl.MessageState 949 sizeCache protoimpl.SizeCache 950 unknownFields protoimpl.UnknownFields 951 952 // Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. 953 // The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This 954 // field can be used by the webhook to identify a user. 955 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent 956 // ID>/sessions/<Session ID>`. 957 Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` 958 // Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. 959 // All parameters collected from forms and intents during the session. 960 // Parameters can be created, updated, or removed by the webhook. To remove a 961 // parameter from the session, the webhook should explicitly set the parameter 962 // value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters' 963 // display names. 964 Parameters map[string]*structpb.Value `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 965} 966 967func (x *SessionInfo) Reset() { 968 *x = SessionInfo{} 969 if protoimpl.UnsafeEnabled { 970 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[10] 971 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 972 ms.StoreMessageInfo(mi) 973 } 974} 975 976func (x *SessionInfo) String() string { 977 return protoimpl.X.MessageStringOf(x) 978} 979 980func (*SessionInfo) ProtoMessage() {} 981 982func (x *SessionInfo) ProtoReflect() protoreflect.Message { 983 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[10] 984 if protoimpl.UnsafeEnabled && x != nil { 985 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 986 if ms.LoadMessageInfo() == nil { 987 ms.StoreMessageInfo(mi) 988 } 989 return ms 990 } 991 return mi.MessageOf(x) 992} 993 994// Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead. 995func (*SessionInfo) Descriptor() ([]byte, []int) { 996 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{10} 997} 998 999func (x *SessionInfo) GetSession() string { 1000 if x != nil { 1001 return x.Session 1002 } 1003 return "" 1004} 1005 1006func (x *SessionInfo) GetParameters() map[string]*structpb.Value { 1007 if x != nil { 1008 return x.Parameters 1009 } 1010 return nil 1011} 1012 1013// Represents configuration for a generic web service. 1014type Webhook_GenericWebService struct { 1015 state protoimpl.MessageState 1016 sizeCache protoimpl.SizeCache 1017 unknownFields protoimpl.UnknownFields 1018 1019 // Required. The webhook URI for receiving POST requests. It must use https protocol. 1020 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` 1021 // The user name for HTTP Basic authentication. 1022 // 1023 // Deprecated: Do not use. 1024 Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` 1025 // The password for HTTP Basic authentication. 1026 // 1027 // Deprecated: Do not use. 1028 Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` 1029 // The HTTP request headers to send together with webhook 1030 // requests. 1031 RequestHeaders map[string]string `protobuf:"bytes,4,rep,name=request_headers,json=requestHeaders,proto3" json:"request_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1032} 1033 1034func (x *Webhook_GenericWebService) Reset() { 1035 *x = Webhook_GenericWebService{} 1036 if protoimpl.UnsafeEnabled { 1037 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[11] 1038 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1039 ms.StoreMessageInfo(mi) 1040 } 1041} 1042 1043func (x *Webhook_GenericWebService) String() string { 1044 return protoimpl.X.MessageStringOf(x) 1045} 1046 1047func (*Webhook_GenericWebService) ProtoMessage() {} 1048 1049func (x *Webhook_GenericWebService) ProtoReflect() protoreflect.Message { 1050 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[11] 1051 if protoimpl.UnsafeEnabled && x != nil { 1052 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1053 if ms.LoadMessageInfo() == nil { 1054 ms.StoreMessageInfo(mi) 1055 } 1056 return ms 1057 } 1058 return mi.MessageOf(x) 1059} 1060 1061// Deprecated: Use Webhook_GenericWebService.ProtoReflect.Descriptor instead. 1062func (*Webhook_GenericWebService) Descriptor() ([]byte, []int) { 1063 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{0, 0} 1064} 1065 1066func (x *Webhook_GenericWebService) GetUri() string { 1067 if x != nil { 1068 return x.Uri 1069 } 1070 return "" 1071} 1072 1073// Deprecated: Do not use. 1074func (x *Webhook_GenericWebService) GetUsername() string { 1075 if x != nil { 1076 return x.Username 1077 } 1078 return "" 1079} 1080 1081// Deprecated: Do not use. 1082func (x *Webhook_GenericWebService) GetPassword() string { 1083 if x != nil { 1084 return x.Password 1085 } 1086 return "" 1087} 1088 1089func (x *Webhook_GenericWebService) GetRequestHeaders() map[string]string { 1090 if x != nil { 1091 return x.RequestHeaders 1092 } 1093 return nil 1094} 1095 1096// Represents fulfillment information communicated to the webhook. 1097type WebhookRequest_FulfillmentInfo struct { 1098 state protoimpl.MessageState 1099 sizeCache protoimpl.SizeCache 1100 unknownFields protoimpl.UnknownFields 1101 1102 // Always present. The tag used to identify which fulfillment is being 1103 // called. 1104 Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` 1105} 1106 1107func (x *WebhookRequest_FulfillmentInfo) Reset() { 1108 *x = WebhookRequest_FulfillmentInfo{} 1109 if protoimpl.UnsafeEnabled { 1110 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[13] 1111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1112 ms.StoreMessageInfo(mi) 1113 } 1114} 1115 1116func (x *WebhookRequest_FulfillmentInfo) String() string { 1117 return protoimpl.X.MessageStringOf(x) 1118} 1119 1120func (*WebhookRequest_FulfillmentInfo) ProtoMessage() {} 1121 1122func (x *WebhookRequest_FulfillmentInfo) ProtoReflect() protoreflect.Message { 1123 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[13] 1124 if protoimpl.UnsafeEnabled && x != nil { 1125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1126 if ms.LoadMessageInfo() == nil { 1127 ms.StoreMessageInfo(mi) 1128 } 1129 return ms 1130 } 1131 return mi.MessageOf(x) 1132} 1133 1134// Deprecated: Use WebhookRequest_FulfillmentInfo.ProtoReflect.Descriptor instead. 1135func (*WebhookRequest_FulfillmentInfo) Descriptor() ([]byte, []int) { 1136 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{7, 0} 1137} 1138 1139func (x *WebhookRequest_FulfillmentInfo) GetTag() string { 1140 if x != nil { 1141 return x.Tag 1142 } 1143 return "" 1144} 1145 1146// Represents intent information communicated to the webhook. 1147type WebhookRequest_IntentInfo struct { 1148 state protoimpl.MessageState 1149 sizeCache protoimpl.SizeCache 1150 unknownFields protoimpl.UnknownFields 1151 1152 // Always present. The unique identifier of the last matched 1153 // [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location 1154 // ID>/agents/<Agent ID>/intents/<Intent ID>`. 1155 LastMatchedIntent string `protobuf:"bytes,1,opt,name=last_matched_intent,json=lastMatchedIntent,proto3" json:"last_matched_intent,omitempty"` 1156 // Parameters identified as a result of intent matching. This is a map of 1157 // the name of the identified parameter to the value of the parameter 1158 // identified from the user's utterance. All parameters defined in the 1159 // matched intent that are identified will be surfaced here. 1160 Parameters map[string]*WebhookRequest_IntentInfo_IntentParameterValue `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1161} 1162 1163func (x *WebhookRequest_IntentInfo) Reset() { 1164 *x = WebhookRequest_IntentInfo{} 1165 if protoimpl.UnsafeEnabled { 1166 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[14] 1167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1168 ms.StoreMessageInfo(mi) 1169 } 1170} 1171 1172func (x *WebhookRequest_IntentInfo) String() string { 1173 return protoimpl.X.MessageStringOf(x) 1174} 1175 1176func (*WebhookRequest_IntentInfo) ProtoMessage() {} 1177 1178func (x *WebhookRequest_IntentInfo) ProtoReflect() protoreflect.Message { 1179 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[14] 1180 if protoimpl.UnsafeEnabled && x != nil { 1181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1182 if ms.LoadMessageInfo() == nil { 1183 ms.StoreMessageInfo(mi) 1184 } 1185 return ms 1186 } 1187 return mi.MessageOf(x) 1188} 1189 1190// Deprecated: Use WebhookRequest_IntentInfo.ProtoReflect.Descriptor instead. 1191func (*WebhookRequest_IntentInfo) Descriptor() ([]byte, []int) { 1192 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{7, 1} 1193} 1194 1195func (x *WebhookRequest_IntentInfo) GetLastMatchedIntent() string { 1196 if x != nil { 1197 return x.LastMatchedIntent 1198 } 1199 return "" 1200} 1201 1202func (x *WebhookRequest_IntentInfo) GetParameters() map[string]*WebhookRequest_IntentInfo_IntentParameterValue { 1203 if x != nil { 1204 return x.Parameters 1205 } 1206 return nil 1207} 1208 1209// Represents a value for an intent parameter. 1210type WebhookRequest_IntentInfo_IntentParameterValue struct { 1211 state protoimpl.MessageState 1212 sizeCache protoimpl.SizeCache 1213 unknownFields protoimpl.UnknownFields 1214 1215 // Always present. Original text value extracted from user utterance. 1216 OriginalValue string `protobuf:"bytes,1,opt,name=original_value,json=originalValue,proto3" json:"original_value,omitempty"` 1217 // Always present. Structured value for the parameter extracted from user 1218 // utterance. 1219 ResolvedValue *structpb.Value `protobuf:"bytes,2,opt,name=resolved_value,json=resolvedValue,proto3" json:"resolved_value,omitempty"` 1220} 1221 1222func (x *WebhookRequest_IntentInfo_IntentParameterValue) Reset() { 1223 *x = WebhookRequest_IntentInfo_IntentParameterValue{} 1224 if protoimpl.UnsafeEnabled { 1225 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[15] 1226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1227 ms.StoreMessageInfo(mi) 1228 } 1229} 1230 1231func (x *WebhookRequest_IntentInfo_IntentParameterValue) String() string { 1232 return protoimpl.X.MessageStringOf(x) 1233} 1234 1235func (*WebhookRequest_IntentInfo_IntentParameterValue) ProtoMessage() {} 1236 1237func (x *WebhookRequest_IntentInfo_IntentParameterValue) ProtoReflect() protoreflect.Message { 1238 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[15] 1239 if protoimpl.UnsafeEnabled && x != nil { 1240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1241 if ms.LoadMessageInfo() == nil { 1242 ms.StoreMessageInfo(mi) 1243 } 1244 return ms 1245 } 1246 return mi.MessageOf(x) 1247} 1248 1249// Deprecated: Use WebhookRequest_IntentInfo_IntentParameterValue.ProtoReflect.Descriptor instead. 1250func (*WebhookRequest_IntentInfo_IntentParameterValue) Descriptor() ([]byte, []int) { 1251 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{7, 1, 0} 1252} 1253 1254func (x *WebhookRequest_IntentInfo_IntentParameterValue) GetOriginalValue() string { 1255 if x != nil { 1256 return x.OriginalValue 1257 } 1258 return "" 1259} 1260 1261func (x *WebhookRequest_IntentInfo_IntentParameterValue) GetResolvedValue() *structpb.Value { 1262 if x != nil { 1263 return x.ResolvedValue 1264 } 1265 return nil 1266} 1267 1268// Represents a fulfillment response to the user. 1269type WebhookResponse_FulfillmentResponse struct { 1270 state protoimpl.MessageState 1271 sizeCache protoimpl.SizeCache 1272 unknownFields protoimpl.UnknownFields 1273 1274 // The list of rich message responses to present to the user. 1275 Messages []*ResponseMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` 1276 // Merge behavior for `messages`. 1277 MergeBehavior WebhookResponse_FulfillmentResponse_MergeBehavior `protobuf:"varint,2,opt,name=merge_behavior,json=mergeBehavior,proto3,enum=google.cloud.dialogflow.cx.v3beta1.WebhookResponse_FulfillmentResponse_MergeBehavior" json:"merge_behavior,omitempty"` 1278} 1279 1280func (x *WebhookResponse_FulfillmentResponse) Reset() { 1281 *x = WebhookResponse_FulfillmentResponse{} 1282 if protoimpl.UnsafeEnabled { 1283 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[17] 1284 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1285 ms.StoreMessageInfo(mi) 1286 } 1287} 1288 1289func (x *WebhookResponse_FulfillmentResponse) String() string { 1290 return protoimpl.X.MessageStringOf(x) 1291} 1292 1293func (*WebhookResponse_FulfillmentResponse) ProtoMessage() {} 1294 1295func (x *WebhookResponse_FulfillmentResponse) ProtoReflect() protoreflect.Message { 1296 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[17] 1297 if protoimpl.UnsafeEnabled && x != nil { 1298 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1299 if ms.LoadMessageInfo() == nil { 1300 ms.StoreMessageInfo(mi) 1301 } 1302 return ms 1303 } 1304 return mi.MessageOf(x) 1305} 1306 1307// Deprecated: Use WebhookResponse_FulfillmentResponse.ProtoReflect.Descriptor instead. 1308func (*WebhookResponse_FulfillmentResponse) Descriptor() ([]byte, []int) { 1309 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{8, 0} 1310} 1311 1312func (x *WebhookResponse_FulfillmentResponse) GetMessages() []*ResponseMessage { 1313 if x != nil { 1314 return x.Messages 1315 } 1316 return nil 1317} 1318 1319func (x *WebhookResponse_FulfillmentResponse) GetMergeBehavior() WebhookResponse_FulfillmentResponse_MergeBehavior { 1320 if x != nil { 1321 return x.MergeBehavior 1322 } 1323 return WebhookResponse_FulfillmentResponse_MERGE_BEHAVIOR_UNSPECIFIED 1324} 1325 1326// Represents form information. 1327type PageInfo_FormInfo struct { 1328 state protoimpl.MessageState 1329 sizeCache protoimpl.SizeCache 1330 unknownFields protoimpl.UnknownFields 1331 1332 // Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. 1333 // The parameters contained in the form. Note that the webhook cannot add 1334 // or remove any form parameter. 1335 ParameterInfo []*PageInfo_FormInfo_ParameterInfo `protobuf:"bytes,2,rep,name=parameter_info,json=parameterInfo,proto3" json:"parameter_info,omitempty"` 1336} 1337 1338func (x *PageInfo_FormInfo) Reset() { 1339 *x = PageInfo_FormInfo{} 1340 if protoimpl.UnsafeEnabled { 1341 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[18] 1342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1343 ms.StoreMessageInfo(mi) 1344 } 1345} 1346 1347func (x *PageInfo_FormInfo) String() string { 1348 return protoimpl.X.MessageStringOf(x) 1349} 1350 1351func (*PageInfo_FormInfo) ProtoMessage() {} 1352 1353func (x *PageInfo_FormInfo) ProtoReflect() protoreflect.Message { 1354 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[18] 1355 if protoimpl.UnsafeEnabled && x != nil { 1356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1357 if ms.LoadMessageInfo() == nil { 1358 ms.StoreMessageInfo(mi) 1359 } 1360 return ms 1361 } 1362 return mi.MessageOf(x) 1363} 1364 1365// Deprecated: Use PageInfo_FormInfo.ProtoReflect.Descriptor instead. 1366func (*PageInfo_FormInfo) Descriptor() ([]byte, []int) { 1367 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{9, 0} 1368} 1369 1370func (x *PageInfo_FormInfo) GetParameterInfo() []*PageInfo_FormInfo_ParameterInfo { 1371 if x != nil { 1372 return x.ParameterInfo 1373 } 1374 return nil 1375} 1376 1377// Represents parameter information. 1378type PageInfo_FormInfo_ParameterInfo struct { 1379 state protoimpl.MessageState 1380 sizeCache protoimpl.SizeCache 1381 unknownFields protoimpl.UnknownFields 1382 1383 // Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for 1384 // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. 1385 // The human-readable name of the parameter, unique within the form. This 1386 // field cannot be modified by the webhook. 1387 DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 1388 // Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. 1389 // Indicates whether the parameter is required. Optional parameters will 1390 // not trigger prompts; however, they are filled if the user specifies 1391 // them. Required parameters must be filled before form filling concludes. 1392 Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"` 1393 // Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for 1394 // [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set 1395 // to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by 1396 // the webhook to invalidate the parameter; other values set by the 1397 // webhook will be ignored. 1398 State PageInfo_FormInfo_ParameterInfo_ParameterState `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.dialogflow.cx.v3beta1.PageInfo_FormInfo_ParameterInfo_ParameterState" json:"state,omitempty"` 1399 // Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. 1400 // The value of the parameter. This field can be set by the webhook to 1401 // change the parameter value. 1402 Value *structpb.Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` 1403 // Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. 1404 // Indicates if the parameter value was just collected on the last 1405 // conversation turn. 1406 JustCollected bool `protobuf:"varint,5,opt,name=just_collected,json=justCollected,proto3" json:"just_collected,omitempty"` 1407} 1408 1409func (x *PageInfo_FormInfo_ParameterInfo) Reset() { 1410 *x = PageInfo_FormInfo_ParameterInfo{} 1411 if protoimpl.UnsafeEnabled { 1412 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[19] 1413 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1414 ms.StoreMessageInfo(mi) 1415 } 1416} 1417 1418func (x *PageInfo_FormInfo_ParameterInfo) String() string { 1419 return protoimpl.X.MessageStringOf(x) 1420} 1421 1422func (*PageInfo_FormInfo_ParameterInfo) ProtoMessage() {} 1423 1424func (x *PageInfo_FormInfo_ParameterInfo) ProtoReflect() protoreflect.Message { 1425 mi := &file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[19] 1426 if protoimpl.UnsafeEnabled && x != nil { 1427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1428 if ms.LoadMessageInfo() == nil { 1429 ms.StoreMessageInfo(mi) 1430 } 1431 return ms 1432 } 1433 return mi.MessageOf(x) 1434} 1435 1436// Deprecated: Use PageInfo_FormInfo_ParameterInfo.ProtoReflect.Descriptor instead. 1437func (*PageInfo_FormInfo_ParameterInfo) Descriptor() ([]byte, []int) { 1438 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP(), []int{9, 0, 0} 1439} 1440 1441func (x *PageInfo_FormInfo_ParameterInfo) GetDisplayName() string { 1442 if x != nil { 1443 return x.DisplayName 1444 } 1445 return "" 1446} 1447 1448func (x *PageInfo_FormInfo_ParameterInfo) GetRequired() bool { 1449 if x != nil { 1450 return x.Required 1451 } 1452 return false 1453} 1454 1455func (x *PageInfo_FormInfo_ParameterInfo) GetState() PageInfo_FormInfo_ParameterInfo_ParameterState { 1456 if x != nil { 1457 return x.State 1458 } 1459 return PageInfo_FormInfo_ParameterInfo_PARAMETER_STATE_UNSPECIFIED 1460} 1461 1462func (x *PageInfo_FormInfo_ParameterInfo) GetValue() *structpb.Value { 1463 if x != nil { 1464 return x.Value 1465 } 1466 return nil 1467} 1468 1469func (x *PageInfo_FormInfo_ParameterInfo) GetJustCollected() bool { 1470 if x != nil { 1471 return x.JustCollected 1472 } 1473 return false 1474} 1475 1476var File_google_cloud_dialogflow_cx_v3beta1_webhook_proto protoreflect.FileDescriptor 1477 1478var file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDesc = []byte{ 1479 0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 1480 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 1481 0x65, 0x74, 0x61, 0x31, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 1482 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1483 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 1484 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 1485 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 1486 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 1487 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 1488 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 1489 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 1490 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 1491 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1492 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 1493 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 1494 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 1495 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 1496 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 1497 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 1498 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1499 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 1500 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 1501 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 1502 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1503 0x6f, 0x22, 0xb1, 0x05, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x12, 0x0a, 1504 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 1505 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 1506 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 1507 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x6f, 0x0a, 0x13, 0x67, 0x65, 0x6e, 1508 0x65, 0x72, 0x69, 0x63, 0x5f, 0x77, 0x65, 0x62, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1509 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1510 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 1511 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 1512 0x6f, 0x6f, 0x6b, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x57, 0x65, 0x62, 0x53, 0x65, 1513 0x72, 0x76, 0x69, 0x63, 0x65, 0x48, 0x00, 0x52, 0x11, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 1514 0x57, 0x65, 0x62, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 1515 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 1516 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 1517 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 1518 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 1519 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x1a, 0xa9, 0x02, 0x0a, 0x11, 1520 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x57, 0x65, 0x62, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 1521 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 1522 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x1e, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 1523 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 1524 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 1525 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 1526 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x7a, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 1527 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 1528 0x0b, 0x32, 0x51, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1529 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 1530 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x47, 1531 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x57, 0x65, 0x62, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1532 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 1533 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 1534 0x64, 0x65, 0x72, 0x73, 0x1a, 0x41, 0x0a, 0x13, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 1535 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 1536 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 1537 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 1538 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x71, 0xea, 0x41, 0x6e, 0x0a, 0x21, 0x64, 0x69, 1539 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 1540 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 1541 0x49, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 1542 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 1543 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 1544 0x7b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x7d, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 1545 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x7d, 0x42, 0x09, 0x0a, 0x07, 0x77, 0x65, 1546 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x94, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 1547 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 1548 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 1549 0x41, 0x02, 0xfa, 0x41, 0x23, 0x12, 0x21, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1550 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 1551 0x2f, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 1552 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 1553 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 1554 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 1555 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x87, 0x01, 0x0a, 1556 0x14, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 1557 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 1558 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1559 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1560 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 1561 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x26, 1562 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 1563 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 1564 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x52, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x57, 0x65, 0x62, 1565 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 1566 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 1567 0x23, 0x0a, 0x21, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 1568 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x57, 0x65, 0x62, 1569 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x14, 0x43, 1570 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 1571 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 1572 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x12, 0x21, 0x64, 0x69, 0x61, 1573 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 1574 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x06, 1575 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 1576 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1577 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1578 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 1579 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 1580 0x6f, 0x6b, 0x22, 0x9f, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 1581 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x07, 0x77, 1582 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 1583 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 1584 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 1585 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 1586 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 1587 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 1588 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 1589 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 1590 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x6b, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x65, 1591 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 1592 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 1593 0x41, 0x23, 0x0a, 0x21, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 1594 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x57, 0x65, 1595 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 1596 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 1597 0x65, 0x22, 0xc9, 0x08, 0x0a, 0x0e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 1598 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x19, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x5f, 0x69, 1599 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x69, 1600 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x49, 1601 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x64, 0x12, 1602 0x6d, 0x0a, 0x10, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 1603 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1604 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 1605 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 1606 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x75, 1607 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x66, 1608 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5e, 1609 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 1610 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1611 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 1612 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 1613 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 1614 0x66, 0x6f, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x49, 1615 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 1616 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1617 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 1618 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 1619 0x08, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x52, 0x0a, 0x0c, 0x73, 0x65, 0x73, 1620 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 1621 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1622 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 1623 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 1624 0x52, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4f, 0x0a, 1625 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 1626 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1627 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 1628 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 1629 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x31, 1630 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 1631 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 1632 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 1633 0x64, 0x1a, 0x23, 0x0a, 0x0f, 0x46, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 1634 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 1635 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x1a, 0xe4, 0x03, 0x0a, 0x0a, 0x49, 0x6e, 0x74, 0x65, 0x6e, 1636 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x55, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x61, 1637 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 1638 0x28, 0x09, 0x42, 0x25, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 1639 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1640 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x4d, 1641 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x6d, 0x0a, 0x0a, 1642 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 1643 0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1644 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 1645 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 1646 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 1647 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 1648 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x7c, 0x0a, 0x14, 0x49, 1649 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 1650 0x6c, 0x75, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 1651 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x72, 0x69, 1652 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3d, 0x0a, 0x0e, 0x72, 0x65, 1653 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 1654 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1655 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 1656 0x6c, 0x76, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x91, 0x01, 0x0a, 0x0f, 0x50, 0x61, 1657 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 1658 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 1659 0x68, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x52, 1660 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 1661 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 1662 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 1663 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x49, 0x6e, 1664 0x74, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 1665 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xae, 0x06, 1666 0x0a, 0x0f, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1667 0x65, 0x12, 0x7a, 0x0a, 0x14, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 1668 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 1669 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1670 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 1671 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 1672 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 1673 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x13, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 1674 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 1675 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 1676 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1677 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 1678 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 1679 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x52, 0x0a, 0x0c, 0x73, 0x65, 0x73, 0x73, 1680 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 1681 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 1682 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 1683 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 1684 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x07, 1685 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 1686 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 1687 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 1688 0x46, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x05, 1689 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 1690 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 1691 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x74, 0x61, 0x72, 1692 0x67, 0x65, 0x74, 0x50, 0x61, 0x67, 0x65, 0x12, 0x46, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 1693 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xfa, 0x41, 1694 0x20, 0x0a, 0x1e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 1695 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x6c, 0x6f, 1696 0x77, 0x48, 0x00, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x1a, 1697 0xae, 0x02, 0x0a, 0x13, 0x46, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x52, 1698 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 1699 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1700 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 1701 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 1702 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 1703 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x7c, 0x0a, 0x0e, 0x6d, 0x65, 0x72, 0x67, 1704 0x65, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 1705 0x32, 0x55, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1706 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 1707 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 1708 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 1709 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 1710 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x52, 0x0d, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x65, 1711 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x22, 0x48, 0x0a, 0x0d, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 1712 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x45, 0x52, 0x47, 0x45, 1713 0x5f, 0x42, 0x45, 0x48, 0x41, 0x56, 0x49, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 1714 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x50, 0x50, 0x45, 0x4e, 1715 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x02, 1716 0x42, 0x0c, 0x0a, 0x0a, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x86, 1717 0x05, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x46, 0x0a, 0x0c, 0x63, 1718 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 1719 0x09, 0x42, 0x23, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 1720 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 1721 0x6d, 0x2f, 0x50, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x50, 1722 0x61, 0x67, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 1723 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1724 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 1725 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 1726 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x66, 1727 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0xdd, 0x03, 0x0a, 0x08, 0x46, 0x6f, 0x72, 0x6d, 1728 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x6a, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 1729 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 1730 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 1731 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 1732 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x49, 1733 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 1734 0x6f, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 1735 0x1a, 0xe4, 0x02, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x49, 0x6e, 1736 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 1737 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 1738 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 1739 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 1740 0x64, 0x12, 0x68, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 1741 0x32, 0x52, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1742 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 1743 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x46, 1744 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 1745 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x53, 1746 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x76, 1747 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 1748 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 1749 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6a, 0x75, 0x73, 1750 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 1751 0x08, 0x52, 0x0d, 0x6a, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 1752 0x22, 0x55, 0x0a, 0x0e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 1753 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x45, 0x54, 0x45, 0x52, 0x5f, 1754 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 1755 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0x01, 0x12, 0x0b, 1756 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 1757 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x22, 0x87, 0x02, 0x0a, 0x0b, 0x53, 0x65, 0x73, 0x73, 1758 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 1759 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x64, 1760 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1761 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 1762 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5f, 0x0a, 0x0a, 0x70, 0x61, 0x72, 1763 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 1764 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 1765 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 1766 0x61, 0x31, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 1767 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 1768 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x55, 0x0a, 0x0f, 0x50, 0x61, 1769 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 1770 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 1771 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 1772 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 1773 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 1774 0x01, 0x32, 0xfd, 0x08, 0x0a, 0x08, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0xce, 1775 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 1776 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1777 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 1778 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 1779 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1780 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 1781 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 1782 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1783 0x73, 0x65, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x76, 0x33, 0x62, 1784 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 1785 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1786 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x77, 0x65, 1787 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 1788 0xbb, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x35, 1789 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 1790 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 1791 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 1792 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1793 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 1794 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 1795 0x6f, 0x6b, 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x76, 0x33, 0x62, 1796 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 1797 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1798 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 1799 0x6f, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xd4, 0x01, 1800 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 1801 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1802 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 1803 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 1804 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1805 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 1806 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 1807 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x3a, 1808 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 1809 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 1810 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 1811 0x7d, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x3a, 0x07, 0x77, 0x65, 0x62, 0x68, 1812 0x6f, 0x6f, 0x6b, 0xda, 0x41, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x77, 0x65, 0x62, 1813 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0xe1, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 1814 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1815 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 1816 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 1817 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1818 0x1a, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1819 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 1820 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x69, 0x82, 1821 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x32, 0x42, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 1822 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 1823 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 1824 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x77, 0x65, 1825 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 1826 0x6f, 0x6b, 0xda, 0x41, 0x13, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2c, 0x75, 0x70, 0x64, 1827 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0xac, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 1828 0x65, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 1829 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1830 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 1831 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 1832 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 1833 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x49, 0x82, 0xd3, 1834 0xe4, 0x93, 0x02, 0x3c, 0x2a, 0x3a, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 1835 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 1836 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 1837 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 1838 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x78, 0xca, 0x41, 0x19, 0x64, 0x69, 0x61, 0x6c, 1839 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 1840 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x59, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 1841 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1842 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 1843 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 1844 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 1845 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1846 0x77, 0x42, 0xab, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1847 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1848 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0c, 0x57, 0x65, 1849 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 1850 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 1851 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 1852 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1853 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 1854 0x63, 0x78, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 0x46, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 1855 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1856 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x78, 0x2e, 0x56, 0x33, 0x42, 0x65, 0x74, 0x61, 0x31, 0x62, 1857 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1858} 1859 1860var ( 1861 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescOnce sync.Once 1862 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescData = file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDesc 1863) 1864 1865func file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescGZIP() []byte { 1866 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescOnce.Do(func() { 1867 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescData) 1868 }) 1869 return file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDescData 1870} 1871 1872var file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 1873var file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes = make([]protoimpl.MessageInfo, 21) 1874var file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_goTypes = []interface{}{ 1875 (WebhookResponse_FulfillmentResponse_MergeBehavior)(0), // 0: google.cloud.dialogflow.cx.v3beta1.WebhookResponse.FulfillmentResponse.MergeBehavior 1876 (PageInfo_FormInfo_ParameterInfo_ParameterState)(0), // 1: google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState 1877 (*Webhook)(nil), // 2: google.cloud.dialogflow.cx.v3beta1.Webhook 1878 (*ListWebhooksRequest)(nil), // 3: google.cloud.dialogflow.cx.v3beta1.ListWebhooksRequest 1879 (*ListWebhooksResponse)(nil), // 4: google.cloud.dialogflow.cx.v3beta1.ListWebhooksResponse 1880 (*GetWebhookRequest)(nil), // 5: google.cloud.dialogflow.cx.v3beta1.GetWebhookRequest 1881 (*CreateWebhookRequest)(nil), // 6: google.cloud.dialogflow.cx.v3beta1.CreateWebhookRequest 1882 (*UpdateWebhookRequest)(nil), // 7: google.cloud.dialogflow.cx.v3beta1.UpdateWebhookRequest 1883 (*DeleteWebhookRequest)(nil), // 8: google.cloud.dialogflow.cx.v3beta1.DeleteWebhookRequest 1884 (*WebhookRequest)(nil), // 9: google.cloud.dialogflow.cx.v3beta1.WebhookRequest 1885 (*WebhookResponse)(nil), // 10: google.cloud.dialogflow.cx.v3beta1.WebhookResponse 1886 (*PageInfo)(nil), // 11: google.cloud.dialogflow.cx.v3beta1.PageInfo 1887 (*SessionInfo)(nil), // 12: google.cloud.dialogflow.cx.v3beta1.SessionInfo 1888 (*Webhook_GenericWebService)(nil), // 13: google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService 1889 nil, // 14: google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.RequestHeadersEntry 1890 (*WebhookRequest_FulfillmentInfo)(nil), // 15: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo 1891 (*WebhookRequest_IntentInfo)(nil), // 16: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo 1892 (*WebhookRequest_IntentInfo_IntentParameterValue)(nil), // 17: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue 1893 nil, // 18: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.ParametersEntry 1894 (*WebhookResponse_FulfillmentResponse)(nil), // 19: google.cloud.dialogflow.cx.v3beta1.WebhookResponse.FulfillmentResponse 1895 (*PageInfo_FormInfo)(nil), // 20: google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo 1896 (*PageInfo_FormInfo_ParameterInfo)(nil), // 21: google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo 1897 nil, // 22: google.cloud.dialogflow.cx.v3beta1.SessionInfo.ParametersEntry 1898 (*durationpb.Duration)(nil), // 23: google.protobuf.Duration 1899 (*fieldmaskpb.FieldMask)(nil), // 24: google.protobuf.FieldMask 1900 (*ResponseMessage)(nil), // 25: google.cloud.dialogflow.cx.v3beta1.ResponseMessage 1901 (*structpb.Struct)(nil), // 26: google.protobuf.Struct 1902 (*structpb.Value)(nil), // 27: google.protobuf.Value 1903 (*emptypb.Empty)(nil), // 28: google.protobuf.Empty 1904} 1905var file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_depIdxs = []int32{ 1906 13, // 0: google.cloud.dialogflow.cx.v3beta1.Webhook.generic_web_service:type_name -> google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService 1907 23, // 1: google.cloud.dialogflow.cx.v3beta1.Webhook.timeout:type_name -> google.protobuf.Duration 1908 2, // 2: google.cloud.dialogflow.cx.v3beta1.ListWebhooksResponse.webhooks:type_name -> google.cloud.dialogflow.cx.v3beta1.Webhook 1909 2, // 3: google.cloud.dialogflow.cx.v3beta1.CreateWebhookRequest.webhook:type_name -> google.cloud.dialogflow.cx.v3beta1.Webhook 1910 2, // 4: google.cloud.dialogflow.cx.v3beta1.UpdateWebhookRequest.webhook:type_name -> google.cloud.dialogflow.cx.v3beta1.Webhook 1911 24, // 5: google.cloud.dialogflow.cx.v3beta1.UpdateWebhookRequest.update_mask:type_name -> google.protobuf.FieldMask 1912 15, // 6: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.fulfillment_info:type_name -> google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo 1913 16, // 7: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.intent_info:type_name -> google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo 1914 11, // 8: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.page_info:type_name -> google.cloud.dialogflow.cx.v3beta1.PageInfo 1915 12, // 9: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.session_info:type_name -> google.cloud.dialogflow.cx.v3beta1.SessionInfo 1916 25, // 10: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.messages:type_name -> google.cloud.dialogflow.cx.v3beta1.ResponseMessage 1917 26, // 11: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.payload:type_name -> google.protobuf.Struct 1918 19, // 12: google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response:type_name -> google.cloud.dialogflow.cx.v3beta1.WebhookResponse.FulfillmentResponse 1919 11, // 13: google.cloud.dialogflow.cx.v3beta1.WebhookResponse.page_info:type_name -> google.cloud.dialogflow.cx.v3beta1.PageInfo 1920 12, // 14: google.cloud.dialogflow.cx.v3beta1.WebhookResponse.session_info:type_name -> google.cloud.dialogflow.cx.v3beta1.SessionInfo 1921 26, // 15: google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload:type_name -> google.protobuf.Struct 1922 20, // 16: google.cloud.dialogflow.cx.v3beta1.PageInfo.form_info:type_name -> google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo 1923 22, // 17: google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters:type_name -> google.cloud.dialogflow.cx.v3beta1.SessionInfo.ParametersEntry 1924 14, // 18: google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.request_headers:type_name -> google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.RequestHeadersEntry 1925 18, // 19: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.parameters:type_name -> google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.ParametersEntry 1926 27, // 20: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue.resolved_value:type_name -> google.protobuf.Value 1927 17, // 21: google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.ParametersEntry.value:type_name -> google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue 1928 25, // 22: google.cloud.dialogflow.cx.v3beta1.WebhookResponse.FulfillmentResponse.messages:type_name -> google.cloud.dialogflow.cx.v3beta1.ResponseMessage 1929 0, // 23: google.cloud.dialogflow.cx.v3beta1.WebhookResponse.FulfillmentResponse.merge_behavior:type_name -> google.cloud.dialogflow.cx.v3beta1.WebhookResponse.FulfillmentResponse.MergeBehavior 1930 21, // 24: google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.parameter_info:type_name -> google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo 1931 1, // 25: google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.state:type_name -> google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState 1932 27, // 26: google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.value:type_name -> google.protobuf.Value 1933 27, // 27: google.cloud.dialogflow.cx.v3beta1.SessionInfo.ParametersEntry.value:type_name -> google.protobuf.Value 1934 3, // 28: google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks:input_type -> google.cloud.dialogflow.cx.v3beta1.ListWebhooksRequest 1935 5, // 29: google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook:input_type -> google.cloud.dialogflow.cx.v3beta1.GetWebhookRequest 1936 6, // 30: google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook:input_type -> google.cloud.dialogflow.cx.v3beta1.CreateWebhookRequest 1937 7, // 31: google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook:input_type -> google.cloud.dialogflow.cx.v3beta1.UpdateWebhookRequest 1938 8, // 32: google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook:input_type -> google.cloud.dialogflow.cx.v3beta1.DeleteWebhookRequest 1939 4, // 33: google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks:output_type -> google.cloud.dialogflow.cx.v3beta1.ListWebhooksResponse 1940 2, // 34: google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook:output_type -> google.cloud.dialogflow.cx.v3beta1.Webhook 1941 2, // 35: google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook:output_type -> google.cloud.dialogflow.cx.v3beta1.Webhook 1942 2, // 36: google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook:output_type -> google.cloud.dialogflow.cx.v3beta1.Webhook 1943 28, // 37: google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook:output_type -> google.protobuf.Empty 1944 33, // [33:38] is the sub-list for method output_type 1945 28, // [28:33] is the sub-list for method input_type 1946 28, // [28:28] is the sub-list for extension type_name 1947 28, // [28:28] is the sub-list for extension extendee 1948 0, // [0:28] is the sub-list for field type_name 1949} 1950 1951func init() { file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_init() } 1952func file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_init() { 1953 if File_google_cloud_dialogflow_cx_v3beta1_webhook_proto != nil { 1954 return 1955 } 1956 file_google_cloud_dialogflow_cx_v3beta1_response_message_proto_init() 1957 if !protoimpl.UnsafeEnabled { 1958 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1959 switch v := v.(*Webhook); i { 1960 case 0: 1961 return &v.state 1962 case 1: 1963 return &v.sizeCache 1964 case 2: 1965 return &v.unknownFields 1966 default: 1967 return nil 1968 } 1969 } 1970 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1971 switch v := v.(*ListWebhooksRequest); i { 1972 case 0: 1973 return &v.state 1974 case 1: 1975 return &v.sizeCache 1976 case 2: 1977 return &v.unknownFields 1978 default: 1979 return nil 1980 } 1981 } 1982 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1983 switch v := v.(*ListWebhooksResponse); i { 1984 case 0: 1985 return &v.state 1986 case 1: 1987 return &v.sizeCache 1988 case 2: 1989 return &v.unknownFields 1990 default: 1991 return nil 1992 } 1993 } 1994 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1995 switch v := v.(*GetWebhookRequest); i { 1996 case 0: 1997 return &v.state 1998 case 1: 1999 return &v.sizeCache 2000 case 2: 2001 return &v.unknownFields 2002 default: 2003 return nil 2004 } 2005 } 2006 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 2007 switch v := v.(*CreateWebhookRequest); i { 2008 case 0: 2009 return &v.state 2010 case 1: 2011 return &v.sizeCache 2012 case 2: 2013 return &v.unknownFields 2014 default: 2015 return nil 2016 } 2017 } 2018 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 2019 switch v := v.(*UpdateWebhookRequest); i { 2020 case 0: 2021 return &v.state 2022 case 1: 2023 return &v.sizeCache 2024 case 2: 2025 return &v.unknownFields 2026 default: 2027 return nil 2028 } 2029 } 2030 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 2031 switch v := v.(*DeleteWebhookRequest); i { 2032 case 0: 2033 return &v.state 2034 case 1: 2035 return &v.sizeCache 2036 case 2: 2037 return &v.unknownFields 2038 default: 2039 return nil 2040 } 2041 } 2042 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 2043 switch v := v.(*WebhookRequest); i { 2044 case 0: 2045 return &v.state 2046 case 1: 2047 return &v.sizeCache 2048 case 2: 2049 return &v.unknownFields 2050 default: 2051 return nil 2052 } 2053 } 2054 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 2055 switch v := v.(*WebhookResponse); i { 2056 case 0: 2057 return &v.state 2058 case 1: 2059 return &v.sizeCache 2060 case 2: 2061 return &v.unknownFields 2062 default: 2063 return nil 2064 } 2065 } 2066 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 2067 switch v := v.(*PageInfo); i { 2068 case 0: 2069 return &v.state 2070 case 1: 2071 return &v.sizeCache 2072 case 2: 2073 return &v.unknownFields 2074 default: 2075 return nil 2076 } 2077 } 2078 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2079 switch v := v.(*SessionInfo); i { 2080 case 0: 2081 return &v.state 2082 case 1: 2083 return &v.sizeCache 2084 case 2: 2085 return &v.unknownFields 2086 default: 2087 return nil 2088 } 2089 } 2090 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2091 switch v := v.(*Webhook_GenericWebService); i { 2092 case 0: 2093 return &v.state 2094 case 1: 2095 return &v.sizeCache 2096 case 2: 2097 return &v.unknownFields 2098 default: 2099 return nil 2100 } 2101 } 2102 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2103 switch v := v.(*WebhookRequest_FulfillmentInfo); i { 2104 case 0: 2105 return &v.state 2106 case 1: 2107 return &v.sizeCache 2108 case 2: 2109 return &v.unknownFields 2110 default: 2111 return nil 2112 } 2113 } 2114 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2115 switch v := v.(*WebhookRequest_IntentInfo); i { 2116 case 0: 2117 return &v.state 2118 case 1: 2119 return &v.sizeCache 2120 case 2: 2121 return &v.unknownFields 2122 default: 2123 return nil 2124 } 2125 } 2126 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2127 switch v := v.(*WebhookRequest_IntentInfo_IntentParameterValue); i { 2128 case 0: 2129 return &v.state 2130 case 1: 2131 return &v.sizeCache 2132 case 2: 2133 return &v.unknownFields 2134 default: 2135 return nil 2136 } 2137 } 2138 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 2139 switch v := v.(*WebhookResponse_FulfillmentResponse); i { 2140 case 0: 2141 return &v.state 2142 case 1: 2143 return &v.sizeCache 2144 case 2: 2145 return &v.unknownFields 2146 default: 2147 return nil 2148 } 2149 } 2150 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 2151 switch v := v.(*PageInfo_FormInfo); i { 2152 case 0: 2153 return &v.state 2154 case 1: 2155 return &v.sizeCache 2156 case 2: 2157 return &v.unknownFields 2158 default: 2159 return nil 2160 } 2161 } 2162 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 2163 switch v := v.(*PageInfo_FormInfo_ParameterInfo); i { 2164 case 0: 2165 return &v.state 2166 case 1: 2167 return &v.sizeCache 2168 case 2: 2169 return &v.unknownFields 2170 default: 2171 return nil 2172 } 2173 } 2174 } 2175 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[0].OneofWrappers = []interface{}{ 2176 (*Webhook_GenericWebService_)(nil), 2177 } 2178 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes[8].OneofWrappers = []interface{}{ 2179 (*WebhookResponse_TargetPage)(nil), 2180 (*WebhookResponse_TargetFlow)(nil), 2181 } 2182 type x struct{} 2183 out := protoimpl.TypeBuilder{ 2184 File: protoimpl.DescBuilder{ 2185 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2186 RawDescriptor: file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDesc, 2187 NumEnums: 2, 2188 NumMessages: 21, 2189 NumExtensions: 0, 2190 NumServices: 1, 2191 }, 2192 GoTypes: file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_goTypes, 2193 DependencyIndexes: file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_depIdxs, 2194 EnumInfos: file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_enumTypes, 2195 MessageInfos: file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_msgTypes, 2196 }.Build() 2197 File_google_cloud_dialogflow_cx_v3beta1_webhook_proto = out.File 2198 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_rawDesc = nil 2199 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_goTypes = nil 2200 file_google_cloud_dialogflow_cx_v3beta1_webhook_proto_depIdxs = nil 2201} 2202 2203// Reference imports to suppress errors if they are not otherwise used. 2204var _ context.Context 2205var _ grpc.ClientConnInterface 2206 2207// This is a compile-time assertion to ensure that this generated file 2208// is compatible with the grpc package it is being compiled against. 2209const _ = grpc.SupportPackageIsVersion6 2210 2211// WebhooksClient is the client API for Webhooks service. 2212// 2213// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2214type WebhooksClient interface { 2215 // Returns the list of all webhooks in the specified agent. 2216 ListWebhooks(ctx context.Context, in *ListWebhooksRequest, opts ...grpc.CallOption) (*ListWebhooksResponse, error) 2217 // Retrieves the specified webhook. 2218 GetWebhook(ctx context.Context, in *GetWebhookRequest, opts ...grpc.CallOption) (*Webhook, error) 2219 // Creates a webhook in the specified agent. 2220 CreateWebhook(ctx context.Context, in *CreateWebhookRequest, opts ...grpc.CallOption) (*Webhook, error) 2221 // Updates the specified webhook. 2222 UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*Webhook, error) 2223 // Deletes the specified webhook. 2224 DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 2225} 2226 2227type webhooksClient struct { 2228 cc grpc.ClientConnInterface 2229} 2230 2231func NewWebhooksClient(cc grpc.ClientConnInterface) WebhooksClient { 2232 return &webhooksClient{cc} 2233} 2234 2235func (c *webhooksClient) ListWebhooks(ctx context.Context, in *ListWebhooksRequest, opts ...grpc.CallOption) (*ListWebhooksResponse, error) { 2236 out := new(ListWebhooksResponse) 2237 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Webhooks/ListWebhooks", in, out, opts...) 2238 if err != nil { 2239 return nil, err 2240 } 2241 return out, nil 2242} 2243 2244func (c *webhooksClient) GetWebhook(ctx context.Context, in *GetWebhookRequest, opts ...grpc.CallOption) (*Webhook, error) { 2245 out := new(Webhook) 2246 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Webhooks/GetWebhook", in, out, opts...) 2247 if err != nil { 2248 return nil, err 2249 } 2250 return out, nil 2251} 2252 2253func (c *webhooksClient) CreateWebhook(ctx context.Context, in *CreateWebhookRequest, opts ...grpc.CallOption) (*Webhook, error) { 2254 out := new(Webhook) 2255 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Webhooks/CreateWebhook", in, out, opts...) 2256 if err != nil { 2257 return nil, err 2258 } 2259 return out, nil 2260} 2261 2262func (c *webhooksClient) UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*Webhook, error) { 2263 out := new(Webhook) 2264 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Webhooks/UpdateWebhook", in, out, opts...) 2265 if err != nil { 2266 return nil, err 2267 } 2268 return out, nil 2269} 2270 2271func (c *webhooksClient) DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 2272 out := new(emptypb.Empty) 2273 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Webhooks/DeleteWebhook", in, out, opts...) 2274 if err != nil { 2275 return nil, err 2276 } 2277 return out, nil 2278} 2279 2280// WebhooksServer is the server API for Webhooks service. 2281type WebhooksServer interface { 2282 // Returns the list of all webhooks in the specified agent. 2283 ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error) 2284 // Retrieves the specified webhook. 2285 GetWebhook(context.Context, *GetWebhookRequest) (*Webhook, error) 2286 // Creates a webhook in the specified agent. 2287 CreateWebhook(context.Context, *CreateWebhookRequest) (*Webhook, error) 2288 // Updates the specified webhook. 2289 UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Webhook, error) 2290 // Deletes the specified webhook. 2291 DeleteWebhook(context.Context, *DeleteWebhookRequest) (*emptypb.Empty, error) 2292} 2293 2294// UnimplementedWebhooksServer can be embedded to have forward compatible implementations. 2295type UnimplementedWebhooksServer struct { 2296} 2297 2298func (*UnimplementedWebhooksServer) ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error) { 2299 return nil, status.Errorf(codes.Unimplemented, "method ListWebhooks not implemented") 2300} 2301func (*UnimplementedWebhooksServer) GetWebhook(context.Context, *GetWebhookRequest) (*Webhook, error) { 2302 return nil, status.Errorf(codes.Unimplemented, "method GetWebhook not implemented") 2303} 2304func (*UnimplementedWebhooksServer) CreateWebhook(context.Context, *CreateWebhookRequest) (*Webhook, error) { 2305 return nil, status.Errorf(codes.Unimplemented, "method CreateWebhook not implemented") 2306} 2307func (*UnimplementedWebhooksServer) UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Webhook, error) { 2308 return nil, status.Errorf(codes.Unimplemented, "method UpdateWebhook not implemented") 2309} 2310func (*UnimplementedWebhooksServer) DeleteWebhook(context.Context, *DeleteWebhookRequest) (*emptypb.Empty, error) { 2311 return nil, status.Errorf(codes.Unimplemented, "method DeleteWebhook not implemented") 2312} 2313 2314func RegisterWebhooksServer(s *grpc.Server, srv WebhooksServer) { 2315 s.RegisterService(&_Webhooks_serviceDesc, srv) 2316} 2317 2318func _Webhooks_ListWebhooks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2319 in := new(ListWebhooksRequest) 2320 if err := dec(in); err != nil { 2321 return nil, err 2322 } 2323 if interceptor == nil { 2324 return srv.(WebhooksServer).ListWebhooks(ctx, in) 2325 } 2326 info := &grpc.UnaryServerInfo{ 2327 Server: srv, 2328 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Webhooks/ListWebhooks", 2329 } 2330 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2331 return srv.(WebhooksServer).ListWebhooks(ctx, req.(*ListWebhooksRequest)) 2332 } 2333 return interceptor(ctx, in, info, handler) 2334} 2335 2336func _Webhooks_GetWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2337 in := new(GetWebhookRequest) 2338 if err := dec(in); err != nil { 2339 return nil, err 2340 } 2341 if interceptor == nil { 2342 return srv.(WebhooksServer).GetWebhook(ctx, in) 2343 } 2344 info := &grpc.UnaryServerInfo{ 2345 Server: srv, 2346 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Webhooks/GetWebhook", 2347 } 2348 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2349 return srv.(WebhooksServer).GetWebhook(ctx, req.(*GetWebhookRequest)) 2350 } 2351 return interceptor(ctx, in, info, handler) 2352} 2353 2354func _Webhooks_CreateWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2355 in := new(CreateWebhookRequest) 2356 if err := dec(in); err != nil { 2357 return nil, err 2358 } 2359 if interceptor == nil { 2360 return srv.(WebhooksServer).CreateWebhook(ctx, in) 2361 } 2362 info := &grpc.UnaryServerInfo{ 2363 Server: srv, 2364 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Webhooks/CreateWebhook", 2365 } 2366 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2367 return srv.(WebhooksServer).CreateWebhook(ctx, req.(*CreateWebhookRequest)) 2368 } 2369 return interceptor(ctx, in, info, handler) 2370} 2371 2372func _Webhooks_UpdateWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2373 in := new(UpdateWebhookRequest) 2374 if err := dec(in); err != nil { 2375 return nil, err 2376 } 2377 if interceptor == nil { 2378 return srv.(WebhooksServer).UpdateWebhook(ctx, in) 2379 } 2380 info := &grpc.UnaryServerInfo{ 2381 Server: srv, 2382 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Webhooks/UpdateWebhook", 2383 } 2384 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2385 return srv.(WebhooksServer).UpdateWebhook(ctx, req.(*UpdateWebhookRequest)) 2386 } 2387 return interceptor(ctx, in, info, handler) 2388} 2389 2390func _Webhooks_DeleteWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2391 in := new(DeleteWebhookRequest) 2392 if err := dec(in); err != nil { 2393 return nil, err 2394 } 2395 if interceptor == nil { 2396 return srv.(WebhooksServer).DeleteWebhook(ctx, in) 2397 } 2398 info := &grpc.UnaryServerInfo{ 2399 Server: srv, 2400 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Webhooks/DeleteWebhook", 2401 } 2402 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2403 return srv.(WebhooksServer).DeleteWebhook(ctx, req.(*DeleteWebhookRequest)) 2404 } 2405 return interceptor(ctx, in, info, handler) 2406} 2407 2408var _Webhooks_serviceDesc = grpc.ServiceDesc{ 2409 ServiceName: "google.cloud.dialogflow.cx.v3beta1.Webhooks", 2410 HandlerType: (*WebhooksServer)(nil), 2411 Methods: []grpc.MethodDesc{ 2412 { 2413 MethodName: "ListWebhooks", 2414 Handler: _Webhooks_ListWebhooks_Handler, 2415 }, 2416 { 2417 MethodName: "GetWebhook", 2418 Handler: _Webhooks_GetWebhook_Handler, 2419 }, 2420 { 2421 MethodName: "CreateWebhook", 2422 Handler: _Webhooks_CreateWebhook_Handler, 2423 }, 2424 { 2425 MethodName: "UpdateWebhook", 2426 Handler: _Webhooks_UpdateWebhook_Handler, 2427 }, 2428 { 2429 MethodName: "DeleteWebhook", 2430 Handler: _Webhooks_DeleteWebhook_Handler, 2431 }, 2432 }, 2433 Streams: []grpc.StreamDesc{}, 2434 Metadata: "google/cloud/dialogflow/cx/v3beta1/webhook.proto", 2435} 2436