1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0 18// protoc v3.13.0 19// source: google/cloud/dialogflow/cx/v3beta1/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_v3beta1_intent_proto_enumTypes[0].Descriptor() 90} 91 92func (IntentView) Type() protoreflect.EnumType { 93 return &file_google_cloud_dialogflow_cx_v3beta1_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_v3beta1_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.v3beta1.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3beta1.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 // Optional. 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 // Optional. 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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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/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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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/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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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/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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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/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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.Intent.TrainingPhrase] to annotate their 770 // [parts][google.cloud.dialogflow.cx.v3beta1.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 is logged in text and audio. If 782 // it is set to true, the parameter content will be replaced to parameter 783 // id in both request and response. The default value is false. 784 Redact bool `protobuf:"varint,4,opt,name=redact,proto3" json:"redact,omitempty"` 785} 786 787func (x *Intent_Parameter) Reset() { 788 *x = Intent_Parameter{} 789 if protoimpl.UnsafeEnabled { 790 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[8] 791 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 792 ms.StoreMessageInfo(mi) 793 } 794} 795 796func (x *Intent_Parameter) String() string { 797 return protoimpl.X.MessageStringOf(x) 798} 799 800func (*Intent_Parameter) ProtoMessage() {} 801 802func (x *Intent_Parameter) ProtoReflect() protoreflect.Message { 803 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[8] 804 if protoimpl.UnsafeEnabled && x != nil { 805 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 806 if ms.LoadMessageInfo() == nil { 807 ms.StoreMessageInfo(mi) 808 } 809 return ms 810 } 811 return mi.MessageOf(x) 812} 813 814// Deprecated: Use Intent_Parameter.ProtoReflect.Descriptor instead. 815func (*Intent_Parameter) Descriptor() ([]byte, []int) { 816 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{0, 1} 817} 818 819func (x *Intent_Parameter) GetId() string { 820 if x != nil { 821 return x.Id 822 } 823 return "" 824} 825 826func (x *Intent_Parameter) GetEntityType() string { 827 if x != nil { 828 return x.EntityType 829 } 830 return "" 831} 832 833func (x *Intent_Parameter) GetIsList() bool { 834 if x != nil { 835 return x.IsList 836 } 837 return false 838} 839 840func (x *Intent_Parameter) GetRedact() bool { 841 if x != nil { 842 return x.Redact 843 } 844 return false 845} 846 847// Represents a part of a training phrase. 848type Intent_TrainingPhrase_Part struct { 849 state protoimpl.MessageState 850 sizeCache protoimpl.SizeCache 851 unknownFields protoimpl.UnknownFields 852 853 // Required. The text for this part. 854 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 855 // The [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] used to annotate this part of the 856 // training phrase. This field is required for annotated parts of the 857 // training phrase. 858 ParameterId string `protobuf:"bytes,2,opt,name=parameter_id,json=parameterId,proto3" json:"parameter_id,omitempty"` 859} 860 861func (x *Intent_TrainingPhrase_Part) Reset() { 862 *x = Intent_TrainingPhrase_Part{} 863 if protoimpl.UnsafeEnabled { 864 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[10] 865 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 866 ms.StoreMessageInfo(mi) 867 } 868} 869 870func (x *Intent_TrainingPhrase_Part) String() string { 871 return protoimpl.X.MessageStringOf(x) 872} 873 874func (*Intent_TrainingPhrase_Part) ProtoMessage() {} 875 876func (x *Intent_TrainingPhrase_Part) ProtoReflect() protoreflect.Message { 877 mi := &file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[10] 878 if protoimpl.UnsafeEnabled && x != nil { 879 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 880 if ms.LoadMessageInfo() == nil { 881 ms.StoreMessageInfo(mi) 882 } 883 return ms 884 } 885 return mi.MessageOf(x) 886} 887 888// Deprecated: Use Intent_TrainingPhrase_Part.ProtoReflect.Descriptor instead. 889func (*Intent_TrainingPhrase_Part) Descriptor() ([]byte, []int) { 890 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP(), []int{0, 0, 0} 891} 892 893func (x *Intent_TrainingPhrase_Part) GetText() string { 894 if x != nil { 895 return x.Text 896 } 897 return "" 898} 899 900func (x *Intent_TrainingPhrase_Part) GetParameterId() string { 901 if x != nil { 902 return x.ParameterId 903 } 904 return "" 905} 906 907var File_google_cloud_dialogflow_cx_v3beta1_intent_proto protoreflect.FileDescriptor 908 909var file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDesc = []byte{ 910 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 911 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 912 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 913 0x6f, 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 914 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 915 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 916 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 917 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 918 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 919 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 920 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 921 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 922 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 923 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 924 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 925 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 926 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xec, 0x07, 0x0a, 0x06, 0x49, 0x6e, 0x74, 0x65, 927 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 928 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 929 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 930 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x64, 931 0x0a, 0x10, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x68, 0x72, 0x61, 0x73, 932 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 933 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 934 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 935 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x68, 0x72, 936 0x61, 0x73, 0x65, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x68, 0x72, 937 0x61, 0x73, 0x65, 0x73, 0x12, 0x54, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 938 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 939 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 940 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 941 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, 942 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 943 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 944 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x61, 0x6c, 945 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 946 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x53, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 947 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 948 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 949 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 950 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 951 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x25, 0x0a, 0x0b, 952 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 953 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 954 0x69, 0x6f, 0x6e, 0x1a, 0xe2, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 955 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 956 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x59, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x18, 957 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 958 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 959 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 960 0x74, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 961 0x2e, 0x50, 0x61, 0x72, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 962 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 963 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x43, 964 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x42, 0x0a, 0x04, 0x50, 0x61, 0x72, 0x74, 0x12, 0x17, 0x0a, 0x04, 965 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 966 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 967 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 968 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x49, 0x64, 0x1a, 0xa0, 0x01, 0x0a, 0x09, 0x50, 0x61, 0x72, 969 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 970 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02, 0x69, 0x64, 0x12, 0x4d, 0x0a, 0x0b, 0x65, 971 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 972 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 973 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 974 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 975 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 976 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4c, 977 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x04, 0x20, 978 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 979 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 980 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 981 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 982 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x6e, 0xea, 0x41, 0x6b, 0x0a, 0x20, 0x64, 0x69, 0x61, 983 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 984 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x70, 985 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 986 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 987 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 988 0x67, 0x65, 0x6e, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x69, 989 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x7d, 0x22, 0x88, 0x02, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x49, 990 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 991 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 992 0x41, 0x02, 0xfa, 0x41, 0x22, 0x12, 0x20, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 993 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 994 0x2f, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 995 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 996 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 997 0x43, 0x6f, 0x64, 0x65, 0x12, 0x4f, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x76, 998 0x69, 0x65, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 999 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 1000 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 1001 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x65, 0x77, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x6e, 1002 0x74, 0x56, 0x69, 0x65, 0x77, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 1003 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 1004 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 1005 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 1006 0x6e, 0x22, 0x83, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 1007 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x69, 0x6e, 0x74, 1008 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 1009 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1010 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 1011 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 1012 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 1013 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 1014 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x75, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x49, 0x6e, 1015 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 1016 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 1017 0x22, 0x0a, 0x20, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 1018 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x74, 1019 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 1020 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 1021 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x22, 0xc5, 1022 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 1023 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 1024 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x12, 0x20, 1025 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1026 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 1027 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x65, 1028 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1029 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 1030 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 1031 0x74, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 1032 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 1033 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 1034 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 1035 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 1036 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 1037 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 1038 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 1039 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 1040 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 1041 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 1042 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 1043 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 1044 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1045 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 1046 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x53, 0x0a, 0x13, 0x44, 0x65, 0x6c, 1047 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1048 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 1049 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 1050 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 1051 0x6d, 0x2f, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x2a, 0x58, 1052 0x0a, 0x0a, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x65, 0x77, 0x12, 0x1b, 0x0a, 0x17, 1053 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 1054 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x54, 1055 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, 1056 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x45, 1057 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x32, 0xe4, 0x08, 0x0a, 0x07, 0x49, 0x6e, 0x74, 1058 0x65, 0x6e, 0x74, 0x73, 0x12, 0xca, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 1059 0x65, 0x6e, 0x74, 0x73, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1060 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 1061 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 1062 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x67, 1063 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 1064 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 1065 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 1066 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x12, 0x39, 0x2f, 1067 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 1068 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 1069 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 1070 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 1071 0x74, 0x12, 0xb7, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 1072 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1073 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 1074 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 1075 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1076 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 1077 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 1078 0x74, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x12, 0x39, 0x2f, 0x76, 0x33, 0x62, 0x65, 1079 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 1080 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 1081 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 1082 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xce, 0x01, 0x0a, 0x0c, 1083 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x2e, 0x67, 1084 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 1085 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 1086 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 1087 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1088 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 1089 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 1090 0x74, 0x22, 0x59, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x39, 0x2f, 0x76, 0x33, 0x62, 0x65, 1091 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 1092 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1093 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x74, 1094 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0xda, 0x41, 0x0d, 0x70, 1095 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0xda, 0x01, 0x0a, 1096 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x2e, 1097 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 1098 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 1099 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 1100 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1101 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 1102 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 1103 0x6e, 0x74, 0x22, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4a, 0x32, 0x40, 0x2f, 0x76, 0x33, 0x62, 1104 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 1105 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 1106 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 1107 0x2a, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x06, 0x69, 0x6e, 1108 0x74, 0x65, 0x6e, 0x74, 0xda, 0x41, 0x12, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2c, 0x75, 0x70, 1109 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0xa9, 0x01, 0x0a, 0x0c, 0x44, 0x65, 1110 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 1111 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1112 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 1113 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 1114 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1115 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x48, 0x82, 0xd3, 0xe4, 1116 0x93, 0x02, 0x3b, 0x2a, 0x39, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 1117 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 1118 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 1119 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 1120 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x78, 0xca, 0x41, 0x19, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1121 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 1122 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x59, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 1123 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 1124 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 1125 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 1126 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 1127 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x42, 1128 0xaa, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1129 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 1130 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0b, 0x49, 0x6e, 0x74, 0x65, 1131 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1132 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 1133 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 1134 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1135 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x63, 0x78, 0xf8, 1136 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 0x46, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1137 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1138 0x77, 0x2e, 0x43, 0x78, 0x2e, 0x56, 0x33, 0x42, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 1139 0x6f, 0x74, 0x6f, 0x33, 1140} 1141 1142var ( 1143 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescOnce sync.Once 1144 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescData = file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDesc 1145) 1146 1147func file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescGZIP() []byte { 1148 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescOnce.Do(func() { 1149 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescData) 1150 }) 1151 return file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDescData 1152} 1153 1154var file_google_cloud_dialogflow_cx_v3beta1_intent_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1155var file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 1156var file_google_cloud_dialogflow_cx_v3beta1_intent_proto_goTypes = []interface{}{ 1157 (IntentView)(0), // 0: google.cloud.dialogflow.cx.v3beta1.IntentView 1158 (*Intent)(nil), // 1: google.cloud.dialogflow.cx.v3beta1.Intent 1159 (*ListIntentsRequest)(nil), // 2: google.cloud.dialogflow.cx.v3beta1.ListIntentsRequest 1160 (*ListIntentsResponse)(nil), // 3: google.cloud.dialogflow.cx.v3beta1.ListIntentsResponse 1161 (*GetIntentRequest)(nil), // 4: google.cloud.dialogflow.cx.v3beta1.GetIntentRequest 1162 (*CreateIntentRequest)(nil), // 5: google.cloud.dialogflow.cx.v3beta1.CreateIntentRequest 1163 (*UpdateIntentRequest)(nil), // 6: google.cloud.dialogflow.cx.v3beta1.UpdateIntentRequest 1164 (*DeleteIntentRequest)(nil), // 7: google.cloud.dialogflow.cx.v3beta1.DeleteIntentRequest 1165 (*Intent_TrainingPhrase)(nil), // 8: google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase 1166 (*Intent_Parameter)(nil), // 9: google.cloud.dialogflow.cx.v3beta1.Intent.Parameter 1167 nil, // 10: google.cloud.dialogflow.cx.v3beta1.Intent.LabelsEntry 1168 (*Intent_TrainingPhrase_Part)(nil), // 11: google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase.Part 1169 (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask 1170 (*emptypb.Empty)(nil), // 13: google.protobuf.Empty 1171} 1172var file_google_cloud_dialogflow_cx_v3beta1_intent_proto_depIdxs = []int32{ 1173 8, // 0: google.cloud.dialogflow.cx.v3beta1.Intent.training_phrases:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase 1174 9, // 1: google.cloud.dialogflow.cx.v3beta1.Intent.parameters:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent.Parameter 1175 10, // 2: google.cloud.dialogflow.cx.v3beta1.Intent.labels:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent.LabelsEntry 1176 0, // 3: google.cloud.dialogflow.cx.v3beta1.ListIntentsRequest.intent_view:type_name -> google.cloud.dialogflow.cx.v3beta1.IntentView 1177 1, // 4: google.cloud.dialogflow.cx.v3beta1.ListIntentsResponse.intents:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent 1178 1, // 5: google.cloud.dialogflow.cx.v3beta1.CreateIntentRequest.intent:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent 1179 1, // 6: google.cloud.dialogflow.cx.v3beta1.UpdateIntentRequest.intent:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent 1180 12, // 7: google.cloud.dialogflow.cx.v3beta1.UpdateIntentRequest.update_mask:type_name -> google.protobuf.FieldMask 1181 11, // 8: google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase.parts:type_name -> google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase.Part 1182 2, // 9: google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents:input_type -> google.cloud.dialogflow.cx.v3beta1.ListIntentsRequest 1183 4, // 10: google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent:input_type -> google.cloud.dialogflow.cx.v3beta1.GetIntentRequest 1184 5, // 11: google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent:input_type -> google.cloud.dialogflow.cx.v3beta1.CreateIntentRequest 1185 6, // 12: google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent:input_type -> google.cloud.dialogflow.cx.v3beta1.UpdateIntentRequest 1186 7, // 13: google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent:input_type -> google.cloud.dialogflow.cx.v3beta1.DeleteIntentRequest 1187 3, // 14: google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents:output_type -> google.cloud.dialogflow.cx.v3beta1.ListIntentsResponse 1188 1, // 15: google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent:output_type -> google.cloud.dialogflow.cx.v3beta1.Intent 1189 1, // 16: google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent:output_type -> google.cloud.dialogflow.cx.v3beta1.Intent 1190 1, // 17: google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent:output_type -> google.cloud.dialogflow.cx.v3beta1.Intent 1191 13, // 18: google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent:output_type -> google.protobuf.Empty 1192 14, // [14:19] is the sub-list for method output_type 1193 9, // [9:14] is the sub-list for method input_type 1194 9, // [9:9] is the sub-list for extension type_name 1195 9, // [9:9] is the sub-list for extension extendee 1196 0, // [0:9] is the sub-list for field type_name 1197} 1198 1199func init() { file_google_cloud_dialogflow_cx_v3beta1_intent_proto_init() } 1200func file_google_cloud_dialogflow_cx_v3beta1_intent_proto_init() { 1201 if File_google_cloud_dialogflow_cx_v3beta1_intent_proto != nil { 1202 return 1203 } 1204 if !protoimpl.UnsafeEnabled { 1205 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1206 switch v := v.(*Intent); i { 1207 case 0: 1208 return &v.state 1209 case 1: 1210 return &v.sizeCache 1211 case 2: 1212 return &v.unknownFields 1213 default: 1214 return nil 1215 } 1216 } 1217 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1218 switch v := v.(*ListIntentsRequest); i { 1219 case 0: 1220 return &v.state 1221 case 1: 1222 return &v.sizeCache 1223 case 2: 1224 return &v.unknownFields 1225 default: 1226 return nil 1227 } 1228 } 1229 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1230 switch v := v.(*ListIntentsResponse); i { 1231 case 0: 1232 return &v.state 1233 case 1: 1234 return &v.sizeCache 1235 case 2: 1236 return &v.unknownFields 1237 default: 1238 return nil 1239 } 1240 } 1241 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1242 switch v := v.(*GetIntentRequest); i { 1243 case 0: 1244 return &v.state 1245 case 1: 1246 return &v.sizeCache 1247 case 2: 1248 return &v.unknownFields 1249 default: 1250 return nil 1251 } 1252 } 1253 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1254 switch v := v.(*CreateIntentRequest); i { 1255 case 0: 1256 return &v.state 1257 case 1: 1258 return &v.sizeCache 1259 case 2: 1260 return &v.unknownFields 1261 default: 1262 return nil 1263 } 1264 } 1265 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1266 switch v := v.(*UpdateIntentRequest); i { 1267 case 0: 1268 return &v.state 1269 case 1: 1270 return &v.sizeCache 1271 case 2: 1272 return &v.unknownFields 1273 default: 1274 return nil 1275 } 1276 } 1277 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1278 switch v := v.(*DeleteIntentRequest); i { 1279 case 0: 1280 return &v.state 1281 case 1: 1282 return &v.sizeCache 1283 case 2: 1284 return &v.unknownFields 1285 default: 1286 return nil 1287 } 1288 } 1289 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1290 switch v := v.(*Intent_TrainingPhrase); i { 1291 case 0: 1292 return &v.state 1293 case 1: 1294 return &v.sizeCache 1295 case 2: 1296 return &v.unknownFields 1297 default: 1298 return nil 1299 } 1300 } 1301 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1302 switch v := v.(*Intent_Parameter); i { 1303 case 0: 1304 return &v.state 1305 case 1: 1306 return &v.sizeCache 1307 case 2: 1308 return &v.unknownFields 1309 default: 1310 return nil 1311 } 1312 } 1313 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1314 switch v := v.(*Intent_TrainingPhrase_Part); i { 1315 case 0: 1316 return &v.state 1317 case 1: 1318 return &v.sizeCache 1319 case 2: 1320 return &v.unknownFields 1321 default: 1322 return nil 1323 } 1324 } 1325 } 1326 type x struct{} 1327 out := protoimpl.TypeBuilder{ 1328 File: protoimpl.DescBuilder{ 1329 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1330 RawDescriptor: file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDesc, 1331 NumEnums: 1, 1332 NumMessages: 11, 1333 NumExtensions: 0, 1334 NumServices: 1, 1335 }, 1336 GoTypes: file_google_cloud_dialogflow_cx_v3beta1_intent_proto_goTypes, 1337 DependencyIndexes: file_google_cloud_dialogflow_cx_v3beta1_intent_proto_depIdxs, 1338 EnumInfos: file_google_cloud_dialogflow_cx_v3beta1_intent_proto_enumTypes, 1339 MessageInfos: file_google_cloud_dialogflow_cx_v3beta1_intent_proto_msgTypes, 1340 }.Build() 1341 File_google_cloud_dialogflow_cx_v3beta1_intent_proto = out.File 1342 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_rawDesc = nil 1343 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_goTypes = nil 1344 file_google_cloud_dialogflow_cx_v3beta1_intent_proto_depIdxs = nil 1345} 1346 1347// Reference imports to suppress errors if they are not otherwise used. 1348var _ context.Context 1349var _ grpc.ClientConnInterface 1350 1351// This is a compile-time assertion to ensure that this generated file 1352// is compatible with the grpc package it is being compiled against. 1353const _ = grpc.SupportPackageIsVersion6 1354 1355// IntentsClient is the client API for Intents service. 1356// 1357// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1358type IntentsClient interface { 1359 // Returns the list of all intents in the specified agent. 1360 ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) 1361 // Retrieves the specified intent. 1362 GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) 1363 // Creates an intent in the specified agent. 1364 CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) 1365 // Updates the specified intent. 1366 UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) 1367 // Deletes the specified intent. 1368 DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1369} 1370 1371type intentsClient struct { 1372 cc grpc.ClientConnInterface 1373} 1374 1375func NewIntentsClient(cc grpc.ClientConnInterface) IntentsClient { 1376 return &intentsClient{cc} 1377} 1378 1379func (c *intentsClient) ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) { 1380 out := new(ListIntentsResponse) 1381 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Intents/ListIntents", in, out, opts...) 1382 if err != nil { 1383 return nil, err 1384 } 1385 return out, nil 1386} 1387 1388func (c *intentsClient) GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 1389 out := new(Intent) 1390 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Intents/GetIntent", in, out, opts...) 1391 if err != nil { 1392 return nil, err 1393 } 1394 return out, nil 1395} 1396 1397func (c *intentsClient) CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 1398 out := new(Intent) 1399 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Intents/CreateIntent", in, out, opts...) 1400 if err != nil { 1401 return nil, err 1402 } 1403 return out, nil 1404} 1405 1406func (c *intentsClient) UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 1407 out := new(Intent) 1408 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Intents/UpdateIntent", in, out, opts...) 1409 if err != nil { 1410 return nil, err 1411 } 1412 return out, nil 1413} 1414 1415func (c *intentsClient) DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1416 out := new(emptypb.Empty) 1417 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Intents/DeleteIntent", in, out, opts...) 1418 if err != nil { 1419 return nil, err 1420 } 1421 return out, nil 1422} 1423 1424// IntentsServer is the server API for Intents service. 1425type IntentsServer interface { 1426 // Returns the list of all intents in the specified agent. 1427 ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) 1428 // Retrieves the specified intent. 1429 GetIntent(context.Context, *GetIntentRequest) (*Intent, error) 1430 // Creates an intent in the specified agent. 1431 CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) 1432 // Updates the specified intent. 1433 UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) 1434 // Deletes the specified intent. 1435 DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error) 1436} 1437 1438// UnimplementedIntentsServer can be embedded to have forward compatible implementations. 1439type UnimplementedIntentsServer struct { 1440} 1441 1442func (*UnimplementedIntentsServer) ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) { 1443 return nil, status.Errorf(codes.Unimplemented, "method ListIntents not implemented") 1444} 1445func (*UnimplementedIntentsServer) GetIntent(context.Context, *GetIntentRequest) (*Intent, error) { 1446 return nil, status.Errorf(codes.Unimplemented, "method GetIntent not implemented") 1447} 1448func (*UnimplementedIntentsServer) CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) { 1449 return nil, status.Errorf(codes.Unimplemented, "method CreateIntent not implemented") 1450} 1451func (*UnimplementedIntentsServer) UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) { 1452 return nil, status.Errorf(codes.Unimplemented, "method UpdateIntent not implemented") 1453} 1454func (*UnimplementedIntentsServer) DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error) { 1455 return nil, status.Errorf(codes.Unimplemented, "method DeleteIntent not implemented") 1456} 1457 1458func RegisterIntentsServer(s *grpc.Server, srv IntentsServer) { 1459 s.RegisterService(&_Intents_serviceDesc, srv) 1460} 1461 1462func _Intents_ListIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1463 in := new(ListIntentsRequest) 1464 if err := dec(in); err != nil { 1465 return nil, err 1466 } 1467 if interceptor == nil { 1468 return srv.(IntentsServer).ListIntents(ctx, in) 1469 } 1470 info := &grpc.UnaryServerInfo{ 1471 Server: srv, 1472 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Intents/ListIntents", 1473 } 1474 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1475 return srv.(IntentsServer).ListIntents(ctx, req.(*ListIntentsRequest)) 1476 } 1477 return interceptor(ctx, in, info, handler) 1478} 1479 1480func _Intents_GetIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1481 in := new(GetIntentRequest) 1482 if err := dec(in); err != nil { 1483 return nil, err 1484 } 1485 if interceptor == nil { 1486 return srv.(IntentsServer).GetIntent(ctx, in) 1487 } 1488 info := &grpc.UnaryServerInfo{ 1489 Server: srv, 1490 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Intents/GetIntent", 1491 } 1492 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1493 return srv.(IntentsServer).GetIntent(ctx, req.(*GetIntentRequest)) 1494 } 1495 return interceptor(ctx, in, info, handler) 1496} 1497 1498func _Intents_CreateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1499 in := new(CreateIntentRequest) 1500 if err := dec(in); err != nil { 1501 return nil, err 1502 } 1503 if interceptor == nil { 1504 return srv.(IntentsServer).CreateIntent(ctx, in) 1505 } 1506 info := &grpc.UnaryServerInfo{ 1507 Server: srv, 1508 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Intents/CreateIntent", 1509 } 1510 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1511 return srv.(IntentsServer).CreateIntent(ctx, req.(*CreateIntentRequest)) 1512 } 1513 return interceptor(ctx, in, info, handler) 1514} 1515 1516func _Intents_UpdateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1517 in := new(UpdateIntentRequest) 1518 if err := dec(in); err != nil { 1519 return nil, err 1520 } 1521 if interceptor == nil { 1522 return srv.(IntentsServer).UpdateIntent(ctx, in) 1523 } 1524 info := &grpc.UnaryServerInfo{ 1525 Server: srv, 1526 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Intents/UpdateIntent", 1527 } 1528 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1529 return srv.(IntentsServer).UpdateIntent(ctx, req.(*UpdateIntentRequest)) 1530 } 1531 return interceptor(ctx, in, info, handler) 1532} 1533 1534func _Intents_DeleteIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1535 in := new(DeleteIntentRequest) 1536 if err := dec(in); err != nil { 1537 return nil, err 1538 } 1539 if interceptor == nil { 1540 return srv.(IntentsServer).DeleteIntent(ctx, in) 1541 } 1542 info := &grpc.UnaryServerInfo{ 1543 Server: srv, 1544 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Intents/DeleteIntent", 1545 } 1546 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1547 return srv.(IntentsServer).DeleteIntent(ctx, req.(*DeleteIntentRequest)) 1548 } 1549 return interceptor(ctx, in, info, handler) 1550} 1551 1552var _Intents_serviceDesc = grpc.ServiceDesc{ 1553 ServiceName: "google.cloud.dialogflow.cx.v3beta1.Intents", 1554 HandlerType: (*IntentsServer)(nil), 1555 Methods: []grpc.MethodDesc{ 1556 { 1557 MethodName: "ListIntents", 1558 Handler: _Intents_ListIntents_Handler, 1559 }, 1560 { 1561 MethodName: "GetIntent", 1562 Handler: _Intents_GetIntent_Handler, 1563 }, 1564 { 1565 MethodName: "CreateIntent", 1566 Handler: _Intents_CreateIntent_Handler, 1567 }, 1568 { 1569 MethodName: "UpdateIntent", 1570 Handler: _Intents_UpdateIntent_Handler, 1571 }, 1572 { 1573 MethodName: "DeleteIntent", 1574 Handler: _Intents_DeleteIntent_Handler, 1575 }, 1576 }, 1577 Streams: []grpc.StreamDesc{}, 1578 Metadata: "google/cloud/dialogflow/cx/v3beta1/intent.proto", 1579} 1580