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