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, 0x9b, 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 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1135} 1136 1137var ( 1138 file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescOnce sync.Once 1139 file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescData = file_google_cloud_dialogflow_cx_v3_intent_proto_rawDesc 1140) 1141 1142func file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescGZIP() []byte { 1143 file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescOnce.Do(func() { 1144 file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescData) 1145 }) 1146 return file_google_cloud_dialogflow_cx_v3_intent_proto_rawDescData 1147} 1148 1149var file_google_cloud_dialogflow_cx_v3_intent_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1150var file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 1151var file_google_cloud_dialogflow_cx_v3_intent_proto_goTypes = []interface{}{ 1152 (IntentView)(0), // 0: google.cloud.dialogflow.cx.v3.IntentView 1153 (*Intent)(nil), // 1: google.cloud.dialogflow.cx.v3.Intent 1154 (*ListIntentsRequest)(nil), // 2: google.cloud.dialogflow.cx.v3.ListIntentsRequest 1155 (*ListIntentsResponse)(nil), // 3: google.cloud.dialogflow.cx.v3.ListIntentsResponse 1156 (*GetIntentRequest)(nil), // 4: google.cloud.dialogflow.cx.v3.GetIntentRequest 1157 (*CreateIntentRequest)(nil), // 5: google.cloud.dialogflow.cx.v3.CreateIntentRequest 1158 (*UpdateIntentRequest)(nil), // 6: google.cloud.dialogflow.cx.v3.UpdateIntentRequest 1159 (*DeleteIntentRequest)(nil), // 7: google.cloud.dialogflow.cx.v3.DeleteIntentRequest 1160 (*Intent_TrainingPhrase)(nil), // 8: google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase 1161 (*Intent_Parameter)(nil), // 9: google.cloud.dialogflow.cx.v3.Intent.Parameter 1162 nil, // 10: google.cloud.dialogflow.cx.v3.Intent.LabelsEntry 1163 (*Intent_TrainingPhrase_Part)(nil), // 11: google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part 1164 (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask 1165 (*emptypb.Empty)(nil), // 13: google.protobuf.Empty 1166} 1167var file_google_cloud_dialogflow_cx_v3_intent_proto_depIdxs = []int32{ 1168 8, // 0: google.cloud.dialogflow.cx.v3.Intent.training_phrases:type_name -> google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase 1169 9, // 1: google.cloud.dialogflow.cx.v3.Intent.parameters:type_name -> google.cloud.dialogflow.cx.v3.Intent.Parameter 1170 10, // 2: google.cloud.dialogflow.cx.v3.Intent.labels:type_name -> google.cloud.dialogflow.cx.v3.Intent.LabelsEntry 1171 0, // 3: google.cloud.dialogflow.cx.v3.ListIntentsRequest.intent_view:type_name -> google.cloud.dialogflow.cx.v3.IntentView 1172 1, // 4: google.cloud.dialogflow.cx.v3.ListIntentsResponse.intents:type_name -> google.cloud.dialogflow.cx.v3.Intent 1173 1, // 5: google.cloud.dialogflow.cx.v3.CreateIntentRequest.intent:type_name -> google.cloud.dialogflow.cx.v3.Intent 1174 1, // 6: google.cloud.dialogflow.cx.v3.UpdateIntentRequest.intent:type_name -> google.cloud.dialogflow.cx.v3.Intent 1175 12, // 7: google.cloud.dialogflow.cx.v3.UpdateIntentRequest.update_mask:type_name -> google.protobuf.FieldMask 1176 11, // 8: google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.parts:type_name -> google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part 1177 2, // 9: google.cloud.dialogflow.cx.v3.Intents.ListIntents:input_type -> google.cloud.dialogflow.cx.v3.ListIntentsRequest 1178 4, // 10: google.cloud.dialogflow.cx.v3.Intents.GetIntent:input_type -> google.cloud.dialogflow.cx.v3.GetIntentRequest 1179 5, // 11: google.cloud.dialogflow.cx.v3.Intents.CreateIntent:input_type -> google.cloud.dialogflow.cx.v3.CreateIntentRequest 1180 6, // 12: google.cloud.dialogflow.cx.v3.Intents.UpdateIntent:input_type -> google.cloud.dialogflow.cx.v3.UpdateIntentRequest 1181 7, // 13: google.cloud.dialogflow.cx.v3.Intents.DeleteIntent:input_type -> google.cloud.dialogflow.cx.v3.DeleteIntentRequest 1182 3, // 14: google.cloud.dialogflow.cx.v3.Intents.ListIntents:output_type -> google.cloud.dialogflow.cx.v3.ListIntentsResponse 1183 1, // 15: google.cloud.dialogflow.cx.v3.Intents.GetIntent:output_type -> google.cloud.dialogflow.cx.v3.Intent 1184 1, // 16: google.cloud.dialogflow.cx.v3.Intents.CreateIntent:output_type -> google.cloud.dialogflow.cx.v3.Intent 1185 1, // 17: google.cloud.dialogflow.cx.v3.Intents.UpdateIntent:output_type -> google.cloud.dialogflow.cx.v3.Intent 1186 13, // 18: google.cloud.dialogflow.cx.v3.Intents.DeleteIntent:output_type -> google.protobuf.Empty 1187 14, // [14:19] is the sub-list for method output_type 1188 9, // [9:14] is the sub-list for method input_type 1189 9, // [9:9] is the sub-list for extension type_name 1190 9, // [9:9] is the sub-list for extension extendee 1191 0, // [0:9] is the sub-list for field type_name 1192} 1193 1194func init() { file_google_cloud_dialogflow_cx_v3_intent_proto_init() } 1195func file_google_cloud_dialogflow_cx_v3_intent_proto_init() { 1196 if File_google_cloud_dialogflow_cx_v3_intent_proto != nil { 1197 return 1198 } 1199 if !protoimpl.UnsafeEnabled { 1200 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1201 switch v := v.(*Intent); i { 1202 case 0: 1203 return &v.state 1204 case 1: 1205 return &v.sizeCache 1206 case 2: 1207 return &v.unknownFields 1208 default: 1209 return nil 1210 } 1211 } 1212 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1213 switch v := v.(*ListIntentsRequest); i { 1214 case 0: 1215 return &v.state 1216 case 1: 1217 return &v.sizeCache 1218 case 2: 1219 return &v.unknownFields 1220 default: 1221 return nil 1222 } 1223 } 1224 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1225 switch v := v.(*ListIntentsResponse); i { 1226 case 0: 1227 return &v.state 1228 case 1: 1229 return &v.sizeCache 1230 case 2: 1231 return &v.unknownFields 1232 default: 1233 return nil 1234 } 1235 } 1236 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1237 switch v := v.(*GetIntentRequest); i { 1238 case 0: 1239 return &v.state 1240 case 1: 1241 return &v.sizeCache 1242 case 2: 1243 return &v.unknownFields 1244 default: 1245 return nil 1246 } 1247 } 1248 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1249 switch v := v.(*CreateIntentRequest); i { 1250 case 0: 1251 return &v.state 1252 case 1: 1253 return &v.sizeCache 1254 case 2: 1255 return &v.unknownFields 1256 default: 1257 return nil 1258 } 1259 } 1260 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1261 switch v := v.(*UpdateIntentRequest); i { 1262 case 0: 1263 return &v.state 1264 case 1: 1265 return &v.sizeCache 1266 case 2: 1267 return &v.unknownFields 1268 default: 1269 return nil 1270 } 1271 } 1272 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1273 switch v := v.(*DeleteIntentRequest); i { 1274 case 0: 1275 return &v.state 1276 case 1: 1277 return &v.sizeCache 1278 case 2: 1279 return &v.unknownFields 1280 default: 1281 return nil 1282 } 1283 } 1284 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1285 switch v := v.(*Intent_TrainingPhrase); i { 1286 case 0: 1287 return &v.state 1288 case 1: 1289 return &v.sizeCache 1290 case 2: 1291 return &v.unknownFields 1292 default: 1293 return nil 1294 } 1295 } 1296 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1297 switch v := v.(*Intent_Parameter); i { 1298 case 0: 1299 return &v.state 1300 case 1: 1301 return &v.sizeCache 1302 case 2: 1303 return &v.unknownFields 1304 default: 1305 return nil 1306 } 1307 } 1308 file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1309 switch v := v.(*Intent_TrainingPhrase_Part); i { 1310 case 0: 1311 return &v.state 1312 case 1: 1313 return &v.sizeCache 1314 case 2: 1315 return &v.unknownFields 1316 default: 1317 return nil 1318 } 1319 } 1320 } 1321 type x struct{} 1322 out := protoimpl.TypeBuilder{ 1323 File: protoimpl.DescBuilder{ 1324 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1325 RawDescriptor: file_google_cloud_dialogflow_cx_v3_intent_proto_rawDesc, 1326 NumEnums: 1, 1327 NumMessages: 11, 1328 NumExtensions: 0, 1329 NumServices: 1, 1330 }, 1331 GoTypes: file_google_cloud_dialogflow_cx_v3_intent_proto_goTypes, 1332 DependencyIndexes: file_google_cloud_dialogflow_cx_v3_intent_proto_depIdxs, 1333 EnumInfos: file_google_cloud_dialogflow_cx_v3_intent_proto_enumTypes, 1334 MessageInfos: file_google_cloud_dialogflow_cx_v3_intent_proto_msgTypes, 1335 }.Build() 1336 File_google_cloud_dialogflow_cx_v3_intent_proto = out.File 1337 file_google_cloud_dialogflow_cx_v3_intent_proto_rawDesc = nil 1338 file_google_cloud_dialogflow_cx_v3_intent_proto_goTypes = nil 1339 file_google_cloud_dialogflow_cx_v3_intent_proto_depIdxs = nil 1340} 1341 1342// Reference imports to suppress errors if they are not otherwise used. 1343var _ context.Context 1344var _ grpc.ClientConnInterface 1345 1346// This is a compile-time assertion to ensure that this generated file 1347// is compatible with the grpc package it is being compiled against. 1348const _ = grpc.SupportPackageIsVersion6 1349 1350// IntentsClient is the client API for Intents service. 1351// 1352// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1353type IntentsClient interface { 1354 // Returns the list of all intents in the specified agent. 1355 ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) 1356 // Retrieves the specified intent. 1357 GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) 1358 // Creates an intent in the specified agent. 1359 // 1360 // Note: You should always train a flow prior to sending it queries. See the 1361 // [training 1362 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1363 CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) 1364 // Updates the specified intent. 1365 // 1366 // Note: You should always train a flow prior to sending it queries. See the 1367 // [training 1368 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1369 UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) 1370 // Deletes the specified intent. 1371 // 1372 // Note: You should always train a flow prior to sending it queries. See the 1373 // [training 1374 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1375 DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1376} 1377 1378type intentsClient struct { 1379 cc grpc.ClientConnInterface 1380} 1381 1382func NewIntentsClient(cc grpc.ClientConnInterface) IntentsClient { 1383 return &intentsClient{cc} 1384} 1385 1386func (c *intentsClient) ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) { 1387 out := new(ListIntentsResponse) 1388 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Intents/ListIntents", in, out, opts...) 1389 if err != nil { 1390 return nil, err 1391 } 1392 return out, nil 1393} 1394 1395func (c *intentsClient) GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 1396 out := new(Intent) 1397 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Intents/GetIntent", in, out, opts...) 1398 if err != nil { 1399 return nil, err 1400 } 1401 return out, nil 1402} 1403 1404func (c *intentsClient) CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 1405 out := new(Intent) 1406 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Intents/CreateIntent", in, out, opts...) 1407 if err != nil { 1408 return nil, err 1409 } 1410 return out, nil 1411} 1412 1413func (c *intentsClient) UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 1414 out := new(Intent) 1415 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Intents/UpdateIntent", in, out, opts...) 1416 if err != nil { 1417 return nil, err 1418 } 1419 return out, nil 1420} 1421 1422func (c *intentsClient) DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1423 out := new(emptypb.Empty) 1424 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Intents/DeleteIntent", in, out, opts...) 1425 if err != nil { 1426 return nil, err 1427 } 1428 return out, nil 1429} 1430 1431// IntentsServer is the server API for Intents service. 1432type IntentsServer interface { 1433 // Returns the list of all intents in the specified agent. 1434 ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) 1435 // Retrieves the specified intent. 1436 GetIntent(context.Context, *GetIntentRequest) (*Intent, error) 1437 // Creates an intent in the specified agent. 1438 // 1439 // Note: You should always train a flow prior to sending it queries. See the 1440 // [training 1441 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1442 CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) 1443 // Updates the specified intent. 1444 // 1445 // Note: You should always train a flow prior to sending it queries. See the 1446 // [training 1447 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1448 UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) 1449 // Deletes the specified intent. 1450 // 1451 // Note: You should always train a flow prior to sending it queries. See the 1452 // [training 1453 // documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). 1454 DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error) 1455} 1456 1457// UnimplementedIntentsServer can be embedded to have forward compatible implementations. 1458type UnimplementedIntentsServer struct { 1459} 1460 1461func (*UnimplementedIntentsServer) ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) { 1462 return nil, status.Errorf(codes.Unimplemented, "method ListIntents not implemented") 1463} 1464func (*UnimplementedIntentsServer) GetIntent(context.Context, *GetIntentRequest) (*Intent, error) { 1465 return nil, status.Errorf(codes.Unimplemented, "method GetIntent not implemented") 1466} 1467func (*UnimplementedIntentsServer) CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) { 1468 return nil, status.Errorf(codes.Unimplemented, "method CreateIntent not implemented") 1469} 1470func (*UnimplementedIntentsServer) UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) { 1471 return nil, status.Errorf(codes.Unimplemented, "method UpdateIntent not implemented") 1472} 1473func (*UnimplementedIntentsServer) DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error) { 1474 return nil, status.Errorf(codes.Unimplemented, "method DeleteIntent not implemented") 1475} 1476 1477func RegisterIntentsServer(s *grpc.Server, srv IntentsServer) { 1478 s.RegisterService(&_Intents_serviceDesc, srv) 1479} 1480 1481func _Intents_ListIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1482 in := new(ListIntentsRequest) 1483 if err := dec(in); err != nil { 1484 return nil, err 1485 } 1486 if interceptor == nil { 1487 return srv.(IntentsServer).ListIntents(ctx, in) 1488 } 1489 info := &grpc.UnaryServerInfo{ 1490 Server: srv, 1491 FullMethod: "/google.cloud.dialogflow.cx.v3.Intents/ListIntents", 1492 } 1493 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1494 return srv.(IntentsServer).ListIntents(ctx, req.(*ListIntentsRequest)) 1495 } 1496 return interceptor(ctx, in, info, handler) 1497} 1498 1499func _Intents_GetIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1500 in := new(GetIntentRequest) 1501 if err := dec(in); err != nil { 1502 return nil, err 1503 } 1504 if interceptor == nil { 1505 return srv.(IntentsServer).GetIntent(ctx, in) 1506 } 1507 info := &grpc.UnaryServerInfo{ 1508 Server: srv, 1509 FullMethod: "/google.cloud.dialogflow.cx.v3.Intents/GetIntent", 1510 } 1511 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1512 return srv.(IntentsServer).GetIntent(ctx, req.(*GetIntentRequest)) 1513 } 1514 return interceptor(ctx, in, info, handler) 1515} 1516 1517func _Intents_CreateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1518 in := new(CreateIntentRequest) 1519 if err := dec(in); err != nil { 1520 return nil, err 1521 } 1522 if interceptor == nil { 1523 return srv.(IntentsServer).CreateIntent(ctx, in) 1524 } 1525 info := &grpc.UnaryServerInfo{ 1526 Server: srv, 1527 FullMethod: "/google.cloud.dialogflow.cx.v3.Intents/CreateIntent", 1528 } 1529 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1530 return srv.(IntentsServer).CreateIntent(ctx, req.(*CreateIntentRequest)) 1531 } 1532 return interceptor(ctx, in, info, handler) 1533} 1534 1535func _Intents_UpdateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1536 in := new(UpdateIntentRequest) 1537 if err := dec(in); err != nil { 1538 return nil, err 1539 } 1540 if interceptor == nil { 1541 return srv.(IntentsServer).UpdateIntent(ctx, in) 1542 } 1543 info := &grpc.UnaryServerInfo{ 1544 Server: srv, 1545 FullMethod: "/google.cloud.dialogflow.cx.v3.Intents/UpdateIntent", 1546 } 1547 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1548 return srv.(IntentsServer).UpdateIntent(ctx, req.(*UpdateIntentRequest)) 1549 } 1550 return interceptor(ctx, in, info, handler) 1551} 1552 1553func _Intents_DeleteIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1554 in := new(DeleteIntentRequest) 1555 if err := dec(in); err != nil { 1556 return nil, err 1557 } 1558 if interceptor == nil { 1559 return srv.(IntentsServer).DeleteIntent(ctx, in) 1560 } 1561 info := &grpc.UnaryServerInfo{ 1562 Server: srv, 1563 FullMethod: "/google.cloud.dialogflow.cx.v3.Intents/DeleteIntent", 1564 } 1565 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1566 return srv.(IntentsServer).DeleteIntent(ctx, req.(*DeleteIntentRequest)) 1567 } 1568 return interceptor(ctx, in, info, handler) 1569} 1570 1571var _Intents_serviceDesc = grpc.ServiceDesc{ 1572 ServiceName: "google.cloud.dialogflow.cx.v3.Intents", 1573 HandlerType: (*IntentsServer)(nil), 1574 Methods: []grpc.MethodDesc{ 1575 { 1576 MethodName: "ListIntents", 1577 Handler: _Intents_ListIntents_Handler, 1578 }, 1579 { 1580 MethodName: "GetIntent", 1581 Handler: _Intents_GetIntent_Handler, 1582 }, 1583 { 1584 MethodName: "CreateIntent", 1585 Handler: _Intents_CreateIntent_Handler, 1586 }, 1587 { 1588 MethodName: "UpdateIntent", 1589 Handler: _Intents_UpdateIntent_Handler, 1590 }, 1591 { 1592 MethodName: "DeleteIntent", 1593 Handler: _Intents_DeleteIntent_Handler, 1594 }, 1595 }, 1596 Streams: []grpc.StreamDesc{}, 1597 Metadata: "google/cloud/dialogflow/cx/v3/intent.proto", 1598} 1599