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/v3/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_v3_intent_proto_enumTypes[0].Descriptor() 87} 88 89func (IntentView) Type() protoreflect.EnumType { 90 return &file_google_cloud_dialogflow_cx_v3_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_v3_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.v3.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.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_v3_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_v3_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_v3_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.v3.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.v3.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_v3_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_v3_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_v3_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.v3.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_v3_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_v3_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_v3_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.v3.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_v3_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_v3_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_v3_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.v3.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_v3_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_v3_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_v3_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.v3.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_v3_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_v3_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_v3_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.v3.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_v3_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_v3_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_v3_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.v3.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_v3_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_v3_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_v3_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.v3.Intent.TrainingPhrase] to annotate their 767 // [parts][google.cloud.dialogflow.cx.v3.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.v3.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_v3_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_v3_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_v3_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.v3.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_v3_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_v3_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_v3_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_v3_intent_proto protoreflect.FileDescriptor 908 909var file_google_cloud_dialogflow_cx_v3_intent_proto_rawDesc = []byte{ 910 0x0a, 0x2a, 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, 0x2f, 912 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 913 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 914 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 915 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 916 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 917 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 918 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 919 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 920 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 921 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 922 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 923 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 924 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 925 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 926 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 927 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 928 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 929 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 930 0x6f, 0x74, 0x6f, 0x22, 0xce, 0x07, 0x0a, 0x06, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 931 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 932 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 933 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 934 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x74, 0x72, 935 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x18, 0x03, 936 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 937 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 938 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x69, 939 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x69, 940 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0a, 0x70, 941 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 942 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 943 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 944 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 945 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 946 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 947 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, 948 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 949 0x73, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x49, 0x0a, 0x06, 0x6c, 0x61, 0x62, 950 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 951 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 952 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 953 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 954 0x62, 0x65, 0x6c, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 955 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 956 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xdd, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x69, 0x6e, 957 0x69, 0x6e, 0x67, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 958 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x54, 0x0a, 0x05, 0x70, 0x61, 0x72, 959 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 960 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 961 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 962 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x2e, 0x50, 963 0x61, 0x72, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x12, 964 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 965 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x43, 0x6f, 0x75, 966 0x6e, 0x74, 0x1a, 0x42, 0x0a, 0x04, 0x50, 0x61, 0x72, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x74, 0x65, 967 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 968 0x65, 0x78, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 969 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6d, 970 0x65, 0x74, 0x65, 0x72, 0x49, 0x64, 0x1a, 0xa0, 0x01, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 971 0x65, 0x74, 0x65, 0x72, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 972 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02, 0x69, 0x64, 0x12, 0x4d, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 973 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 974 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 975 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 976 0x6d, 0x2f, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x65, 0x6e, 977 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6c, 978 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4c, 0x69, 0x73, 979 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 980 0x08, 0x52, 0x06, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 981 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 982 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 983 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 984 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x6e, 0xea, 0x41, 0x6b, 0x0a, 0x20, 0x64, 0x69, 0x61, 0x6c, 0x6f, 985 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 986 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x70, 0x72, 0x6f, 987 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 988 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 989 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x67, 0x65, 990 0x6e, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x74, 991 0x65, 0x6e, 0x74, 0x7d, 0x22, 0x83, 0x02, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 992 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x70, 993 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 994 0xfa, 0x41, 0x22, 0x12, 0x20, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 995 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 996 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 997 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 998 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 999 0x64, 0x65, 0x12, 0x4a, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x69, 0x65, 1000 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1001 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1002 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x69, 1003 0x65, 0x77, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x65, 0x77, 0x12, 0x1b, 1004 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 1005 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 1006 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 1007 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7e, 0x0a, 0x13, 0x4c, 0x69, 1008 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1009 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 1010 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1011 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 1012 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x69, 0x6e, 0x74, 0x65, 0x6e, 1013 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 1014 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 1015 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x75, 0x0a, 0x10, 0x47, 0x65, 1016 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 1017 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 1018 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 1019 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 1020 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 1021 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 1022 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 1023 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 1024 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 1025 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 1026 0x22, 0x12, 0x20, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 1027 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x74, 1028 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x69, 1029 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 1030 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 1031 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x65, 1032 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 1033 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 1034 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 1035 0x43, 0x6f, 0x64, 0x65, 0x22, 0xbb, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 1036 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 1037 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 1038 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 1039 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 1040 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 1041 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 1042 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 1043 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 1044 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 1045 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 1046 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 1047 0x73, 0x6b, 0x22, 0x53, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 1048 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 1049 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 1050 0x20, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1051 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x74, 0x65, 0x6e, 1052 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x2a, 0x58, 0x0a, 0x0a, 0x49, 0x6e, 0x74, 0x65, 0x6e, 1053 0x74, 0x56, 0x69, 0x65, 0x77, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 1054 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 1055 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x45, 1056 0x57, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x49, 1057 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 1058 0x02, 0x32, 0x9e, 0x08, 0x0a, 0x07, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0xbb, 0x01, 1059 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x31, 0x2e, 1060 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 1061 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 1062 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1063 0x1a, 0x32, 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 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 1066 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 1067 0x33, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 1068 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 1069 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 1070 0x74, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xa8, 0x01, 0x0a, 0x09, 1071 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1072 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 1073 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 1074 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 1075 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1076 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 1077 0x74, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 1078 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 1079 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 1080 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 1081 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xbf, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 1082 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1083 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1084 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 1085 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x6f, 1086 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 1087 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x65, 1088 0x6e, 0x74, 0x22, 0x54, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x22, 0x34, 0x2f, 0x76, 0x33, 0x2f, 1089 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 1090 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 1091 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 1092 0x3a, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0xda, 0x41, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 1093 0x74, 0x2c, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0xcb, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 1094 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1095 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 1096 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 1097 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 1098 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 1099 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 1100 0x74, 0x65, 0x6e, 0x74, 0x22, 0x60, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x32, 0x3b, 0x2f, 0x76, 1101 0x33, 0x2f, 0x7b, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 1102 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 1103 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 1104 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 1105 0x74, 0xda, 0x41, 0x12, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 1106 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x9f, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 1107 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1108 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1109 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 1110 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 1111 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 1112 0x70, 0x74, 0x79, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x2a, 0x34, 0x2f, 0x76, 0x33, 1113 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 1114 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 1115 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 1116 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x78, 0xca, 0x41, 0x19, 0x64, 0x69, 0x61, 1117 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 1118 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x59, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 1119 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 1120 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 1121 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 1122 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1123 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 1124 0x6f, 0x77, 0x42, 0xbf, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1125 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 1126 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x42, 0x0b, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 1127 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1128 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 1129 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 1130 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 1131 0x63, 0x78, 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x78, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 0x46, 1132 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1133 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x78, 0x2e, 0x56, 0x33, 1134 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 1135 0x3a, 0x3a, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x3a, 0x3a, 0x43, 0x58, 1136 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1137} 1138 1139var ( 1140 file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescOnce sync.Once 1141 file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescData = file_google_cloud_dialogflow_cx_v3_intent_proto_rawDesc 1142) 1143 1144func file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescGZIP() []byte { 1145 file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescOnce.Do(func() { 1146 file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescData) 1147 }) 1148 return file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescData 1149} 1150 1151var file_google_cloud_dialogflow_cx_v3_intent_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1152var file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 1153var file_google_cloud_dialogflow_cx_v3_intent_proto_goTypes = []interface{}{ 1154 (IntentView)(0), // 0: google.cloud.dialogflow.cx.v3.IntentView 1155 (*Intent)(nil), // 1: google.cloud.dialogflow.cx.v3.Intent 1156 (*ListIntentsRequest)(nil), // 2: google.cloud.dialogflow.cx.v3.ListIntentsRequest 1157 (*ListIntentsResponse)(nil), // 3: google.cloud.dialogflow.cx.v3.ListIntentsResponse 1158 (*GetIntentRequest)(nil), // 4: google.cloud.dialogflow.cx.v3.GetIntentRequest 1159 (*CreateIntentRequest)(nil), // 5: google.cloud.dialogflow.cx.v3.CreateIntentRequest 1160 (*UpdateIntentRequest)(nil), // 6: google.cloud.dialogflow.cx.v3.UpdateIntentRequest 1161 (*DeleteIntentRequest)(nil), // 7: google.cloud.dialogflow.cx.v3.DeleteIntentRequest 1162 (*Intent_TrainingPhrase)(nil), // 8: google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase 1163 (*Intent_Parameter)(nil), // 9: google.cloud.dialogflow.cx.v3.Intent.Parameter 1164 nil, // 10: google.cloud.dialogflow.cx.v3.Intent.LabelsEntry 1165 (*Intent_TrainingPhrase_Part)(nil), // 11: google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part 1166 (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask 1167 (*emptypb.Empty)(nil), // 13: google.protobuf.Empty 1168} 1169var file_google_cloud_dialogflow_cx_v3_intent_proto_depIdxs = []int32{ 1170 8, // 0: google.cloud.dialogflow.cx.v3.Intent.training_phrases:type_name -> google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase 1171 9, // 1: google.cloud.dialogflow.cx.v3.Intent.parameters:type_name -> google.cloud.dialogflow.cx.v3.Intent.Parameter 1172 10, // 2: google.cloud.dialogflow.cx.v3.Intent.labels:type_name -> google.cloud.dialogflow.cx.v3.Intent.LabelsEntry 1173 0, // 3: google.cloud.dialogflow.cx.v3.ListIntentsRequest.intent_view:type_name -> google.cloud.dialogflow.cx.v3.IntentView 1174 1, // 4: google.cloud.dialogflow.cx.v3.ListIntentsResponse.intents:type_name -> google.cloud.dialogflow.cx.v3.Intent 1175 1, // 5: google.cloud.dialogflow.cx.v3.CreateIntentRequest.intent:type_name -> google.cloud.dialogflow.cx.v3.Intent 1176 1, // 6: google.cloud.dialogflow.cx.v3.UpdateIntentRequest.intent:type_name -> google.cloud.dialogflow.cx.v3.Intent 1177 12, // 7: google.cloud.dialogflow.cx.v3.UpdateIntentRequest.update_mask:type_name -> google.protobuf.FieldMask 1178 11, // 8: google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.parts:type_name -> google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part 1179 2, // 9: google.cloud.dialogflow.cx.v3.Intents.ListIntents:input_type -> google.cloud.dialogflow.cx.v3.ListIntentsRequest 1180 4, // 10: google.cloud.dialogflow.cx.v3.Intents.GetIntent:input_type -> google.cloud.dialogflow.cx.v3.GetIntentRequest 1181 5, // 11: google.cloud.dialogflow.cx.v3.Intents.CreateIntent:input_type -> google.cloud.dialogflow.cx.v3.CreateIntentRequest 1182 6, // 12: google.cloud.dialogflow.cx.v3.Intents.UpdateIntent:input_type -> google.cloud.dialogflow.cx.v3.UpdateIntentRequest 1183 7, // 13: google.cloud.dialogflow.cx.v3.Intents.DeleteIntent:input_type -> google.cloud.dialogflow.cx.v3.DeleteIntentRequest 1184 3, // 14: google.cloud.dialogflow.cx.v3.Intents.ListIntents:output_type -> google.cloud.dialogflow.cx.v3.ListIntentsResponse 1185 1, // 15: google.cloud.dialogflow.cx.v3.Intents.GetIntent:output_type -> google.cloud.dialogflow.cx.v3.Intent 1186 1, // 16: google.cloud.dialogflow.cx.v3.Intents.CreateIntent:output_type -> google.cloud.dialogflow.cx.v3.Intent 1187 1, // 17: google.cloud.dialogflow.cx.v3.Intents.UpdateIntent:output_type -> google.cloud.dialogflow.cx.v3.Intent 1188 13, // 18: google.cloud.dialogflow.cx.v3.Intents.DeleteIntent:output_type -> google.protobuf.Empty 1189 14, // [14:19] is the sub-list for method output_type 1190 9, // [9:14] is the sub-list for method input_type 1191 9, // [9:9] is the sub-list for extension type_name 1192 9, // [9:9] is the sub-list for extension extendee 1193 0, // [0:9] is the sub-list for field type_name 1194} 1195 1196func init() { file_google_cloud_dialogflow_cx_v3_intent_proto_init() } 1197func file_google_cloud_dialogflow_cx_v3_intent_proto_init() { 1198 if File_google_cloud_dialogflow_cx_v3_intent_proto != nil { 1199 return 1200 } 1201 if !protoimpl.UnsafeEnabled { 1202 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1203 switch v := v.(*Intent); i { 1204 case 0: 1205 return &v.state 1206 case 1: 1207 return &v.sizeCache 1208 case 2: 1209 return &v.unknownFields 1210 default: 1211 return nil 1212 } 1213 } 1214 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1215 switch v := v.(*ListIntentsRequest); i { 1216 case 0: 1217 return &v.state 1218 case 1: 1219 return &v.sizeCache 1220 case 2: 1221 return &v.unknownFields 1222 default: 1223 return nil 1224 } 1225 } 1226 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1227 switch v := v.(*ListIntentsResponse); i { 1228 case 0: 1229 return &v.state 1230 case 1: 1231 return &v.sizeCache 1232 case 2: 1233 return &v.unknownFields 1234 default: 1235 return nil 1236 } 1237 } 1238 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1239 switch v := v.(*GetIntentRequest); i { 1240 case 0: 1241 return &v.state 1242 case 1: 1243 return &v.sizeCache 1244 case 2: 1245 return &v.unknownFields 1246 default: 1247 return nil 1248 } 1249 } 1250 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1251 switch v := v.(*CreateIntentRequest); i { 1252 case 0: 1253 return &v.state 1254 case 1: 1255 return &v.sizeCache 1256 case 2: 1257 return &v.unknownFields 1258 default: 1259 return nil 1260 } 1261 } 1262 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1263 switch v := v.(*UpdateIntentRequest); i { 1264 case 0: 1265 return &v.state 1266 case 1: 1267 return &v.sizeCache 1268 case 2: 1269 return &v.unknownFields 1270 default: 1271 return nil 1272 } 1273 } 1274 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1275 switch v := v.(*DeleteIntentRequest); i { 1276 case 0: 1277 return &v.state 1278 case 1: 1279 return &v.sizeCache 1280 case 2: 1281 return &v.unknownFields 1282 default: 1283 return nil 1284 } 1285 } 1286 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1287 switch v := v.(*Intent_TrainingPhrase); i { 1288 case 0: 1289 return &v.state 1290 case 1: 1291 return &v.sizeCache 1292 case 2: 1293 return &v.unknownFields 1294 default: 1295 return nil 1296 } 1297 } 1298 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1299 switch v := v.(*Intent_Parameter); i { 1300 case 0: 1301 return &v.state 1302 case 1: 1303 return &v.sizeCache 1304 case 2: 1305 return &v.unknownFields 1306 default: 1307 return nil 1308 } 1309 } 1310 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1311 switch v := v.(*Intent_TrainingPhrase_Part); i { 1312 case 0: 1313 return &v.state 1314 case 1: 1315 return &v.sizeCache 1316 case 2: 1317 return &v.unknownFields 1318 default: 1319 return nil 1320 } 1321 } 1322 } 1323 type x struct{} 1324 out := protoimpl.TypeBuilder{ 1325 File: protoimpl.DescBuilder{ 1326 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1327 RawDescriptor: file_google_cloud_dialogflow_cx_v3_intent_proto_rawDesc, 1328 NumEnums: 1, 1329 NumMessages: 11, 1330 NumExtensions: 0, 1331 NumServices: 1, 1332 }, 1333 GoTypes: file_google_cloud_dialogflow_cx_v3_intent_proto_goTypes, 1334 DependencyIndexes: file_google_cloud_dialogflow_cx_v3_intent_proto_depIdxs, 1335 EnumInfos: file_google_cloud_dialogflow_cx_v3_intent_proto_enumTypes, 1336 MessageInfos: file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes, 1337 }.Build() 1338 File_google_cloud_dialogflow_cx_v3_intent_proto = out.File 1339 file_google_cloud_dialogflow_cx_v3_intent_proto_rawDesc = nil 1340 file_google_cloud_dialogflow_cx_v3_intent_proto_goTypes = nil 1341 file_google_cloud_dialogflow_cx_v3_intent_proto_depIdxs = nil 1342} 1343 1344// Reference imports to suppress errors if they are not otherwise used. 1345var _ context.Context 1346var _ grpc.ClientConnInterface 1347 1348// This is a compile-time assertion to ensure that this generated file 1349// is compatible with the grpc package it is being compiled against. 1350const _ = grpc.SupportPackageIsVersion6 1351 1352// IntentsClient is the client API for Intents service. 1353// 1354// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1355type IntentsClient interface { 1356 // Returns the list of all intents in the specified agent. 1357 ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) 1358 // Retrieves the specified intent. 1359 GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) 1360 // Creates an intent in the specified agent. 1361 // 1362 // Note: You should always train a flow prior to sending it queries. See the 1363 // [training 1364 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1365 CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) 1366 // Updates the specified intent. 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 UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) 1372 // Deletes 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 DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1378} 1379 1380type intentsClient struct { 1381 cc grpc.ClientConnInterface 1382} 1383 1384func NewIntentsClient(cc grpc.ClientConnInterface) IntentsClient { 1385 return &intentsClient{cc} 1386} 1387 1388func (c *intentsClient) ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) { 1389 out := new(ListIntentsResponse) 1390 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Intents/ListIntents", in, out, opts...) 1391 if err != nil { 1392 return nil, err 1393 } 1394 return out, nil 1395} 1396 1397func (c *intentsClient) GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 1398 out := new(Intent) 1399 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Intents/GetIntent", in, out, opts...) 1400 if err != nil { 1401 return nil, err 1402 } 1403 return out, nil 1404} 1405 1406func (c *intentsClient) CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 1407 out := new(Intent) 1408 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Intents/CreateIntent", in, out, opts...) 1409 if err != nil { 1410 return nil, err 1411 } 1412 return out, nil 1413} 1414 1415func (c *intentsClient) UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 1416 out := new(Intent) 1417 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Intents/UpdateIntent", in, out, opts...) 1418 if err != nil { 1419 return nil, err 1420 } 1421 return out, nil 1422} 1423 1424func (c *intentsClient) DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1425 out := new(emptypb.Empty) 1426 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Intents/DeleteIntent", in, out, opts...) 1427 if err != nil { 1428 return nil, err 1429 } 1430 return out, nil 1431} 1432 1433// IntentsServer is the server API for Intents service. 1434type IntentsServer interface { 1435 // Returns the list of all intents in the specified agent. 1436 ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) 1437 // Retrieves the specified intent. 1438 GetIntent(context.Context, *GetIntentRequest) (*Intent, error) 1439 // Creates an intent in the specified agent. 1440 // 1441 // Note: You should always train a flow prior to sending it queries. See the 1442 // [training 1443 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1444 CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) 1445 // Updates the specified intent. 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 UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) 1451 // Deletes 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 DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error) 1457} 1458 1459// UnimplementedIntentsServer can be embedded to have forward compatible implementations. 1460type UnimplementedIntentsServer struct { 1461} 1462 1463func (*UnimplementedIntentsServer) ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) { 1464 return nil, status.Errorf(codes.Unimplemented, "method ListIntents not implemented") 1465} 1466func (*UnimplementedIntentsServer) GetIntent(context.Context, *GetIntentRequest) (*Intent, error) { 1467 return nil, status.Errorf(codes.Unimplemented, "method GetIntent not implemented") 1468} 1469func (*UnimplementedIntentsServer) CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) { 1470 return nil, status.Errorf(codes.Unimplemented, "method CreateIntent not implemented") 1471} 1472func (*UnimplementedIntentsServer) UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) { 1473 return nil, status.Errorf(codes.Unimplemented, "method UpdateIntent not implemented") 1474} 1475func (*UnimplementedIntentsServer) DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error) { 1476 return nil, status.Errorf(codes.Unimplemented, "method DeleteIntent not implemented") 1477} 1478 1479func RegisterIntentsServer(s *grpc.Server, srv IntentsServer) { 1480 s.RegisterService(&_Intents_serviceDesc, srv) 1481} 1482 1483func _Intents_ListIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1484 in := new(ListIntentsRequest) 1485 if err := dec(in); err != nil { 1486 return nil, err 1487 } 1488 if interceptor == nil { 1489 return srv.(IntentsServer).ListIntents(ctx, in) 1490 } 1491 info := &grpc.UnaryServerInfo{ 1492 Server: srv, 1493 FullMethod: "/google.cloud.dialogflow.cx.v3.Intents/ListIntents", 1494 } 1495 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1496 return srv.(IntentsServer).ListIntents(ctx, req.(*ListIntentsRequest)) 1497 } 1498 return interceptor(ctx, in, info, handler) 1499} 1500 1501func _Intents_GetIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1502 in := new(GetIntentRequest) 1503 if err := dec(in); err != nil { 1504 return nil, err 1505 } 1506 if interceptor == nil { 1507 return srv.(IntentsServer).GetIntent(ctx, in) 1508 } 1509 info := &grpc.UnaryServerInfo{ 1510 Server: srv, 1511 FullMethod: "/google.cloud.dialogflow.cx.v3.Intents/GetIntent", 1512 } 1513 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1514 return srv.(IntentsServer).GetIntent(ctx, req.(*GetIntentRequest)) 1515 } 1516 return interceptor(ctx, in, info, handler) 1517} 1518 1519func _Intents_CreateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1520 in := new(CreateIntentRequest) 1521 if err := dec(in); err != nil { 1522 return nil, err 1523 } 1524 if interceptor == nil { 1525 return srv.(IntentsServer).CreateIntent(ctx, in) 1526 } 1527 info := &grpc.UnaryServerInfo{ 1528 Server: srv, 1529 FullMethod: "/google.cloud.dialogflow.cx.v3.Intents/CreateIntent", 1530 } 1531 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1532 return srv.(IntentsServer).CreateIntent(ctx, req.(*CreateIntentRequest)) 1533 } 1534 return interceptor(ctx, in, info, handler) 1535} 1536 1537func _Intents_UpdateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1538 in := new(UpdateIntentRequest) 1539 if err := dec(in); err != nil { 1540 return nil, err 1541 } 1542 if interceptor == nil { 1543 return srv.(IntentsServer).UpdateIntent(ctx, in) 1544 } 1545 info := &grpc.UnaryServerInfo{ 1546 Server: srv, 1547 FullMethod: "/google.cloud.dialogflow.cx.v3.Intents/UpdateIntent", 1548 } 1549 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1550 return srv.(IntentsServer).UpdateIntent(ctx, req.(*UpdateIntentRequest)) 1551 } 1552 return interceptor(ctx, in, info, handler) 1553} 1554 1555func _Intents_DeleteIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1556 in := new(DeleteIntentRequest) 1557 if err := dec(in); err != nil { 1558 return nil, err 1559 } 1560 if interceptor == nil { 1561 return srv.(IntentsServer).DeleteIntent(ctx, in) 1562 } 1563 info := &grpc.UnaryServerInfo{ 1564 Server: srv, 1565 FullMethod: "/google.cloud.dialogflow.cx.v3.Intents/DeleteIntent", 1566 } 1567 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1568 return srv.(IntentsServer).DeleteIntent(ctx, req.(*DeleteIntentRequest)) 1569 } 1570 return interceptor(ctx, in, info, handler) 1571} 1572 1573var _Intents_serviceDesc = grpc.ServiceDesc{ 1574 ServiceName: "google.cloud.dialogflow.cx.v3.Intents", 1575 HandlerType: (*IntentsServer)(nil), 1576 Methods: []grpc.MethodDesc{ 1577 { 1578 MethodName: "ListIntents", 1579 Handler: _Intents_ListIntents_Handler, 1580 }, 1581 { 1582 MethodName: "GetIntent", 1583 Handler: _Intents_GetIntent_Handler, 1584 }, 1585 { 1586 MethodName: "CreateIntent", 1587 Handler: _Intents_CreateIntent_Handler, 1588 }, 1589 { 1590 MethodName: "UpdateIntent", 1591 Handler: _Intents_UpdateIntent_Handler, 1592 }, 1593 { 1594 MethodName: "DeleteIntent", 1595 Handler: _Intents_DeleteIntent_Handler, 1596 }, 1597 }, 1598 Streams: []grpc.StreamDesc{}, 1599 Metadata: "google/cloud/dialogflow/cx/v3/intent.proto", 1600} 1601