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