1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/cloud/dialogflow/cx/v3beta1/intent.proto 20 21package cx 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 _ "google.golang.org/genproto/googleapis/longrunning" 30 grpc "google.golang.org/grpc" 31 codes "google.golang.org/grpc/codes" 32 status "google.golang.org/grpc/status" 33 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 34 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 35 emptypb "google.golang.org/protobuf/types/known/emptypb" 36 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 37 _ "google.golang.org/protobuf/types/known/timestamppb" 38) 39 40const ( 41 // Verify that this generated code is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 43 // Verify that runtime/protoimpl is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 45) 46 47// Represents the options for views of an intent. 48// An intent can be a sizable object. Therefore, we provide a resource view that 49// does not return training phrases in the response. 50type IntentView int32 51 52const ( 53 // Not specified. Treated as INTENT_VIEW_FULL. 54 IntentView_INTENT_VIEW_UNSPECIFIED IntentView = 0 55 // Training phrases field is not populated in the response. 56 IntentView_INTENT_VIEW_PARTIAL IntentView = 1 57 // All fields are populated. 58 IntentView_INTENT_VIEW_FULL IntentView = 2 59) 60 61// Enum value maps for IntentView. 62var ( 63 IntentView_name = map[int32]string{ 64 0: "INTENT_VIEW_UNSPECIFIED", 65 1: "INTENT_VIEW_PARTIAL", 66 2: "INTENT_VIEW_FULL", 67 } 68 IntentView_value = map[string]int32{ 69 "INTENT_VIEW_UNSPECIFIED": 0, 70 "INTENT_VIEW_PARTIAL": 1, 71 "INTENT_VIEW_FULL": 2, 72 } 73) 74 75func (x IntentView) Enum() *IntentView { 76 p := new(IntentView) 77 *p = x 78 return p 79} 80 81func (x IntentView) String() string { 82 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 83} 84 85func (IntentView) Descriptor() protoreflect.EnumDescriptor { 86 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_enumTypes[0].Descriptor() 87} 88 89func (IntentView) Type() protoreflect.EnumType { 90 return &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_enumTypes[0] 91} 92 93func (x IntentView) Number() protoreflect.EnumNumber { 94 return protoreflect.EnumNumber(x) 95} 96 97// Deprecated: Use IntentView.Descriptor instead. 98func (IntentView) EnumDescriptor() ([]byte, []int) { 99 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{0} 100} 101 102// An intent represents a user's intent to interact with a conversational agent. 103// 104// You can provide information for the Dialogflow API to use to match user input 105// to an intent by adding training phrases (i.e., examples of user input) to 106// your intent. 107type Intent struct { 108 state protoimpl.MessageState 109 sizeCache protoimpl.SizeCache 110 unknownFields protoimpl.UnknownFields 111 112 // The unique identifier of the intent. 113 // Required for the [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent] 114 // populates the name automatically. 115 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent 116 // ID>/intents/<Intent ID>`. 117 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 118 // Required. The human-readable name of the intent, unique within the agent. 119 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 120 // The collection of training phrases the agent is trained on to identify the 121 // intent. 122 TrainingPhrases []*Intent_TrainingPhrase `protobuf:"bytes,3,rep,name=training_phrases,json=trainingPhrases,proto3" json:"training_phrases,omitempty"` 123 // The collection of parameters associated with the intent. 124 Parameters []*Intent_Parameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"` 125 // The priority of this intent. Higher numbers represent higher 126 // priorities. 127 // 128 // - If the supplied value is unspecified or 0, the service 129 // translates the value to 500,000, which corresponds to the 130 // `Normal` priority in the console. 131 // - If the supplied value is negative, the intent is ignored 132 // in runtime detect intent requests. 133 Priority int32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"` 134 // Indicates whether this is a fallback intent. Currently only default 135 // fallback intent is allowed in the agent, which is added upon agent 136 // creation. 137 // Adding training phrases to fallback intent is useful in the case of 138 // requests that are mistakenly matched, since training phrases assigned to 139 // fallback intents act as negative examples that triggers no-match event. 140 IsFallback bool `protobuf:"varint,6,opt,name=is_fallback,json=isFallback,proto3" json:"is_fallback,omitempty"` 141 // The key/value metadata to label an intent. Labels can contain 142 // lowercase letters, digits and the symbols '-' and '_'. International 143 // characters are allowed, including letters from unicase alphabets. Keys must 144 // start with a letter. Keys and values can be no longer than 63 characters 145 // and no more than 128 bytes. 146 // 147 // Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed 148 // Dialogflow defined labels include: 149 // * sys-head 150 // * sys-contextual 151 // The above labels do not require value. "sys-head" means the intent is a 152 // head intent. "sys-contextual" means the intent is a contextual intent. 153 Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 154 // Human readable description for better understanding an intent like its 155 // scope, content, result etc. Maximum character limit: 140 characters. 156 Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` 157} 158 159func (x *Intent) Reset() { 160 *x = Intent{} 161 if protoimpl.UnsafeEnabled { 162 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[0] 163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 164 ms.StoreMessageInfo(mi) 165 } 166} 167 168func (x *Intent) String() string { 169 return protoimpl.X.MessageStringOf(x) 170} 171 172func (*Intent) ProtoMessage() {} 173 174func (x *Intent) ProtoReflect() protoreflect.Message { 175 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[0] 176 if protoimpl.UnsafeEnabled && x != nil { 177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 178 if ms.LoadMessageInfo() == nil { 179 ms.StoreMessageInfo(mi) 180 } 181 return ms 182 } 183 return mi.MessageOf(x) 184} 185 186// Deprecated: Use Intent.ProtoReflect.Descriptor instead. 187func (*Intent) Descriptor() ([]byte, []int) { 188 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{0} 189} 190 191func (x *Intent) GetName() string { 192 if x != nil { 193 return x.Name 194 } 195 return "" 196} 197 198func (x *Intent) GetDisplayName() string { 199 if x != nil { 200 return x.DisplayName 201 } 202 return "" 203} 204 205func (x *Intent) GetTrainingPhrases() []*Intent_TrainingPhrase { 206 if x != nil { 207 return x.TrainingPhrases 208 } 209 return nil 210} 211 212func (x *Intent) GetParameters() []*Intent_Parameter { 213 if x != nil { 214 return x.Parameters 215 } 216 return nil 217} 218 219func (x *Intent) GetPriority() int32 { 220 if x != nil { 221 return x.Priority 222 } 223 return 0 224} 225 226func (x *Intent) GetIsFallback() bool { 227 if x != nil { 228 return x.IsFallback 229 } 230 return false 231} 232 233func (x *Intent) GetLabels() map[string]string { 234 if x != nil { 235 return x.Labels 236 } 237 return nil 238} 239 240func (x *Intent) GetDescription() string { 241 if x != nil { 242 return x.Description 243 } 244 return "" 245} 246 247// The request message for [Intents.ListIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents]. 248type ListIntentsRequest struct { 249 state protoimpl.MessageState 250 sizeCache protoimpl.SizeCache 251 unknownFields protoimpl.UnknownFields 252 253 // Required. The agent to list all intents for. 254 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. 255 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 256 // The language to list intents for. The following fields are language 257 // dependent: 258 // 259 // * `Intent.training_phrases.parts.text` 260 // 261 // If not specified, the agent's default language is used. 262 // [Many 263 // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) 264 // are supported. 265 // Note: languages must be enabled in the agent before they can be used. 266 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 267 // The resource view to apply to the returned intent. 268 IntentView IntentView `protobuf:"varint,5,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.cx.v3beta1.IntentView" json:"intent_view,omitempty"` 269 // The maximum number of items to return in a single page. By default 100 and 270 // at most 1000. 271 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 272 // The next_page_token value returned from a previous list request. 273 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 274} 275 276func (x *ListIntentsRequest) Reset() { 277 *x = ListIntentsRequest{} 278 if protoimpl.UnsafeEnabled { 279 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[1] 280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 281 ms.StoreMessageInfo(mi) 282 } 283} 284 285func (x *ListIntentsRequest) String() string { 286 return protoimpl.X.MessageStringOf(x) 287} 288 289func (*ListIntentsRequest) ProtoMessage() {} 290 291func (x *ListIntentsRequest) ProtoReflect() protoreflect.Message { 292 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[1] 293 if protoimpl.UnsafeEnabled && x != nil { 294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 295 if ms.LoadMessageInfo() == nil { 296 ms.StoreMessageInfo(mi) 297 } 298 return ms 299 } 300 return mi.MessageOf(x) 301} 302 303// Deprecated: Use ListIntentsRequest.ProtoReflect.Descriptor instead. 304func (*ListIntentsRequest) Descriptor() ([]byte, []int) { 305 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{1} 306} 307 308func (x *ListIntentsRequest) GetParent() string { 309 if x != nil { 310 return x.Parent 311 } 312 return "" 313} 314 315func (x *ListIntentsRequest) GetLanguageCode() string { 316 if x != nil { 317 return x.LanguageCode 318 } 319 return "" 320} 321 322func (x *ListIntentsRequest) GetIntentView() IntentView { 323 if x != nil { 324 return x.IntentView 325 } 326 return IntentView_INTENT_VIEW_UNSPECIFIED 327} 328 329func (x *ListIntentsRequest) GetPageSize() int32 { 330 if x != nil { 331 return x.PageSize 332 } 333 return 0 334} 335 336func (x *ListIntentsRequest) GetPageToken() string { 337 if x != nil { 338 return x.PageToken 339 } 340 return "" 341} 342 343// The response message for [Intents.ListIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents]. 344type ListIntentsResponse struct { 345 state protoimpl.MessageState 346 sizeCache protoimpl.SizeCache 347 unknownFields protoimpl.UnknownFields 348 349 // The list of intents. There will be a maximum number of items returned based 350 // on the page_size field in the request. 351 Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` 352 // Token to retrieve the next page of results, or empty if there are no more 353 // results in the list. 354 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 355} 356 357func (x *ListIntentsResponse) Reset() { 358 *x = ListIntentsResponse{} 359 if protoimpl.UnsafeEnabled { 360 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[2] 361 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 362 ms.StoreMessageInfo(mi) 363 } 364} 365 366func (x *ListIntentsResponse) String() string { 367 return protoimpl.X.MessageStringOf(x) 368} 369 370func (*ListIntentsResponse) ProtoMessage() {} 371 372func (x *ListIntentsResponse) ProtoReflect() protoreflect.Message { 373 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[2] 374 if protoimpl.UnsafeEnabled && x != nil { 375 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 376 if ms.LoadMessageInfo() == nil { 377 ms.StoreMessageInfo(mi) 378 } 379 return ms 380 } 381 return mi.MessageOf(x) 382} 383 384// Deprecated: Use ListIntentsResponse.ProtoReflect.Descriptor instead. 385func (*ListIntentsResponse) Descriptor() ([]byte, []int) { 386 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{2} 387} 388 389func (x *ListIntentsResponse) GetIntents() []*Intent { 390 if x != nil { 391 return x.Intents 392 } 393 return nil 394} 395 396func (x *ListIntentsResponse) GetNextPageToken() string { 397 if x != nil { 398 return x.NextPageToken 399 } 400 return "" 401} 402 403// The request message for [Intents.GetIntent][google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent]. 404type GetIntentRequest struct { 405 state protoimpl.MessageState 406 sizeCache protoimpl.SizeCache 407 unknownFields protoimpl.UnknownFields 408 409 // Required. The name of the intent. 410 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent 411 // ID>/intents/<Intent ID>`. 412 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 413 // The language to retrieve the intent for. The following fields are language 414 // dependent: 415 // 416 // * `Intent.training_phrases.parts.text` 417 // 418 // If not specified, the agent's default language is used. 419 // [Many 420 // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) 421 // are supported. 422 // Note: languages must be enabled in the agent before they can be used. 423 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 424} 425 426func (x *GetIntentRequest) Reset() { 427 *x = GetIntentRequest{} 428 if protoimpl.UnsafeEnabled { 429 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[3] 430 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 431 ms.StoreMessageInfo(mi) 432 } 433} 434 435func (x *GetIntentRequest) String() string { 436 return protoimpl.X.MessageStringOf(x) 437} 438 439func (*GetIntentRequest) ProtoMessage() {} 440 441func (x *GetIntentRequest) ProtoReflect() protoreflect.Message { 442 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[3] 443 if protoimpl.UnsafeEnabled && x != nil { 444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 445 if ms.LoadMessageInfo() == nil { 446 ms.StoreMessageInfo(mi) 447 } 448 return ms 449 } 450 return mi.MessageOf(x) 451} 452 453// Deprecated: Use GetIntentRequest.ProtoReflect.Descriptor instead. 454func (*GetIntentRequest) Descriptor() ([]byte, []int) { 455 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{3} 456} 457 458func (x *GetIntentRequest) GetName() string { 459 if x != nil { 460 return x.Name 461 } 462 return "" 463} 464 465func (x *GetIntentRequest) GetLanguageCode() string { 466 if x != nil { 467 return x.LanguageCode 468 } 469 return "" 470} 471 472// The request message for [Intents.CreateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent]. 473type CreateIntentRequest struct { 474 state protoimpl.MessageState 475 sizeCache protoimpl.SizeCache 476 unknownFields protoimpl.UnknownFields 477 478 // Required. The agent to create an intent for. 479 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. 480 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 481 // Required. The intent to create. 482 Intent *Intent `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"` 483 // The language of the following fields in `intent`: 484 // 485 // * `Intent.training_phrases.parts.text` 486 // 487 // If not specified, the agent's default language is used. 488 // [Many 489 // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) 490 // are supported. 491 // Note: languages must be enabled in the agent before they can be used. 492 LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 493} 494 495func (x *CreateIntentRequest) Reset() { 496 *x = CreateIntentRequest{} 497 if protoimpl.UnsafeEnabled { 498 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[4] 499 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 500 ms.StoreMessageInfo(mi) 501 } 502} 503 504func (x *CreateIntentRequest) String() string { 505 return protoimpl.X.MessageStringOf(x) 506} 507 508func (*CreateIntentRequest) ProtoMessage() {} 509 510func (x *CreateIntentRequest) ProtoReflect() protoreflect.Message { 511 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[4] 512 if protoimpl.UnsafeEnabled && x != nil { 513 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 514 if ms.LoadMessageInfo() == nil { 515 ms.StoreMessageInfo(mi) 516 } 517 return ms 518 } 519 return mi.MessageOf(x) 520} 521 522// Deprecated: Use CreateIntentRequest.ProtoReflect.Descriptor instead. 523func (*CreateIntentRequest) Descriptor() ([]byte, []int) { 524 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{4} 525} 526 527func (x *CreateIntentRequest) GetParent() string { 528 if x != nil { 529 return x.Parent 530 } 531 return "" 532} 533 534func (x *CreateIntentRequest) GetIntent() *Intent { 535 if x != nil { 536 return x.Intent 537 } 538 return nil 539} 540 541func (x *CreateIntentRequest) GetLanguageCode() string { 542 if x != nil { 543 return x.LanguageCode 544 } 545 return "" 546} 547 548// The request message for [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent]. 549type UpdateIntentRequest struct { 550 state protoimpl.MessageState 551 sizeCache protoimpl.SizeCache 552 unknownFields protoimpl.UnknownFields 553 554 // Required. The intent to update. 555 Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` 556 // The language of the following fields in `intent`: 557 // 558 // * `Intent.training_phrases.parts.text` 559 // 560 // If not specified, the agent's default language is used. 561 // [Many 562 // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) 563 // are supported. 564 // Note: languages must be enabled in the agent before they can be used. 565 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 566 // The mask to control which fields get updated. If the mask is not present, 567 // all fields will be updated. 568 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 569} 570 571func (x *UpdateIntentRequest) Reset() { 572 *x = UpdateIntentRequest{} 573 if protoimpl.UnsafeEnabled { 574 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[5] 575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 576 ms.StoreMessageInfo(mi) 577 } 578} 579 580func (x *UpdateIntentRequest) String() string { 581 return protoimpl.X.MessageStringOf(x) 582} 583 584func (*UpdateIntentRequest) ProtoMessage() {} 585 586func (x *UpdateIntentRequest) ProtoReflect() protoreflect.Message { 587 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[5] 588 if protoimpl.UnsafeEnabled && x != nil { 589 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 590 if ms.LoadMessageInfo() == nil { 591 ms.StoreMessageInfo(mi) 592 } 593 return ms 594 } 595 return mi.MessageOf(x) 596} 597 598// Deprecated: Use UpdateIntentRequest.ProtoReflect.Descriptor instead. 599func (*UpdateIntentRequest) Descriptor() ([]byte, []int) { 600 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{5} 601} 602 603func (x *UpdateIntentRequest) GetIntent() *Intent { 604 if x != nil { 605 return x.Intent 606 } 607 return nil 608} 609 610func (x *UpdateIntentRequest) GetLanguageCode() string { 611 if x != nil { 612 return x.LanguageCode 613 } 614 return "" 615} 616 617func (x *UpdateIntentRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 618 if x != nil { 619 return x.UpdateMask 620 } 621 return nil 622} 623 624// The request message for [Intents.DeleteIntent][google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent]. 625type DeleteIntentRequest struct { 626 state protoimpl.MessageState 627 sizeCache protoimpl.SizeCache 628 unknownFields protoimpl.UnknownFields 629 630 // Required. The name of the intent to delete. 631 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent 632 // ID>/intents/<Intent ID>`. 633 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 634} 635 636func (x *DeleteIntentRequest) Reset() { 637 *x = DeleteIntentRequest{} 638 if protoimpl.UnsafeEnabled { 639 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[6] 640 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 641 ms.StoreMessageInfo(mi) 642 } 643} 644 645func (x *DeleteIntentRequest) String() string { 646 return protoimpl.X.MessageStringOf(x) 647} 648 649func (*DeleteIntentRequest) ProtoMessage() {} 650 651func (x *DeleteIntentRequest) ProtoReflect() protoreflect.Message { 652 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[6] 653 if protoimpl.UnsafeEnabled && x != nil { 654 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 655 if ms.LoadMessageInfo() == nil { 656 ms.StoreMessageInfo(mi) 657 } 658 return ms 659 } 660 return mi.MessageOf(x) 661} 662 663// Deprecated: Use DeleteIntentRequest.ProtoReflect.Descriptor instead. 664func (*DeleteIntentRequest) Descriptor() ([]byte, []int) { 665 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{6} 666} 667 668func (x *DeleteIntentRequest) GetName() string { 669 if x != nil { 670 return x.Name 671 } 672 return "" 673} 674 675// Represents an example that the agent is trained on to identify the intent. 676type Intent_TrainingPhrase struct { 677 state protoimpl.MessageState 678 sizeCache protoimpl.SizeCache 679 unknownFields protoimpl.UnknownFields 680 681 // Output only. The unique identifier of the training phrase. 682 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 683 // Required. The ordered list of training phrase parts. 684 // The parts are concatenated in order to form the training phrase. 685 // 686 // Note: The API does not automatically annotate training phrases like the 687 // Dialogflow Console does. 688 // 689 // Note: Do not forget to include whitespace at part boundaries, so the 690 // training phrase is well formatted when the parts are concatenated. 691 // 692 // If the training phrase does not need to be annotated with parameters, 693 // you just need a single part with only the [Part.text][google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase.Part.text] field set. 694 // 695 // If you want to annotate the training phrase, you must create multiple 696 // parts, where the fields of each part are populated in one of two ways: 697 // 698 // - `Part.text` is set to a part of the phrase that has no parameters. 699 // - `Part.text` is set to a part of the phrase that you want to annotate, 700 // and the `parameter_id` field is set. 701 Parts []*Intent_TrainingPhrase_Part `protobuf:"bytes,2,rep,name=parts,proto3" json:"parts,omitempty"` 702 // Indicates how many times this example was added to the intent. 703 RepeatCount int32 `protobuf:"varint,3,opt,name=repeat_count,json=repeatCount,proto3" json:"repeat_count,omitempty"` 704} 705 706func (x *Intent_TrainingPhrase) Reset() { 707 *x = Intent_TrainingPhrase{} 708 if protoimpl.UnsafeEnabled { 709 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[7] 710 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 711 ms.StoreMessageInfo(mi) 712 } 713} 714 715func (x *Intent_TrainingPhrase) String() string { 716 return protoimpl.X.MessageStringOf(x) 717} 718 719func (*Intent_TrainingPhrase) ProtoMessage() {} 720 721func (x *Intent_TrainingPhrase) ProtoReflect() protoreflect.Message { 722 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[7] 723 if protoimpl.UnsafeEnabled && x != nil { 724 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 725 if ms.LoadMessageInfo() == nil { 726 ms.StoreMessageInfo(mi) 727 } 728 return ms 729 } 730 return mi.MessageOf(x) 731} 732 733// Deprecated: Use Intent_TrainingPhrase.ProtoReflect.Descriptor instead. 734func (*Intent_TrainingPhrase) Descriptor() ([]byte, []int) { 735 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{0, 0} 736} 737 738func (x *Intent_TrainingPhrase) GetId() string { 739 if x != nil { 740 return x.Id 741 } 742 return "" 743} 744 745func (x *Intent_TrainingPhrase) GetParts() []*Intent_TrainingPhrase_Part { 746 if x != nil { 747 return x.Parts 748 } 749 return nil 750} 751 752func (x *Intent_TrainingPhrase) GetRepeatCount() int32 { 753 if x != nil { 754 return x.RepeatCount 755 } 756 return 0 757} 758 759// Represents an intent parameter. 760type Intent_Parameter struct { 761 state protoimpl.MessageState 762 sizeCache protoimpl.SizeCache 763 unknownFields protoimpl.UnknownFields 764 765 // Required. The unique identifier of the parameter. This field 766 // is used by [training phrases][google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase] to annotate their 767 // [parts][google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase.Part]. 768 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 769 // Required. The entity type of the parameter. 770 // Format: `projects/-/locations/-/agents/-/entityTypes/<System Entity Type 771 // ID>` for system entity types (for example, 772 // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or 773 // `projects/<Project ID>/locations/<Location ID>/agents/<Agent 774 // ID>/entityTypes/<Entity Type ID>` for developer entity types. 775 EntityType string `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` 776 // Indicates whether the parameter represents a list of values. 777 IsList bool `protobuf:"varint,3,opt,name=is_list,json=isList,proto3" json:"is_list,omitempty"` 778 // Indicates whether the parameter content should be redacted in log. If 779 // redaction is enabled, the parameter content will be replaced by parameter 780 // name during logging. 781 // Note: the parameter content is subject to redaction if either parameter 782 // level redaction or [entity type level redaction][google.cloud.dialogflow.cx.v3beta1.EntityType.redact] is 783 // enabled. 784 Redact bool `protobuf:"varint,4,opt,name=redact,proto3" json:"redact,omitempty"` 785} 786 787func (x *Intent_Parameter) Reset() { 788 *x = Intent_Parameter{} 789 if protoimpl.UnsafeEnabled { 790 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[8] 791 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 792 ms.StoreMessageInfo(mi) 793 } 794} 795 796func (x *Intent_Parameter) String() string { 797 return protoimpl.X.MessageStringOf(x) 798} 799 800func (*Intent_Parameter) ProtoMessage() {} 801 802func (x *Intent_Parameter) ProtoReflect() protoreflect.Message { 803 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[8] 804 if protoimpl.UnsafeEnabled && x != nil { 805 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 806 if ms.LoadMessageInfo() == nil { 807 ms.StoreMessageInfo(mi) 808 } 809 return ms 810 } 811 return mi.MessageOf(x) 812} 813 814// Deprecated: Use Intent_Parameter.ProtoReflect.Descriptor instead. 815func (*Intent_Parameter) Descriptor() ([]byte, []int) { 816 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{0, 1} 817} 818 819func (x *Intent_Parameter) GetId() string { 820 if x != nil { 821 return x.Id 822 } 823 return "" 824} 825 826func (x *Intent_Parameter) GetEntityType() string { 827 if x != nil { 828 return x.EntityType 829 } 830 return "" 831} 832 833func (x *Intent_Parameter) GetIsList() bool { 834 if x != nil { 835 return x.IsList 836 } 837 return false 838} 839 840func (x *Intent_Parameter) GetRedact() bool { 841 if x != nil { 842 return x.Redact 843 } 844 return false 845} 846 847// Represents a part of a training phrase. 848type Intent_TrainingPhrase_Part struct { 849 state protoimpl.MessageState 850 sizeCache protoimpl.SizeCache 851 unknownFields protoimpl.UnknownFields 852 853 // Required. The text for this part. 854 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 855 // The [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] used to annotate this part of the 856 // training phrase. This field is required for annotated parts of the 857 // training phrase. 858 ParameterId string `protobuf:"bytes,2,opt,name=parameter_id,json=parameterId,proto3" json:"parameter_id,omitempty"` 859} 860 861func (x *Intent_TrainingPhrase_Part) Reset() { 862 *x = Intent_TrainingPhrase_Part{} 863 if protoimpl.UnsafeEnabled { 864 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[10] 865 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 866 ms.StoreMessageInfo(mi) 867 } 868} 869 870func (x *Intent_TrainingPhrase_Part) String() string { 871 return protoimpl.X.MessageStringOf(x) 872} 873 874func (*Intent_TrainingPhrase_Part) ProtoMessage() {} 875 876func (x *Intent_TrainingPhrase_Part) ProtoReflect() protoreflect.Message { 877 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[10] 878 if protoimpl.UnsafeEnabled && x != nil { 879 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 880 if ms.LoadMessageInfo() == nil { 881 ms.StoreMessageInfo(mi) 882 } 883 return ms 884 } 885 return mi.MessageOf(x) 886} 887 888// Deprecated: Use Intent_TrainingPhrase_Part.ProtoReflect.Descriptor instead. 889func (*Intent_TrainingPhrase_Part) Descriptor() ([]byte, []int) { 890 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{0, 0, 0} 891} 892 893func (x *Intent_TrainingPhrase_Part) GetText() string { 894 if x != nil { 895 return x.Text 896 } 897 return "" 898} 899 900func (x *Intent_TrainingPhrase_Part) GetParameterId() string { 901 if x != nil { 902 return x.ParameterId 903 } 904 return "" 905} 906 907var File_google_cloud_dialogflow_cx_v3beta1_intent_proto protoreflect.FileDescriptor 908 909var file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDesc = []byte{ 910 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 911 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 912 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 913 0x6f, 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 914 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 915 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 916 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 917 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 918 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 919 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 920 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 921 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 922 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 923 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 924 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 925 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 926 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 927 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 928 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 929 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 930 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x07, 931 0x0a, 0x06, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 932 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 933 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 934 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 935 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x64, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 936 0x5f, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 937 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 938 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 939 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 940 0x69, 0x6e, 0x67, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x69, 0x6e, 941 0x69, 0x6e, 0x67, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x12, 0x54, 0x0a, 0x0a, 0x70, 0x61, 942 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 943 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 944 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 945 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 946 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 947 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 948 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 949 0x69, 0x73, 0x5f, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 950 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x4e, 0x0a, 951 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 952 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 953 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 954 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 955 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x20, 0x0a, 956 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 957 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 958 0xe2, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x68, 0x72, 0x61, 959 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 960 0x69, 0x64, 0x12, 0x59, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 961 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 962 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 963 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x72, 964 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x72, 965 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x12, 0x21, 0x0a, 966 0x0c, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 967 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 968 0x1a, 0x42, 0x0a, 0x04, 0x50, 0x61, 0x72, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 969 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x65, 0x78, 970 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x69, 971 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 972 0x65, 0x72, 0x49, 0x64, 0x1a, 0xa0, 0x01, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 973 0x65, 0x72, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 974 0xe0, 0x41, 0x02, 0x52, 0x02, 0x69, 0x64, 0x12, 0x4d, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 975 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 976 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 977 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 978 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x69, 979 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6c, 0x69, 0x73, 980 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 981 0x16, 0x0a, 0x06, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 982 0x06, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 983 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 984 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 985 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 986 0x38, 0x01, 0x3a, 0x6e, 0xea, 0x41, 0x6b, 0x0a, 0x20, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 987 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 988 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x70, 0x72, 0x6f, 0x6a, 0x65, 989 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 990 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 991 0x6e, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x67, 0x65, 0x6e, 0x74, 992 0x7d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x74, 0x65, 0x6e, 993 0x74, 0x7d, 0x22, 0x88, 0x02, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 994 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 995 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 996 0x22, 0x12, 0x20, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 997 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x74, 998 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 999 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 1000 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 1001 0x12, 0x4f, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 1002 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1003 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 1004 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 1005 0x74, 0x56, 0x69, 0x65, 0x77, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x65, 1006 0x77, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 1007 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 1008 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 1009 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x83, 0x01, 1010 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 1011 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 1012 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1013 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 1014 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 1015 0x6e, 0x74, 0x52, 0x07, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 1016 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 1017 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 1018 0x6b, 0x65, 0x6e, 0x22, 0x75, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 1019 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 1020 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x64, 1021 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1022 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 1023 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 1024 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 1025 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x13, 0x43, 1026 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 1027 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 1028 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x12, 0x20, 0x64, 0x69, 0x61, 0x6c, 1029 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 1030 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 1031 0x72, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 1032 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1033 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 1034 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 1035 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 1036 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 1037 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 1038 0x64, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 1039 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x06, 0x69, 0x6e, 1040 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 1041 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1042 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 1043 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x69, 0x6e, 0x74, 1044 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 1045 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 1046 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 1047 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 1048 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 1049 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 1050 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x53, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 1051 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 1052 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 1053 0x41, 0x22, 0x0a, 0x20, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 1054 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 1055 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x2a, 0x58, 0x0a, 0x0a, 0x49, 0x6e, 1056 0x74, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x65, 0x77, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54, 0x45, 1057 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 1058 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 1059 0x56, 0x49, 0x45, 0x57, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x14, 1060 0x0a, 0x10, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 1061 0x4c, 0x4c, 0x10, 0x02, 0x32, 0xe4, 0x08, 0x0a, 0x07, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 1062 0x12, 0xca, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 1063 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1064 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 1065 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 1066 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1067 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 1068 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 1069 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1070 0x65, 0x22, 0x4a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x12, 0x39, 0x2f, 0x76, 0x33, 0x62, 0x65, 1071 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 1072 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1073 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x74, 1074 0x65, 0x6e, 0x74, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xb7, 0x01, 1075 0x0a, 0x09, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x2e, 0x67, 0x6f, 1076 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 1077 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 1078 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1079 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1080 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 1081 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x48, 0x82, 1082 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x12, 0x39, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 1083 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 1084 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 1085 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 1086 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xce, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 1087 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1088 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 1089 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 1090 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1091 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1092 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 1093 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x59, 0x82, 1094 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x39, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 1095 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 1096 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 1097 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 1098 0x3a, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0xda, 0x41, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 1099 0x74, 0x2c, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0xda, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 1100 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1101 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 1102 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 1103 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 1104 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1105 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 1106 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x65, 1107 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4a, 0x32, 0x40, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 1108 0x2f, 0x7b, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 1109 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 1110 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 1111 0x74, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 1112 0xda, 0x41, 0x12, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 1113 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0xa9, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 1114 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1115 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 1116 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 1117 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 1118 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 1119 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x2a, 1120 0x39, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 1121 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 1122 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 1123 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 1124 0x65, 0x1a, 0x78, 0xca, 0x41, 0x19, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 1125 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 1126 0x41, 0x59, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 1127 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 1128 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 1129 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 1130 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 1131 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x42, 0xaa, 0x01, 0x0a, 0x26, 1132 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1133 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 1134 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0b, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x50, 0x72, 1135 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 1136 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 1137 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 1138 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 1139 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x63, 0x78, 0xf8, 0x01, 0x01, 0xa2, 0x02, 1140 0x02, 0x44, 0x46, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 1141 0x75, 0x64, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x78, 1142 0x2e, 0x56, 0x33, 0x42, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1143} 1144 1145var ( 1146 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescOnce sync.Once 1147 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescData = file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDesc 1148) 1149 1150func file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP() []byte { 1151 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescOnce.Do(func() { 1152 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescData) 1153 }) 1154 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescData 1155} 1156 1157var file_google_cloud_dialogflow_cx_v3beta1_intent_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1158var file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 1159var file_google_cloud_dialogflow_cx_v3beta1_intent_proto_goTypes = []interface{}{ 1160 (IntentView)(0), // 0: google.cloud.dialogflow.cx.v3beta1.IntentView 1161 (*Intent)(nil), // 1: google.cloud.dialogflow.cx.v3beta1.Intent 1162 (*ListIntentsRequest)(nil), // 2: google.cloud.dialogflow.cx.v3beta1.ListIntentsRequest 1163 (*ListIntentsResponse)(nil), // 3: google.cloud.dialogflow.cx.v3beta1.ListIntentsResponse 1164 (*GetIntentRequest)(nil), // 4: google.cloud.dialogflow.cx.v3beta1.GetIntentRequest 1165 (*CreateIntentRequest)(nil), // 5: google.cloud.dialogflow.cx.v3beta1.CreateIntentRequest 1166 (*UpdateIntentRequest)(nil), // 6: google.cloud.dialogflow.cx.v3beta1.UpdateIntentRequest 1167 (*DeleteIntentRequest)(nil), // 7: google.cloud.dialogflow.cx.v3beta1.DeleteIntentRequest 1168 (*Intent_TrainingPhrase)(nil), // 8: google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase 1169 (*Intent_Parameter)(nil), // 9: google.cloud.dialogflow.cx.v3beta1.Intent.Parameter 1170 nil, // 10: google.cloud.dialogflow.cx.v3beta1.Intent.LabelsEntry 1171 (*Intent_TrainingPhrase_Part)(nil), // 11: google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase.Part 1172 (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask 1173 (*emptypb.Empty)(nil), // 13: google.protobuf.Empty 1174} 1175var file_google_cloud_dialogflow_cx_v3beta1_intent_proto_depIdxs = []int32{ 1176 8, // 0: google.cloud.dialogflow.cx.v3beta1.Intent.training_phrases:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase 1177 9, // 1: google.cloud.dialogflow.cx.v3beta1.Intent.parameters:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent.Parameter 1178 10, // 2: google.cloud.dialogflow.cx.v3beta1.Intent.labels:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent.LabelsEntry 1179 0, // 3: google.cloud.dialogflow.cx.v3beta1.ListIntentsRequest.intent_view:type_name -> google.cloud.dialogflow.cx.v3beta1.IntentView 1180 1, // 4: google.cloud.dialogflow.cx.v3beta1.ListIntentsResponse.intents:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent 1181 1, // 5: google.cloud.dialogflow.cx.v3beta1.CreateIntentRequest.intent:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent 1182 1, // 6: google.cloud.dialogflow.cx.v3beta1.UpdateIntentRequest.intent:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent 1183 12, // 7: google.cloud.dialogflow.cx.v3beta1.UpdateIntentRequest.update_mask:type_name -> google.protobuf.FieldMask 1184 11, // 8: google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase.parts:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase.Part 1185 2, // 9: google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents:input_type -> google.cloud.dialogflow.cx.v3beta1.ListIntentsRequest 1186 4, // 10: google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent:input_type -> google.cloud.dialogflow.cx.v3beta1.GetIntentRequest 1187 5, // 11: google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent:input_type -> google.cloud.dialogflow.cx.v3beta1.CreateIntentRequest 1188 6, // 12: google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent:input_type -> google.cloud.dialogflow.cx.v3beta1.UpdateIntentRequest 1189 7, // 13: google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent:input_type -> google.cloud.dialogflow.cx.v3beta1.DeleteIntentRequest 1190 3, // 14: google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents:output_type -> google.cloud.dialogflow.cx.v3beta1.ListIntentsResponse 1191 1, // 15: google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent:output_type -> google.cloud.dialogflow.cx.v3beta1.Intent 1192 1, // 16: google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent:output_type -> google.cloud.dialogflow.cx.v3beta1.Intent 1193 1, // 17: google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent:output_type -> google.cloud.dialogflow.cx.v3beta1.Intent 1194 13, // 18: google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent:output_type -> google.protobuf.Empty 1195 14, // [14:19] is the sub-list for method output_type 1196 9, // [9:14] is the sub-list for method input_type 1197 9, // [9:9] is the sub-list for extension type_name 1198 9, // [9:9] is the sub-list for extension extendee 1199 0, // [0:9] is the sub-list for field type_name 1200} 1201 1202func init() { file_google_cloud_dialogflow_cx_v3beta1_intent_proto_init() } 1203func file_google_cloud_dialogflow_cx_v3beta1_intent_proto_init() { 1204 if File_google_cloud_dialogflow_cx_v3beta1_intent_proto != nil { 1205 return 1206 } 1207 if !protoimpl.UnsafeEnabled { 1208 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1209 switch v := v.(*Intent); i { 1210 case 0: 1211 return &v.state 1212 case 1: 1213 return &v.sizeCache 1214 case 2: 1215 return &v.unknownFields 1216 default: 1217 return nil 1218 } 1219 } 1220 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1221 switch v := v.(*ListIntentsRequest); i { 1222 case 0: 1223 return &v.state 1224 case 1: 1225 return &v.sizeCache 1226 case 2: 1227 return &v.unknownFields 1228 default: 1229 return nil 1230 } 1231 } 1232 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1233 switch v := v.(*ListIntentsResponse); i { 1234 case 0: 1235 return &v.state 1236 case 1: 1237 return &v.sizeCache 1238 case 2: 1239 return &v.unknownFields 1240 default: 1241 return nil 1242 } 1243 } 1244 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1245 switch v := v.(*GetIntentRequest); i { 1246 case 0: 1247 return &v.state 1248 case 1: 1249 return &v.sizeCache 1250 case 2: 1251 return &v.unknownFields 1252 default: 1253 return nil 1254 } 1255 } 1256 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1257 switch v := v.(*CreateIntentRequest); i { 1258 case 0: 1259 return &v.state 1260 case 1: 1261 return &v.sizeCache 1262 case 2: 1263 return &v.unknownFields 1264 default: 1265 return nil 1266 } 1267 } 1268 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1269 switch v := v.(*UpdateIntentRequest); i { 1270 case 0: 1271 return &v.state 1272 case 1: 1273 return &v.sizeCache 1274 case 2: 1275 return &v.unknownFields 1276 default: 1277 return nil 1278 } 1279 } 1280 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1281 switch v := v.(*DeleteIntentRequest); i { 1282 case 0: 1283 return &v.state 1284 case 1: 1285 return &v.sizeCache 1286 case 2: 1287 return &v.unknownFields 1288 default: 1289 return nil 1290 } 1291 } 1292 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1293 switch v := v.(*Intent_TrainingPhrase); i { 1294 case 0: 1295 return &v.state 1296 case 1: 1297 return &v.sizeCache 1298 case 2: 1299 return &v.unknownFields 1300 default: 1301 return nil 1302 } 1303 } 1304 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1305 switch v := v.(*Intent_Parameter); i { 1306 case 0: 1307 return &v.state 1308 case 1: 1309 return &v.sizeCache 1310 case 2: 1311 return &v.unknownFields 1312 default: 1313 return nil 1314 } 1315 } 1316 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1317 switch v := v.(*Intent_TrainingPhrase_Part); i { 1318 case 0: 1319 return &v.state 1320 case 1: 1321 return &v.sizeCache 1322 case 2: 1323 return &v.unknownFields 1324 default: 1325 return nil 1326 } 1327 } 1328 } 1329 type x struct{} 1330 out := protoimpl.TypeBuilder{ 1331 File: protoimpl.DescBuilder{ 1332 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1333 RawDescriptor: file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDesc, 1334 NumEnums: 1, 1335 NumMessages: 11, 1336 NumExtensions: 0, 1337 NumServices: 1, 1338 }, 1339 GoTypes: file_google_cloud_dialogflow_cx_v3beta1_intent_proto_goTypes, 1340 DependencyIndexes: file_google_cloud_dialogflow_cx_v3beta1_intent_proto_depIdxs, 1341 EnumInfos: file_google_cloud_dialogflow_cx_v3beta1_intent_proto_enumTypes, 1342 MessageInfos: file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes, 1343 }.Build() 1344 File_google_cloud_dialogflow_cx_v3beta1_intent_proto = out.File 1345 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDesc = nil 1346 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_goTypes = nil 1347 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_depIdxs = nil 1348} 1349 1350// Reference imports to suppress errors if they are not otherwise used. 1351var _ context.Context 1352var _ grpc.ClientConnInterface 1353 1354// This is a compile-time assertion to ensure that this generated file 1355// is compatible with the grpc package it is being compiled against. 1356const _ = grpc.SupportPackageIsVersion6 1357 1358// IntentsClient is the client API for Intents service. 1359// 1360// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1361type IntentsClient interface { 1362 // Returns the list of all intents in the specified agent. 1363 ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) 1364 // Retrieves the specified intent. 1365 GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) 1366 // Creates an intent in the specified agent. 1367 // 1368 // Note: You should always train a flow prior to sending it queries. See the 1369 // [training 1370 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1371 CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) 1372 // Updates the specified intent. 1373 // 1374 // Note: You should always train a flow prior to sending it queries. See the 1375 // [training 1376 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1377 UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) 1378 // Deletes the specified intent. 1379 // 1380 // Note: You should always train a flow prior to sending it queries. See the 1381 // [training 1382 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1383 DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1384} 1385 1386type intentsClient struct { 1387 cc grpc.ClientConnInterface 1388} 1389 1390func NewIntentsClient(cc grpc.ClientConnInterface) IntentsClient { 1391 return &intentsClient{cc} 1392} 1393 1394func (c *intentsClient) ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) { 1395 out := new(ListIntentsResponse) 1396 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Intents/ListIntents", in, out, opts...) 1397 if err != nil { 1398 return nil, err 1399 } 1400 return out, nil 1401} 1402 1403func (c *intentsClient) GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 1404 out := new(Intent) 1405 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Intents/GetIntent", in, out, opts...) 1406 if err != nil { 1407 return nil, err 1408 } 1409 return out, nil 1410} 1411 1412func (c *intentsClient) CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 1413 out := new(Intent) 1414 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Intents/CreateIntent", in, out, opts...) 1415 if err != nil { 1416 return nil, err 1417 } 1418 return out, nil 1419} 1420 1421func (c *intentsClient) UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 1422 out := new(Intent) 1423 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Intents/UpdateIntent", in, out, opts...) 1424 if err != nil { 1425 return nil, err 1426 } 1427 return out, nil 1428} 1429 1430func (c *intentsClient) DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1431 out := new(emptypb.Empty) 1432 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Intents/DeleteIntent", in, out, opts...) 1433 if err != nil { 1434 return nil, err 1435 } 1436 return out, nil 1437} 1438 1439// IntentsServer is the server API for Intents service. 1440type IntentsServer interface { 1441 // Returns the list of all intents in the specified agent. 1442 ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) 1443 // Retrieves the specified intent. 1444 GetIntent(context.Context, *GetIntentRequest) (*Intent, error) 1445 // Creates an intent in the specified agent. 1446 // 1447 // Note: You should always train a flow prior to sending it queries. See the 1448 // [training 1449 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1450 CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) 1451 // Updates the specified intent. 1452 // 1453 // Note: You should always train a flow prior to sending it queries. See the 1454 // [training 1455 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1456 UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) 1457 // Deletes the specified intent. 1458 // 1459 // Note: You should always train a flow prior to sending it queries. See the 1460 // [training 1461 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1462 DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error) 1463} 1464 1465// UnimplementedIntentsServer can be embedded to have forward compatible implementations. 1466type UnimplementedIntentsServer struct { 1467} 1468 1469func (*UnimplementedIntentsServer) ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) { 1470 return nil, status.Errorf(codes.Unimplemented, "method ListIntents not implemented") 1471} 1472func (*UnimplementedIntentsServer) GetIntent(context.Context, *GetIntentRequest) (*Intent, error) { 1473 return nil, status.Errorf(codes.Unimplemented, "method GetIntent not implemented") 1474} 1475func (*UnimplementedIntentsServer) CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) { 1476 return nil, status.Errorf(codes.Unimplemented, "method CreateIntent not implemented") 1477} 1478func (*UnimplementedIntentsServer) UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) { 1479 return nil, status.Errorf(codes.Unimplemented, "method UpdateIntent not implemented") 1480} 1481func (*UnimplementedIntentsServer) DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error) { 1482 return nil, status.Errorf(codes.Unimplemented, "method DeleteIntent not implemented") 1483} 1484 1485func RegisterIntentsServer(s *grpc.Server, srv IntentsServer) { 1486 s.RegisterService(&_Intents_serviceDesc, srv) 1487} 1488 1489func _Intents_ListIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1490 in := new(ListIntentsRequest) 1491 if err := dec(in); err != nil { 1492 return nil, err 1493 } 1494 if interceptor == nil { 1495 return srv.(IntentsServer).ListIntents(ctx, in) 1496 } 1497 info := &grpc.UnaryServerInfo{ 1498 Server: srv, 1499 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Intents/ListIntents", 1500 } 1501 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1502 return srv.(IntentsServer).ListIntents(ctx, req.(*ListIntentsRequest)) 1503 } 1504 return interceptor(ctx, in, info, handler) 1505} 1506 1507func _Intents_GetIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1508 in := new(GetIntentRequest) 1509 if err := dec(in); err != nil { 1510 return nil, err 1511 } 1512 if interceptor == nil { 1513 return srv.(IntentsServer).GetIntent(ctx, in) 1514 } 1515 info := &grpc.UnaryServerInfo{ 1516 Server: srv, 1517 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Intents/GetIntent", 1518 } 1519 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1520 return srv.(IntentsServer).GetIntent(ctx, req.(*GetIntentRequest)) 1521 } 1522 return interceptor(ctx, in, info, handler) 1523} 1524 1525func _Intents_CreateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1526 in := new(CreateIntentRequest) 1527 if err := dec(in); err != nil { 1528 return nil, err 1529 } 1530 if interceptor == nil { 1531 return srv.(IntentsServer).CreateIntent(ctx, in) 1532 } 1533 info := &grpc.UnaryServerInfo{ 1534 Server: srv, 1535 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Intents/CreateIntent", 1536 } 1537 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1538 return srv.(IntentsServer).CreateIntent(ctx, req.(*CreateIntentRequest)) 1539 } 1540 return interceptor(ctx, in, info, handler) 1541} 1542 1543func _Intents_UpdateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1544 in := new(UpdateIntentRequest) 1545 if err := dec(in); err != nil { 1546 return nil, err 1547 } 1548 if interceptor == nil { 1549 return srv.(IntentsServer).UpdateIntent(ctx, in) 1550 } 1551 info := &grpc.UnaryServerInfo{ 1552 Server: srv, 1553 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Intents/UpdateIntent", 1554 } 1555 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1556 return srv.(IntentsServer).UpdateIntent(ctx, req.(*UpdateIntentRequest)) 1557 } 1558 return interceptor(ctx, in, info, handler) 1559} 1560 1561func _Intents_DeleteIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1562 in := new(DeleteIntentRequest) 1563 if err := dec(in); err != nil { 1564 return nil, err 1565 } 1566 if interceptor == nil { 1567 return srv.(IntentsServer).DeleteIntent(ctx, in) 1568 } 1569 info := &grpc.UnaryServerInfo{ 1570 Server: srv, 1571 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Intents/DeleteIntent", 1572 } 1573 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1574 return srv.(IntentsServer).DeleteIntent(ctx, req.(*DeleteIntentRequest)) 1575 } 1576 return interceptor(ctx, in, info, handler) 1577} 1578 1579var _Intents_serviceDesc = grpc.ServiceDesc{ 1580 ServiceName: "google.cloud.dialogflow.cx.v3beta1.Intents", 1581 HandlerType: (*IntentsServer)(nil), 1582 Methods: []grpc.MethodDesc{ 1583 { 1584 MethodName: "ListIntents", 1585 Handler: _Intents_ListIntents_Handler, 1586 }, 1587 { 1588 MethodName: "GetIntent", 1589 Handler: _Intents_GetIntent_Handler, 1590 }, 1591 { 1592 MethodName: "CreateIntent", 1593 Handler: _Intents_CreateIntent_Handler, 1594 }, 1595 { 1596 MethodName: "UpdateIntent", 1597 Handler: _Intents_UpdateIntent_Handler, 1598 }, 1599 { 1600 MethodName: "DeleteIntent", 1601 Handler: _Intents_DeleteIntent_Handler, 1602 }, 1603 }, 1604 Streams: []grpc.StreamDesc{}, 1605 Metadata: "google/cloud/dialogflow/cx/v3beta1/intent.proto", 1606} 1607