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.25.0-devel 18// protoc v3.13.0 19// source: google/cloud/dialogflow/v2/agent.proto 20 21package dialogflow 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 longrunning "google.golang.org/genproto/googleapis/longrunning" 31 grpc "google.golang.org/grpc" 32 codes "google.golang.org/grpc/codes" 33 status "google.golang.org/grpc/status" 34 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 35 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 36 emptypb "google.golang.org/protobuf/types/known/emptypb" 37 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 38) 39 40const ( 41 // Verify that this generated code is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 43 // Verify that runtime/protoimpl is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 45) 46 47// This is a compile-time assertion that a sufficiently up-to-date version 48// of the legacy proto package is being used. 49const _ = proto.ProtoPackageIsVersion4 50 51// Match mode determines how intents are detected from user queries. 52type Agent_MatchMode int32 53 54const ( 55 // Not specified. 56 Agent_MATCH_MODE_UNSPECIFIED Agent_MatchMode = 0 57 // Best for agents with a small number of examples in intents and/or wide 58 // use of templates syntax and composite entities. 59 Agent_MATCH_MODE_HYBRID Agent_MatchMode = 1 60 // Can be used for agents with a large number of examples in intents, 61 // especially the ones using @sys.any or very large custom entities. 62 Agent_MATCH_MODE_ML_ONLY Agent_MatchMode = 2 63) 64 65// Enum value maps for Agent_MatchMode. 66var ( 67 Agent_MatchMode_name = map[int32]string{ 68 0: "MATCH_MODE_UNSPECIFIED", 69 1: "MATCH_MODE_HYBRID", 70 2: "MATCH_MODE_ML_ONLY", 71 } 72 Agent_MatchMode_value = map[string]int32{ 73 "MATCH_MODE_UNSPECIFIED": 0, 74 "MATCH_MODE_HYBRID": 1, 75 "MATCH_MODE_ML_ONLY": 2, 76 } 77) 78 79func (x Agent_MatchMode) Enum() *Agent_MatchMode { 80 p := new(Agent_MatchMode) 81 *p = x 82 return p 83} 84 85func (x Agent_MatchMode) String() string { 86 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 87} 88 89func (Agent_MatchMode) Descriptor() protoreflect.EnumDescriptor { 90 return file_google_cloud_dialogflow_v2_agent_proto_enumTypes[0].Descriptor() 91} 92 93func (Agent_MatchMode) Type() protoreflect.EnumType { 94 return &file_google_cloud_dialogflow_v2_agent_proto_enumTypes[0] 95} 96 97func (x Agent_MatchMode) Number() protoreflect.EnumNumber { 98 return protoreflect.EnumNumber(x) 99} 100 101// Deprecated: Use Agent_MatchMode.Descriptor instead. 102func (Agent_MatchMode) EnumDescriptor() ([]byte, []int) { 103 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{0, 0} 104} 105 106// API version for the agent. 107type Agent_ApiVersion int32 108 109const ( 110 // Not specified. 111 Agent_API_VERSION_UNSPECIFIED Agent_ApiVersion = 0 112 // Legacy V1 API. 113 Agent_API_VERSION_V1 Agent_ApiVersion = 1 114 // V2 API. 115 Agent_API_VERSION_V2 Agent_ApiVersion = 2 116 // V2beta1 API. 117 Agent_API_VERSION_V2_BETA_1 Agent_ApiVersion = 3 118) 119 120// Enum value maps for Agent_ApiVersion. 121var ( 122 Agent_ApiVersion_name = map[int32]string{ 123 0: "API_VERSION_UNSPECIFIED", 124 1: "API_VERSION_V1", 125 2: "API_VERSION_V2", 126 3: "API_VERSION_V2_BETA_1", 127 } 128 Agent_ApiVersion_value = map[string]int32{ 129 "API_VERSION_UNSPECIFIED": 0, 130 "API_VERSION_V1": 1, 131 "API_VERSION_V2": 2, 132 "API_VERSION_V2_BETA_1": 3, 133 } 134) 135 136func (x Agent_ApiVersion) Enum() *Agent_ApiVersion { 137 p := new(Agent_ApiVersion) 138 *p = x 139 return p 140} 141 142func (x Agent_ApiVersion) String() string { 143 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 144} 145 146func (Agent_ApiVersion) Descriptor() protoreflect.EnumDescriptor { 147 return file_google_cloud_dialogflow_v2_agent_proto_enumTypes[1].Descriptor() 148} 149 150func (Agent_ApiVersion) Type() protoreflect.EnumType { 151 return &file_google_cloud_dialogflow_v2_agent_proto_enumTypes[1] 152} 153 154func (x Agent_ApiVersion) Number() protoreflect.EnumNumber { 155 return protoreflect.EnumNumber(x) 156} 157 158// Deprecated: Use Agent_ApiVersion.Descriptor instead. 159func (Agent_ApiVersion) EnumDescriptor() ([]byte, []int) { 160 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{0, 1} 161} 162 163// Represents the agent tier. 164type Agent_Tier int32 165 166const ( 167 // Not specified. This value should never be used. 168 Agent_TIER_UNSPECIFIED Agent_Tier = 0 169 // Standard tier. 170 Agent_TIER_STANDARD Agent_Tier = 1 171 // Enterprise tier (Essentials). 172 Agent_TIER_ENTERPRISE Agent_Tier = 2 173 // Enterprise tier (Plus). 174 Agent_TIER_ENTERPRISE_PLUS Agent_Tier = 3 175) 176 177// Enum value maps for Agent_Tier. 178var ( 179 Agent_Tier_name = map[int32]string{ 180 0: "TIER_UNSPECIFIED", 181 1: "TIER_STANDARD", 182 2: "TIER_ENTERPRISE", 183 3: "TIER_ENTERPRISE_PLUS", 184 } 185 Agent_Tier_value = map[string]int32{ 186 "TIER_UNSPECIFIED": 0, 187 "TIER_STANDARD": 1, 188 "TIER_ENTERPRISE": 2, 189 "TIER_ENTERPRISE_PLUS": 3, 190 } 191) 192 193func (x Agent_Tier) Enum() *Agent_Tier { 194 p := new(Agent_Tier) 195 *p = x 196 return p 197} 198 199func (x Agent_Tier) String() string { 200 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 201} 202 203func (Agent_Tier) Descriptor() protoreflect.EnumDescriptor { 204 return file_google_cloud_dialogflow_v2_agent_proto_enumTypes[2].Descriptor() 205} 206 207func (Agent_Tier) Type() protoreflect.EnumType { 208 return &file_google_cloud_dialogflow_v2_agent_proto_enumTypes[2] 209} 210 211func (x Agent_Tier) Number() protoreflect.EnumNumber { 212 return protoreflect.EnumNumber(x) 213} 214 215// Deprecated: Use Agent_Tier.Descriptor instead. 216func (Agent_Tier) EnumDescriptor() ([]byte, []int) { 217 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{0, 2} 218} 219 220// A Dialogflow agent is a virtual agent that handles conversations with your 221// end-users. It is a natural language understanding module that understands the 222// nuances of human language. Dialogflow translates end-user text or audio 223// during a conversation to structured data that your apps and services can 224// understand. You design and build a Dialogflow agent to handle the types of 225// conversations required for your system. 226// 227// For more information about agents, see the 228// [Agent guide](https://cloud.google.com/dialogflow/docs/agents-overview). 229type Agent struct { 230 state protoimpl.MessageState 231 sizeCache protoimpl.SizeCache 232 unknownFields protoimpl.UnknownFields 233 234 // Required. The project of this agent. 235 // Format: `projects/<Project ID>`. 236 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 237 // Required. The name of this agent. 238 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 239 // Required. The default language of the agent as a language tag. See 240 // [Language 241 // Support](https://cloud.google.com/dialogflow/docs/reference/language) 242 // for a list of the currently supported language codes. This field cannot be 243 // set by the `Update` method. 244 DefaultLanguageCode string `protobuf:"bytes,3,opt,name=default_language_code,json=defaultLanguageCode,proto3" json:"default_language_code,omitempty"` 245 // Optional. The list of all languages supported by this agent (except for the 246 // `default_language_code`). 247 SupportedLanguageCodes []string `protobuf:"bytes,4,rep,name=supported_language_codes,json=supportedLanguageCodes,proto3" json:"supported_language_codes,omitempty"` 248 // Required. The time zone of this agent from the 249 // [time zone database](https://www.iana.org/time-zones), e.g., 250 // America/New_York, Europe/Paris. 251 TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` 252 // Optional. The description of this agent. 253 // The maximum length is 500 characters. If exceeded, the request is rejected. 254 Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` 255 // Optional. The URI of the agent's avatar. 256 // Avatars are used throughout the Dialogflow console and in the self-hosted 257 // [Web 258 // Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) 259 // integration. 260 AvatarUri string `protobuf:"bytes,7,opt,name=avatar_uri,json=avatarUri,proto3" json:"avatar_uri,omitempty"` 261 // Optional. Determines whether this agent should log conversation queries. 262 EnableLogging bool `protobuf:"varint,8,opt,name=enable_logging,json=enableLogging,proto3" json:"enable_logging,omitempty"` 263 // Optional. Determines how intents are detected from user queries. 264 // 265 // Deprecated: Do not use. 266 MatchMode Agent_MatchMode `protobuf:"varint,9,opt,name=match_mode,json=matchMode,proto3,enum=google.cloud.dialogflow.v2.Agent_MatchMode" json:"match_mode,omitempty"` 267 // Optional. To filter out false positive results and still get variety in 268 // matched natural language inputs for your agent, you can tune the machine 269 // learning classification threshold. If the returned score value is less than 270 // the threshold value, then a fallback intent will be triggered or, if there 271 // are no fallback intents defined, no intent will be triggered. The score 272 // values range from 0.0 (completely uncertain) to 1.0 (completely certain). 273 // If set to 0.0, the default of 0.3 is used. 274 ClassificationThreshold float32 `protobuf:"fixed32,10,opt,name=classification_threshold,json=classificationThreshold,proto3" json:"classification_threshold,omitempty"` 275 // Optional. API version displayed in Dialogflow console. If not specified, 276 // V2 API is assumed. Clients are free to query different service endpoints 277 // for different API versions. However, bots connectors and webhook calls will 278 // follow the specified API version. 279 ApiVersion Agent_ApiVersion `protobuf:"varint,14,opt,name=api_version,json=apiVersion,proto3,enum=google.cloud.dialogflow.v2.Agent_ApiVersion" json:"api_version,omitempty"` 280 // Optional. The agent tier. If not specified, TIER_STANDARD is assumed. 281 Tier Agent_Tier `protobuf:"varint,15,opt,name=tier,proto3,enum=google.cloud.dialogflow.v2.Agent_Tier" json:"tier,omitempty"` 282} 283 284func (x *Agent) Reset() { 285 *x = Agent{} 286 if protoimpl.UnsafeEnabled { 287 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[0] 288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 289 ms.StoreMessageInfo(mi) 290 } 291} 292 293func (x *Agent) String() string { 294 return protoimpl.X.MessageStringOf(x) 295} 296 297func (*Agent) ProtoMessage() {} 298 299func (x *Agent) ProtoReflect() protoreflect.Message { 300 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[0] 301 if protoimpl.UnsafeEnabled && x != nil { 302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 303 if ms.LoadMessageInfo() == nil { 304 ms.StoreMessageInfo(mi) 305 } 306 return ms 307 } 308 return mi.MessageOf(x) 309} 310 311// Deprecated: Use Agent.ProtoReflect.Descriptor instead. 312func (*Agent) Descriptor() ([]byte, []int) { 313 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{0} 314} 315 316func (x *Agent) GetParent() string { 317 if x != nil { 318 return x.Parent 319 } 320 return "" 321} 322 323func (x *Agent) GetDisplayName() string { 324 if x != nil { 325 return x.DisplayName 326 } 327 return "" 328} 329 330func (x *Agent) GetDefaultLanguageCode() string { 331 if x != nil { 332 return x.DefaultLanguageCode 333 } 334 return "" 335} 336 337func (x *Agent) GetSupportedLanguageCodes() []string { 338 if x != nil { 339 return x.SupportedLanguageCodes 340 } 341 return nil 342} 343 344func (x *Agent) GetTimeZone() string { 345 if x != nil { 346 return x.TimeZone 347 } 348 return "" 349} 350 351func (x *Agent) GetDescription() string { 352 if x != nil { 353 return x.Description 354 } 355 return "" 356} 357 358func (x *Agent) GetAvatarUri() string { 359 if x != nil { 360 return x.AvatarUri 361 } 362 return "" 363} 364 365func (x *Agent) GetEnableLogging() bool { 366 if x != nil { 367 return x.EnableLogging 368 } 369 return false 370} 371 372// Deprecated: Do not use. 373func (x *Agent) GetMatchMode() Agent_MatchMode { 374 if x != nil { 375 return x.MatchMode 376 } 377 return Agent_MATCH_MODE_UNSPECIFIED 378} 379 380func (x *Agent) GetClassificationThreshold() float32 { 381 if x != nil { 382 return x.ClassificationThreshold 383 } 384 return 0 385} 386 387func (x *Agent) GetApiVersion() Agent_ApiVersion { 388 if x != nil { 389 return x.ApiVersion 390 } 391 return Agent_API_VERSION_UNSPECIFIED 392} 393 394func (x *Agent) GetTier() Agent_Tier { 395 if x != nil { 396 return x.Tier 397 } 398 return Agent_TIER_UNSPECIFIED 399} 400 401// The request message for [Agents.GetAgent][google.cloud.dialogflow.v2.Agents.GetAgent]. 402type GetAgentRequest struct { 403 state protoimpl.MessageState 404 sizeCache protoimpl.SizeCache 405 unknownFields protoimpl.UnknownFields 406 407 // Required. The project that the agent to fetch is associated with. 408 // Format: `projects/<Project ID>`. 409 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 410} 411 412func (x *GetAgentRequest) Reset() { 413 *x = GetAgentRequest{} 414 if protoimpl.UnsafeEnabled { 415 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[1] 416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 417 ms.StoreMessageInfo(mi) 418 } 419} 420 421func (x *GetAgentRequest) String() string { 422 return protoimpl.X.MessageStringOf(x) 423} 424 425func (*GetAgentRequest) ProtoMessage() {} 426 427func (x *GetAgentRequest) ProtoReflect() protoreflect.Message { 428 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[1] 429 if protoimpl.UnsafeEnabled && x != nil { 430 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 431 if ms.LoadMessageInfo() == nil { 432 ms.StoreMessageInfo(mi) 433 } 434 return ms 435 } 436 return mi.MessageOf(x) 437} 438 439// Deprecated: Use GetAgentRequest.ProtoReflect.Descriptor instead. 440func (*GetAgentRequest) Descriptor() ([]byte, []int) { 441 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{1} 442} 443 444func (x *GetAgentRequest) GetParent() string { 445 if x != nil { 446 return x.Parent 447 } 448 return "" 449} 450 451// The request message for [Agents.SetAgent][google.cloud.dialogflow.v2.Agents.SetAgent]. 452type SetAgentRequest struct { 453 state protoimpl.MessageState 454 sizeCache protoimpl.SizeCache 455 unknownFields protoimpl.UnknownFields 456 457 // Required. The agent to update. 458 Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` 459 // Optional. The mask to control which fields get updated. 460 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 461} 462 463func (x *SetAgentRequest) Reset() { 464 *x = SetAgentRequest{} 465 if protoimpl.UnsafeEnabled { 466 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[2] 467 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 468 ms.StoreMessageInfo(mi) 469 } 470} 471 472func (x *SetAgentRequest) String() string { 473 return protoimpl.X.MessageStringOf(x) 474} 475 476func (*SetAgentRequest) ProtoMessage() {} 477 478func (x *SetAgentRequest) ProtoReflect() protoreflect.Message { 479 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[2] 480 if protoimpl.UnsafeEnabled && x != nil { 481 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 482 if ms.LoadMessageInfo() == nil { 483 ms.StoreMessageInfo(mi) 484 } 485 return ms 486 } 487 return mi.MessageOf(x) 488} 489 490// Deprecated: Use SetAgentRequest.ProtoReflect.Descriptor instead. 491func (*SetAgentRequest) Descriptor() ([]byte, []int) { 492 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{2} 493} 494 495func (x *SetAgentRequest) GetAgent() *Agent { 496 if x != nil { 497 return x.Agent 498 } 499 return nil 500} 501 502func (x *SetAgentRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 503 if x != nil { 504 return x.UpdateMask 505 } 506 return nil 507} 508 509// The request message for [Agents.DeleteAgent][google.cloud.dialogflow.v2.Agents.DeleteAgent]. 510type DeleteAgentRequest struct { 511 state protoimpl.MessageState 512 sizeCache protoimpl.SizeCache 513 unknownFields protoimpl.UnknownFields 514 515 // Required. The project that the agent to delete is associated with. 516 // Format: `projects/<Project ID>`. 517 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 518} 519 520func (x *DeleteAgentRequest) Reset() { 521 *x = DeleteAgentRequest{} 522 if protoimpl.UnsafeEnabled { 523 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[3] 524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 525 ms.StoreMessageInfo(mi) 526 } 527} 528 529func (x *DeleteAgentRequest) String() string { 530 return protoimpl.X.MessageStringOf(x) 531} 532 533func (*DeleteAgentRequest) ProtoMessage() {} 534 535func (x *DeleteAgentRequest) ProtoReflect() protoreflect.Message { 536 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[3] 537 if protoimpl.UnsafeEnabled && x != nil { 538 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 539 if ms.LoadMessageInfo() == nil { 540 ms.StoreMessageInfo(mi) 541 } 542 return ms 543 } 544 return mi.MessageOf(x) 545} 546 547// Deprecated: Use DeleteAgentRequest.ProtoReflect.Descriptor instead. 548func (*DeleteAgentRequest) Descriptor() ([]byte, []int) { 549 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{3} 550} 551 552func (x *DeleteAgentRequest) GetParent() string { 553 if x != nil { 554 return x.Parent 555 } 556 return "" 557} 558 559// The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents]. 560type SearchAgentsRequest struct { 561 state protoimpl.MessageState 562 sizeCache protoimpl.SizeCache 563 unknownFields protoimpl.UnknownFields 564 565 // Required. The project to list agents from. 566 // Format: `projects/<Project ID or '-'>`. 567 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 568 // Optional. The maximum number of items to return in a single page. By 569 // default 100 and at most 1000. 570 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 571 // The next_page_token value returned from a previous list request. 572 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 573} 574 575func (x *SearchAgentsRequest) Reset() { 576 *x = SearchAgentsRequest{} 577 if protoimpl.UnsafeEnabled { 578 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[4] 579 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 580 ms.StoreMessageInfo(mi) 581 } 582} 583 584func (x *SearchAgentsRequest) String() string { 585 return protoimpl.X.MessageStringOf(x) 586} 587 588func (*SearchAgentsRequest) ProtoMessage() {} 589 590func (x *SearchAgentsRequest) ProtoReflect() protoreflect.Message { 591 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[4] 592 if protoimpl.UnsafeEnabled && x != nil { 593 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 594 if ms.LoadMessageInfo() == nil { 595 ms.StoreMessageInfo(mi) 596 } 597 return ms 598 } 599 return mi.MessageOf(x) 600} 601 602// Deprecated: Use SearchAgentsRequest.ProtoReflect.Descriptor instead. 603func (*SearchAgentsRequest) Descriptor() ([]byte, []int) { 604 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{4} 605} 606 607func (x *SearchAgentsRequest) GetParent() string { 608 if x != nil { 609 return x.Parent 610 } 611 return "" 612} 613 614func (x *SearchAgentsRequest) GetPageSize() int32 { 615 if x != nil { 616 return x.PageSize 617 } 618 return 0 619} 620 621func (x *SearchAgentsRequest) GetPageToken() string { 622 if x != nil { 623 return x.PageToken 624 } 625 return "" 626} 627 628// The response message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents]. 629type SearchAgentsResponse struct { 630 state protoimpl.MessageState 631 sizeCache protoimpl.SizeCache 632 unknownFields protoimpl.UnknownFields 633 634 // The list of agents. There will be a maximum number of items returned based 635 // on the page_size field in the request. 636 Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` 637 // Token to retrieve the next page of results, or empty if there are no 638 // more results in the list. 639 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 640} 641 642func (x *SearchAgentsResponse) Reset() { 643 *x = SearchAgentsResponse{} 644 if protoimpl.UnsafeEnabled { 645 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[5] 646 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 647 ms.StoreMessageInfo(mi) 648 } 649} 650 651func (x *SearchAgentsResponse) String() string { 652 return protoimpl.X.MessageStringOf(x) 653} 654 655func (*SearchAgentsResponse) ProtoMessage() {} 656 657func (x *SearchAgentsResponse) ProtoReflect() protoreflect.Message { 658 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[5] 659 if protoimpl.UnsafeEnabled && x != nil { 660 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 661 if ms.LoadMessageInfo() == nil { 662 ms.StoreMessageInfo(mi) 663 } 664 return ms 665 } 666 return mi.MessageOf(x) 667} 668 669// Deprecated: Use SearchAgentsResponse.ProtoReflect.Descriptor instead. 670func (*SearchAgentsResponse) Descriptor() ([]byte, []int) { 671 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{5} 672} 673 674func (x *SearchAgentsResponse) GetAgents() []*Agent { 675 if x != nil { 676 return x.Agents 677 } 678 return nil 679} 680 681func (x *SearchAgentsResponse) GetNextPageToken() string { 682 if x != nil { 683 return x.NextPageToken 684 } 685 return "" 686} 687 688// The request message for [Agents.TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent]. 689type TrainAgentRequest struct { 690 state protoimpl.MessageState 691 sizeCache protoimpl.SizeCache 692 unknownFields protoimpl.UnknownFields 693 694 // Required. The project that the agent to train is associated with. 695 // Format: `projects/<Project ID>`. 696 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 697} 698 699func (x *TrainAgentRequest) Reset() { 700 *x = TrainAgentRequest{} 701 if protoimpl.UnsafeEnabled { 702 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[6] 703 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 704 ms.StoreMessageInfo(mi) 705 } 706} 707 708func (x *TrainAgentRequest) String() string { 709 return protoimpl.X.MessageStringOf(x) 710} 711 712func (*TrainAgentRequest) ProtoMessage() {} 713 714func (x *TrainAgentRequest) ProtoReflect() protoreflect.Message { 715 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[6] 716 if protoimpl.UnsafeEnabled && x != nil { 717 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 718 if ms.LoadMessageInfo() == nil { 719 ms.StoreMessageInfo(mi) 720 } 721 return ms 722 } 723 return mi.MessageOf(x) 724} 725 726// Deprecated: Use TrainAgentRequest.ProtoReflect.Descriptor instead. 727func (*TrainAgentRequest) Descriptor() ([]byte, []int) { 728 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{6} 729} 730 731func (x *TrainAgentRequest) GetParent() string { 732 if x != nil { 733 return x.Parent 734 } 735 return "" 736} 737 738// The request message for [Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent]. 739type ExportAgentRequest struct { 740 state protoimpl.MessageState 741 sizeCache protoimpl.SizeCache 742 unknownFields protoimpl.UnknownFields 743 744 // Required. The project that the agent to export is associated with. 745 // Format: `projects/<Project ID>`. 746 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 747 // Required. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 748 // URI to export the agent to. 749 // The format of this URI must be `gs://<bucket-name>/<object-name>`. 750 // If left unspecified, the serialized agent is returned inline. 751 AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3" json:"agent_uri,omitempty"` 752} 753 754func (x *ExportAgentRequest) Reset() { 755 *x = ExportAgentRequest{} 756 if protoimpl.UnsafeEnabled { 757 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[7] 758 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 759 ms.StoreMessageInfo(mi) 760 } 761} 762 763func (x *ExportAgentRequest) String() string { 764 return protoimpl.X.MessageStringOf(x) 765} 766 767func (*ExportAgentRequest) ProtoMessage() {} 768 769func (x *ExportAgentRequest) ProtoReflect() protoreflect.Message { 770 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[7] 771 if protoimpl.UnsafeEnabled && x != nil { 772 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 773 if ms.LoadMessageInfo() == nil { 774 ms.StoreMessageInfo(mi) 775 } 776 return ms 777 } 778 return mi.MessageOf(x) 779} 780 781// Deprecated: Use ExportAgentRequest.ProtoReflect.Descriptor instead. 782func (*ExportAgentRequest) Descriptor() ([]byte, []int) { 783 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{7} 784} 785 786func (x *ExportAgentRequest) GetParent() string { 787 if x != nil { 788 return x.Parent 789 } 790 return "" 791} 792 793func (x *ExportAgentRequest) GetAgentUri() string { 794 if x != nil { 795 return x.AgentUri 796 } 797 return "" 798} 799 800// The response message for [Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent]. 801type ExportAgentResponse struct { 802 state protoimpl.MessageState 803 sizeCache protoimpl.SizeCache 804 unknownFields protoimpl.UnknownFields 805 806 // The exported agent. 807 // 808 // Types that are assignable to Agent: 809 // *ExportAgentResponse_AgentUri 810 // *ExportAgentResponse_AgentContent 811 Agent isExportAgentResponse_Agent `protobuf_oneof:"agent"` 812} 813 814func (x *ExportAgentResponse) Reset() { 815 *x = ExportAgentResponse{} 816 if protoimpl.UnsafeEnabled { 817 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[8] 818 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 819 ms.StoreMessageInfo(mi) 820 } 821} 822 823func (x *ExportAgentResponse) String() string { 824 return protoimpl.X.MessageStringOf(x) 825} 826 827func (*ExportAgentResponse) ProtoMessage() {} 828 829func (x *ExportAgentResponse) ProtoReflect() protoreflect.Message { 830 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[8] 831 if protoimpl.UnsafeEnabled && x != nil { 832 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 833 if ms.LoadMessageInfo() == nil { 834 ms.StoreMessageInfo(mi) 835 } 836 return ms 837 } 838 return mi.MessageOf(x) 839} 840 841// Deprecated: Use ExportAgentResponse.ProtoReflect.Descriptor instead. 842func (*ExportAgentResponse) Descriptor() ([]byte, []int) { 843 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{8} 844} 845 846func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent { 847 if m != nil { 848 return m.Agent 849 } 850 return nil 851} 852 853func (x *ExportAgentResponse) GetAgentUri() string { 854 if x, ok := x.GetAgent().(*ExportAgentResponse_AgentUri); ok { 855 return x.AgentUri 856 } 857 return "" 858} 859 860func (x *ExportAgentResponse) GetAgentContent() []byte { 861 if x, ok := x.GetAgent().(*ExportAgentResponse_AgentContent); ok { 862 return x.AgentContent 863 } 864 return nil 865} 866 867type isExportAgentResponse_Agent interface { 868 isExportAgentResponse_Agent() 869} 870 871type ExportAgentResponse_AgentUri struct { 872 // The URI to a file containing the exported agent. This field is populated 873 // only if `agent_uri` is specified in `ExportAgentRequest`. 874 AgentUri string `protobuf:"bytes,1,opt,name=agent_uri,json=agentUri,proto3,oneof"` 875} 876 877type ExportAgentResponse_AgentContent struct { 878 // Zip compressed raw byte content for agent. 879 AgentContent []byte `protobuf:"bytes,2,opt,name=agent_content,json=agentContent,proto3,oneof"` 880} 881 882func (*ExportAgentResponse_AgentUri) isExportAgentResponse_Agent() {} 883 884func (*ExportAgentResponse_AgentContent) isExportAgentResponse_Agent() {} 885 886// The request message for [Agents.ImportAgent][google.cloud.dialogflow.v2.Agents.ImportAgent]. 887type ImportAgentRequest struct { 888 state protoimpl.MessageState 889 sizeCache protoimpl.SizeCache 890 unknownFields protoimpl.UnknownFields 891 892 // Required. The project that the agent to import is associated with. 893 // Format: `projects/<Project ID>`. 894 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 895 // Required. The agent to import. 896 // 897 // Types that are assignable to Agent: 898 // *ImportAgentRequest_AgentUri 899 // *ImportAgentRequest_AgentContent 900 Agent isImportAgentRequest_Agent `protobuf_oneof:"agent"` 901} 902 903func (x *ImportAgentRequest) Reset() { 904 *x = ImportAgentRequest{} 905 if protoimpl.UnsafeEnabled { 906 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[9] 907 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 908 ms.StoreMessageInfo(mi) 909 } 910} 911 912func (x *ImportAgentRequest) String() string { 913 return protoimpl.X.MessageStringOf(x) 914} 915 916func (*ImportAgentRequest) ProtoMessage() {} 917 918func (x *ImportAgentRequest) ProtoReflect() protoreflect.Message { 919 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[9] 920 if protoimpl.UnsafeEnabled && x != nil { 921 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 922 if ms.LoadMessageInfo() == nil { 923 ms.StoreMessageInfo(mi) 924 } 925 return ms 926 } 927 return mi.MessageOf(x) 928} 929 930// Deprecated: Use ImportAgentRequest.ProtoReflect.Descriptor instead. 931func (*ImportAgentRequest) Descriptor() ([]byte, []int) { 932 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{9} 933} 934 935func (x *ImportAgentRequest) GetParent() string { 936 if x != nil { 937 return x.Parent 938 } 939 return "" 940} 941 942func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent { 943 if m != nil { 944 return m.Agent 945 } 946 return nil 947} 948 949func (x *ImportAgentRequest) GetAgentUri() string { 950 if x, ok := x.GetAgent().(*ImportAgentRequest_AgentUri); ok { 951 return x.AgentUri 952 } 953 return "" 954} 955 956func (x *ImportAgentRequest) GetAgentContent() []byte { 957 if x, ok := x.GetAgent().(*ImportAgentRequest_AgentContent); ok { 958 return x.AgentContent 959 } 960 return nil 961} 962 963type isImportAgentRequest_Agent interface { 964 isImportAgentRequest_Agent() 965} 966 967type ImportAgentRequest_AgentUri struct { 968 // The URI to a Google Cloud Storage file containing the agent to import. 969 // Note: The URI must start with "gs://". 970 AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"` 971} 972 973type ImportAgentRequest_AgentContent struct { 974 // Zip compressed raw byte content for agent. 975 AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"` 976} 977 978func (*ImportAgentRequest_AgentUri) isImportAgentRequest_Agent() {} 979 980func (*ImportAgentRequest_AgentContent) isImportAgentRequest_Agent() {} 981 982// The request message for [Agents.RestoreAgent][google.cloud.dialogflow.v2.Agents.RestoreAgent]. 983type RestoreAgentRequest struct { 984 state protoimpl.MessageState 985 sizeCache protoimpl.SizeCache 986 unknownFields protoimpl.UnknownFields 987 988 // Required. The project that the agent to restore is associated with. 989 // Format: `projects/<Project ID>`. 990 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 991 // Required. The agent to restore. 992 // 993 // Types that are assignable to Agent: 994 // *RestoreAgentRequest_AgentUri 995 // *RestoreAgentRequest_AgentContent 996 Agent isRestoreAgentRequest_Agent `protobuf_oneof:"agent"` 997} 998 999func (x *RestoreAgentRequest) Reset() { 1000 *x = RestoreAgentRequest{} 1001 if protoimpl.UnsafeEnabled { 1002 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[10] 1003 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1004 ms.StoreMessageInfo(mi) 1005 } 1006} 1007 1008func (x *RestoreAgentRequest) String() string { 1009 return protoimpl.X.MessageStringOf(x) 1010} 1011 1012func (*RestoreAgentRequest) ProtoMessage() {} 1013 1014func (x *RestoreAgentRequest) ProtoReflect() protoreflect.Message { 1015 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[10] 1016 if protoimpl.UnsafeEnabled && x != nil { 1017 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1018 if ms.LoadMessageInfo() == nil { 1019 ms.StoreMessageInfo(mi) 1020 } 1021 return ms 1022 } 1023 return mi.MessageOf(x) 1024} 1025 1026// Deprecated: Use RestoreAgentRequest.ProtoReflect.Descriptor instead. 1027func (*RestoreAgentRequest) Descriptor() ([]byte, []int) { 1028 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{10} 1029} 1030 1031func (x *RestoreAgentRequest) GetParent() string { 1032 if x != nil { 1033 return x.Parent 1034 } 1035 return "" 1036} 1037 1038func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent { 1039 if m != nil { 1040 return m.Agent 1041 } 1042 return nil 1043} 1044 1045func (x *RestoreAgentRequest) GetAgentUri() string { 1046 if x, ok := x.GetAgent().(*RestoreAgentRequest_AgentUri); ok { 1047 return x.AgentUri 1048 } 1049 return "" 1050} 1051 1052func (x *RestoreAgentRequest) GetAgentContent() []byte { 1053 if x, ok := x.GetAgent().(*RestoreAgentRequest_AgentContent); ok { 1054 return x.AgentContent 1055 } 1056 return nil 1057} 1058 1059type isRestoreAgentRequest_Agent interface { 1060 isRestoreAgentRequest_Agent() 1061} 1062 1063type RestoreAgentRequest_AgentUri struct { 1064 // The URI to a Google Cloud Storage file containing the agent to restore. 1065 // Note: The URI must start with "gs://". 1066 AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"` 1067} 1068 1069type RestoreAgentRequest_AgentContent struct { 1070 // Zip compressed raw byte content for agent. 1071 AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"` 1072} 1073 1074func (*RestoreAgentRequest_AgentUri) isRestoreAgentRequest_Agent() {} 1075 1076func (*RestoreAgentRequest_AgentContent) isRestoreAgentRequest_Agent() {} 1077 1078// The request message for [Agents.GetValidationResult][google.cloud.dialogflow.v2.Agents.GetValidationResult]. 1079type GetValidationResultRequest struct { 1080 state protoimpl.MessageState 1081 sizeCache protoimpl.SizeCache 1082 unknownFields protoimpl.UnknownFields 1083 1084 // Required. The project that the agent is associated with. 1085 // Format: `projects/<Project ID>`. 1086 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1087 // Optional. The language for which you want a validation result. If not 1088 // specified, the agent's default language is used. [Many 1089 // languages](https://cloud.google.com/dialogflow/docs/reference/language) 1090 // are supported. Note: languages must be enabled in the agent before they can 1091 // be used. 1092 LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 1093} 1094 1095func (x *GetValidationResultRequest) Reset() { 1096 *x = GetValidationResultRequest{} 1097 if protoimpl.UnsafeEnabled { 1098 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[11] 1099 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1100 ms.StoreMessageInfo(mi) 1101 } 1102} 1103 1104func (x *GetValidationResultRequest) String() string { 1105 return protoimpl.X.MessageStringOf(x) 1106} 1107 1108func (*GetValidationResultRequest) ProtoMessage() {} 1109 1110func (x *GetValidationResultRequest) ProtoReflect() protoreflect.Message { 1111 mi := &file_google_cloud_dialogflow_v2_agent_proto_msgTypes[11] 1112 if protoimpl.UnsafeEnabled && x != nil { 1113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1114 if ms.LoadMessageInfo() == nil { 1115 ms.StoreMessageInfo(mi) 1116 } 1117 return ms 1118 } 1119 return mi.MessageOf(x) 1120} 1121 1122// Deprecated: Use GetValidationResultRequest.ProtoReflect.Descriptor instead. 1123func (*GetValidationResultRequest) Descriptor() ([]byte, []int) { 1124 return file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP(), []int{11} 1125} 1126 1127func (x *GetValidationResultRequest) GetParent() string { 1128 if x != nil { 1129 return x.Parent 1130 } 1131 return "" 1132} 1133 1134func (x *GetValidationResultRequest) GetLanguageCode() string { 1135 if x != nil { 1136 return x.LanguageCode 1137 } 1138 return "" 1139} 1140 1141var File_google_cloud_dialogflow_v2_agent_proto protoreflect.FileDescriptor 1142 1143var file_google_cloud_dialogflow_v2_agent_proto_rawDesc = []byte{ 1144 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 1145 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x67, 0x65, 1146 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1147 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1148 0x77, 0x2e, 0x76, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 1149 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 1150 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 1151 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 1152 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 1153 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 1154 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 1155 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 1156 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 1157 0x2f, 0x76, 0x32, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 1158 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 1159 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 1160 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1161 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 1162 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 1163 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 1164 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 1165 0x9b, 0x08, 0x0a, 0x05, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x70, 0x61, 0x72, 1166 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 1167 0x2d, 0x0a, 0x2b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 1168 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 1169 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 1170 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 1171 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 1172 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 1173 0x0a, 0x15, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 1174 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 1175 0x41, 0x02, 0x52, 0x13, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 1176 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x3d, 0x0a, 0x18, 0x73, 0x75, 0x70, 0x70, 0x6f, 1177 0x72, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 1178 0x64, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x16, 1179 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 1180 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 1181 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 1182 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 1183 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 1184 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 1185 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x07, 0x20, 1186 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 1187 0x55, 0x72, 0x69, 0x12, 0x2a, 0x0a, 0x0e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6c, 0x6f, 1188 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 1189 0x52, 0x0d, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x12, 1190 0x51, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 1191 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1192 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 1193 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 1194 0x42, 0x05, 0x18, 0x01, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x6f, 1195 0x64, 0x65, 0x12, 0x3e, 0x0a, 0x18, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 1196 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x0a, 1197 0x20, 0x01, 0x28, 0x02, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x17, 0x63, 0x6c, 0x61, 0x73, 0x73, 1198 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 1199 0x6c, 0x64, 0x12, 0x52, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 1200 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1201 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1202 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x70, 0x69, 0x56, 0x65, 1203 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 1204 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x69, 0x65, 0x72, 0x18, 0x0f, 1205 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1206 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 1207 0x32, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x69, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 1208 0x01, 0x52, 0x04, 0x74, 0x69, 0x65, 0x72, 0x22, 0x56, 0x0a, 0x09, 0x4d, 0x61, 0x74, 0x63, 0x68, 1209 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x4d, 0x4f, 1210 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 1211 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x48, 1212 0x59, 0x42, 0x52, 0x49, 0x44, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x41, 0x54, 0x43, 0x48, 1213 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x4d, 0x4c, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x22, 1214 0x6c, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 1215 0x17, 0x41, 0x50, 0x49, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 1216 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x50, 1217 0x49, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x31, 0x10, 0x01, 0x12, 0x12, 1218 0x0a, 0x0e, 0x41, 0x50, 0x49, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x32, 1219 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x50, 0x49, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 1220 0x4e, 0x5f, 0x56, 0x32, 0x5f, 0x42, 0x45, 0x54, 0x41, 0x5f, 0x31, 0x10, 0x03, 0x22, 0x5e, 0x0a, 1221 0x04, 0x54, 0x69, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x45, 0x52, 0x5f, 0x55, 0x4e, 1222 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x54, 1223 0x49, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x10, 0x01, 0x12, 0x13, 1224 0x0a, 0x0f, 0x54, 0x49, 0x45, 0x52, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x50, 0x52, 0x49, 0x53, 1225 0x45, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x49, 0x45, 0x52, 0x5f, 0x45, 0x4e, 0x54, 0x45, 1226 0x52, 0x50, 0x52, 0x49, 0x53, 0x45, 0x5f, 0x50, 0x4c, 0x55, 0x53, 0x10, 0x03, 0x3a, 0x3e, 0xea, 1227 0x41, 0x3b, 0x0a, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 1228 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 1229 0x65, 0x6e, 0x74, 0x12, 0x18, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 1230 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x52, 0x0a, 1231 0x0f, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1232 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1233 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1234 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 1235 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 1236 0x74, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 1237 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 1238 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1239 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 1240 0x32, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x61, 0x67, 1241 0x65, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 1242 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1243 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 1244 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 1245 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x55, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 1246 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 1247 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 1248 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 1249 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 1250 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x97, 0x01, 0x0a, 1251 0x13, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 1252 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 1253 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x64, 0x69, 1254 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 1255 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 1256 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 1257 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 1258 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 1259 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 1260 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x79, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 1261 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 1262 0x0a, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 1263 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 1264 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x67, 0x65, 0x6e, 1265 0x74, 0x52, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 1266 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 1267 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 1268 0x6e, 0x22, 0x54, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 1269 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 1270 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 1271 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1272 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 1273 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x77, 0x0a, 0x12, 0x45, 0x78, 0x70, 0x6f, 0x72, 1274 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 1275 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 1276 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1277 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 1278 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 1279 0x0a, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 1280 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69, 1281 0x22, 0x64, 0x0a, 0x13, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 1282 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 1283 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x61, 0x67, 1284 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69, 0x12, 0x25, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 1285 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 1286 0x0c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x07, 0x0a, 1287 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x22, 0xa4, 0x01, 0x0a, 0x12, 0x49, 0x6d, 0x70, 0x6f, 0x72, 1288 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 1289 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 1290 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1291 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 1292 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d, 1293 0x0a, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 1294 0x09, 0x48, 0x00, 0x52, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69, 0x12, 0x25, 0x0a, 1295 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 1296 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 1297 0x74, 0x65, 0x6e, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x22, 0xa5, 0x01, 1298 0x0a, 0x13, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 1299 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 1300 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x64, 1301 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1302 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 1303 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 1304 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x61, 0x67, 0x65, 1305 0x6e, 0x74, 0x55, 0x72, 0x69, 0x12, 0x25, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x63, 1306 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0c, 1307 0x61, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x07, 0x0a, 0x05, 1308 0x61, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x87, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 1309 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 1310 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 1311 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x64, 0x69, 1312 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 1313 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 1314 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 1315 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 1316 0x01, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x32, 1317 0xaa, 0x11, 0x0a, 0x06, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x12, 0xb7, 0x01, 0x0a, 0x08, 0x47, 1318 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1319 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1320 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 1321 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1322 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 1323 0x32, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4c, 0x12, 1324 0x1d, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 1325 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5a, 0x2b, 1326 0x12, 0x29, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 1327 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 1328 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0xda, 0x41, 0x06, 0x70, 0x61, 1329 0x72, 0x65, 0x6e, 0x74, 0x12, 0xd0, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 1330 0x74, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1331 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x53, 1332 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 1333 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 1334 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x67, 0x65, 0x6e, 1335 0x74, 0x22, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x66, 0x22, 0x23, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 1336 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 1337 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x05, 1338 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5a, 0x38, 0x22, 0x2f, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x61, 0x67, 1339 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 1340 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1341 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0xda, 1342 0x41, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0xb2, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 1343 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1344 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1345 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 1346 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1347 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 1348 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4c, 0x2a, 0x1d, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 1349 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 1350 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5a, 0x2b, 0x2a, 0x29, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 1351 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 1352 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 1353 0x65, 0x6e, 0x74, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xdc, 0x01, 0x0a, 1354 0x0c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2f, 0x2e, 1355 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 1356 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 1357 0x68, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 1358 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 1359 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x61, 0x72, 1360 0x63, 0x68, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1361 0x22, 0x69, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5a, 0x12, 0x24, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 1362 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 1363 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5a, 0x32, 1364 0x12, 0x30, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 1365 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 1366 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x73, 0x65, 0x61, 0x72, 1367 0x63, 0x68, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xfc, 0x01, 0x0a, 0x0a, 1368 0x54, 0x72, 0x61, 0x69, 0x6e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 1369 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1370 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x41, 0x67, 0x65, 1371 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1372 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 1373 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9f, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 1374 0x5e, 0x22, 0x23, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 1375 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 1376 0x3a, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x34, 0x22, 0x2f, 0x2f, 0x76, 0x32, 1377 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 1378 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 1379 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x3a, 0x01, 0x2a, 0xda, 1380 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0xca, 0x41, 0x2f, 0x0a, 0x15, 0x67, 0x6f, 0x6f, 1381 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 1382 0x74, 0x79, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1383 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x99, 0x02, 0x0a, 0x0b, 0x45, 1384 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 1385 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1386 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x67, 1387 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 1388 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 1389 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xba, 0x01, 0x82, 0xd3, 0xe4, 0x93, 1390 0x02, 0x60, 0x22, 0x24, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 1391 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 1392 0x74, 0x3a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x35, 0x22, 0x30, 0x2f, 1393 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 1394 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1395 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x3a, 1396 0x01, 0x2a, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0xca, 0x41, 0x48, 0x0a, 0x2e, 1397 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 1398 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 1399 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 1400 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 1401 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0xf7, 0x01, 0x0a, 0x0b, 0x49, 0x6d, 0x70, 0x6f, 0x72, 1402 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1403 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 1404 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 1405 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1406 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 1407 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x98, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x60, 0x22, 0x24, 1408 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 1409 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x69, 0x6d, 1410 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x35, 0x22, 0x30, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 1411 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 1412 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 1413 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0xca, 0x41, 1414 0x2f, 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 1415 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1416 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 1417 0x12, 0xfb, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x41, 0x67, 0x65, 0x6e, 1418 0x74, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1419 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x52, 1420 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 1421 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 1422 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 1423 0x6e, 0x22, 0x9a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x62, 0x22, 0x25, 0x2f, 0x76, 0x32, 0x2f, 1424 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 1425 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 1426 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x36, 0x22, 0x31, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 1427 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 1428 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 1429 0x74, 0x3a, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x01, 0x2a, 0xca, 0x41, 0x2f, 0x0a, 1430 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 1431 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 1432 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0xf1, 1433 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1434 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1435 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 1436 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 1437 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 1438 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 1439 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, 1440 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x74, 0x82, 0xd3, 1441 0xe4, 0x93, 0x02, 0x6e, 0x12, 0x2e, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 1442 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 1443 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 1444 0x73, 0x75, 0x6c, 0x74, 0x5a, 0x3c, 0x12, 0x3a, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 1445 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 1446 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 1447 0x74, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 1448 0x6c, 0x74, 0x1a, 0x78, 0xca, 0x41, 0x19, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1449 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 1450 0xd2, 0x41, 0x59, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 1451 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 1452 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 1453 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 1454 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 1455 0x68, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x42, 0x99, 0x01, 0x0a, 1456 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1457 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x42, 1458 0x0a, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 1459 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 1460 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1461 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 1462 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x76, 0x32, 0x3b, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 1463 0x6c, 0x6f, 0x77, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 0x46, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 1464 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 1465 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1466} 1467 1468var ( 1469 file_google_cloud_dialogflow_v2_agent_proto_rawDescOnce sync.Once 1470 file_google_cloud_dialogflow_v2_agent_proto_rawDescData = file_google_cloud_dialogflow_v2_agent_proto_rawDesc 1471) 1472 1473func file_google_cloud_dialogflow_v2_agent_proto_rawDescGZIP() []byte { 1474 file_google_cloud_dialogflow_v2_agent_proto_rawDescOnce.Do(func() { 1475 file_google_cloud_dialogflow_v2_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_v2_agent_proto_rawDescData) 1476 }) 1477 return file_google_cloud_dialogflow_v2_agent_proto_rawDescData 1478} 1479 1480var file_google_cloud_dialogflow_v2_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 1481var file_google_cloud_dialogflow_v2_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 12) 1482var file_google_cloud_dialogflow_v2_agent_proto_goTypes = []interface{}{ 1483 (Agent_MatchMode)(0), // 0: google.cloud.dialogflow.v2.Agent.MatchMode 1484 (Agent_ApiVersion)(0), // 1: google.cloud.dialogflow.v2.Agent.ApiVersion 1485 (Agent_Tier)(0), // 2: google.cloud.dialogflow.v2.Agent.Tier 1486 (*Agent)(nil), // 3: google.cloud.dialogflow.v2.Agent 1487 (*GetAgentRequest)(nil), // 4: google.cloud.dialogflow.v2.GetAgentRequest 1488 (*SetAgentRequest)(nil), // 5: google.cloud.dialogflow.v2.SetAgentRequest 1489 (*DeleteAgentRequest)(nil), // 6: google.cloud.dialogflow.v2.DeleteAgentRequest 1490 (*SearchAgentsRequest)(nil), // 7: google.cloud.dialogflow.v2.SearchAgentsRequest 1491 (*SearchAgentsResponse)(nil), // 8: google.cloud.dialogflow.v2.SearchAgentsResponse 1492 (*TrainAgentRequest)(nil), // 9: google.cloud.dialogflow.v2.TrainAgentRequest 1493 (*ExportAgentRequest)(nil), // 10: google.cloud.dialogflow.v2.ExportAgentRequest 1494 (*ExportAgentResponse)(nil), // 11: google.cloud.dialogflow.v2.ExportAgentResponse 1495 (*ImportAgentRequest)(nil), // 12: google.cloud.dialogflow.v2.ImportAgentRequest 1496 (*RestoreAgentRequest)(nil), // 13: google.cloud.dialogflow.v2.RestoreAgentRequest 1497 (*GetValidationResultRequest)(nil), // 14: google.cloud.dialogflow.v2.GetValidationResultRequest 1498 (*fieldmaskpb.FieldMask)(nil), // 15: google.protobuf.FieldMask 1499 (*emptypb.Empty)(nil), // 16: google.protobuf.Empty 1500 (*longrunning.Operation)(nil), // 17: google.longrunning.Operation 1501 (*ValidationResult)(nil), // 18: google.cloud.dialogflow.v2.ValidationResult 1502} 1503var file_google_cloud_dialogflow_v2_agent_proto_depIdxs = []int32{ 1504 0, // 0: google.cloud.dialogflow.v2.Agent.match_mode:type_name -> google.cloud.dialogflow.v2.Agent.MatchMode 1505 1, // 1: google.cloud.dialogflow.v2.Agent.api_version:type_name -> google.cloud.dialogflow.v2.Agent.ApiVersion 1506 2, // 2: google.cloud.dialogflow.v2.Agent.tier:type_name -> google.cloud.dialogflow.v2.Agent.Tier 1507 3, // 3: google.cloud.dialogflow.v2.SetAgentRequest.agent:type_name -> google.cloud.dialogflow.v2.Agent 1508 15, // 4: google.cloud.dialogflow.v2.SetAgentRequest.update_mask:type_name -> google.protobuf.FieldMask 1509 3, // 5: google.cloud.dialogflow.v2.SearchAgentsResponse.agents:type_name -> google.cloud.dialogflow.v2.Agent 1510 4, // 6: google.cloud.dialogflow.v2.Agents.GetAgent:input_type -> google.cloud.dialogflow.v2.GetAgentRequest 1511 5, // 7: google.cloud.dialogflow.v2.Agents.SetAgent:input_type -> google.cloud.dialogflow.v2.SetAgentRequest 1512 6, // 8: google.cloud.dialogflow.v2.Agents.DeleteAgent:input_type -> google.cloud.dialogflow.v2.DeleteAgentRequest 1513 7, // 9: google.cloud.dialogflow.v2.Agents.SearchAgents:input_type -> google.cloud.dialogflow.v2.SearchAgentsRequest 1514 9, // 10: google.cloud.dialogflow.v2.Agents.TrainAgent:input_type -> google.cloud.dialogflow.v2.TrainAgentRequest 1515 10, // 11: google.cloud.dialogflow.v2.Agents.ExportAgent:input_type -> google.cloud.dialogflow.v2.ExportAgentRequest 1516 12, // 12: google.cloud.dialogflow.v2.Agents.ImportAgent:input_type -> google.cloud.dialogflow.v2.ImportAgentRequest 1517 13, // 13: google.cloud.dialogflow.v2.Agents.RestoreAgent:input_type -> google.cloud.dialogflow.v2.RestoreAgentRequest 1518 14, // 14: google.cloud.dialogflow.v2.Agents.GetValidationResult:input_type -> google.cloud.dialogflow.v2.GetValidationResultRequest 1519 3, // 15: google.cloud.dialogflow.v2.Agents.GetAgent:output_type -> google.cloud.dialogflow.v2.Agent 1520 3, // 16: google.cloud.dialogflow.v2.Agents.SetAgent:output_type -> google.cloud.dialogflow.v2.Agent 1521 16, // 17: google.cloud.dialogflow.v2.Agents.DeleteAgent:output_type -> google.protobuf.Empty 1522 8, // 18: google.cloud.dialogflow.v2.Agents.SearchAgents:output_type -> google.cloud.dialogflow.v2.SearchAgentsResponse 1523 17, // 19: google.cloud.dialogflow.v2.Agents.TrainAgent:output_type -> google.longrunning.Operation 1524 17, // 20: google.cloud.dialogflow.v2.Agents.ExportAgent:output_type -> google.longrunning.Operation 1525 17, // 21: google.cloud.dialogflow.v2.Agents.ImportAgent:output_type -> google.longrunning.Operation 1526 17, // 22: google.cloud.dialogflow.v2.Agents.RestoreAgent:output_type -> google.longrunning.Operation 1527 18, // 23: google.cloud.dialogflow.v2.Agents.GetValidationResult:output_type -> google.cloud.dialogflow.v2.ValidationResult 1528 15, // [15:24] is the sub-list for method output_type 1529 6, // [6:15] is the sub-list for method input_type 1530 6, // [6:6] is the sub-list for extension type_name 1531 6, // [6:6] is the sub-list for extension extendee 1532 0, // [0:6] is the sub-list for field type_name 1533} 1534 1535func init() { file_google_cloud_dialogflow_v2_agent_proto_init() } 1536func file_google_cloud_dialogflow_v2_agent_proto_init() { 1537 if File_google_cloud_dialogflow_v2_agent_proto != nil { 1538 return 1539 } 1540 file_google_cloud_dialogflow_v2_validation_result_proto_init() 1541 if !protoimpl.UnsafeEnabled { 1542 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1543 switch v := v.(*Agent); i { 1544 case 0: 1545 return &v.state 1546 case 1: 1547 return &v.sizeCache 1548 case 2: 1549 return &v.unknownFields 1550 default: 1551 return nil 1552 } 1553 } 1554 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1555 switch v := v.(*GetAgentRequest); i { 1556 case 0: 1557 return &v.state 1558 case 1: 1559 return &v.sizeCache 1560 case 2: 1561 return &v.unknownFields 1562 default: 1563 return nil 1564 } 1565 } 1566 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1567 switch v := v.(*SetAgentRequest); i { 1568 case 0: 1569 return &v.state 1570 case 1: 1571 return &v.sizeCache 1572 case 2: 1573 return &v.unknownFields 1574 default: 1575 return nil 1576 } 1577 } 1578 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1579 switch v := v.(*DeleteAgentRequest); i { 1580 case 0: 1581 return &v.state 1582 case 1: 1583 return &v.sizeCache 1584 case 2: 1585 return &v.unknownFields 1586 default: 1587 return nil 1588 } 1589 } 1590 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1591 switch v := v.(*SearchAgentsRequest); i { 1592 case 0: 1593 return &v.state 1594 case 1: 1595 return &v.sizeCache 1596 case 2: 1597 return &v.unknownFields 1598 default: 1599 return nil 1600 } 1601 } 1602 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1603 switch v := v.(*SearchAgentsResponse); i { 1604 case 0: 1605 return &v.state 1606 case 1: 1607 return &v.sizeCache 1608 case 2: 1609 return &v.unknownFields 1610 default: 1611 return nil 1612 } 1613 } 1614 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1615 switch v := v.(*TrainAgentRequest); i { 1616 case 0: 1617 return &v.state 1618 case 1: 1619 return &v.sizeCache 1620 case 2: 1621 return &v.unknownFields 1622 default: 1623 return nil 1624 } 1625 } 1626 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1627 switch v := v.(*ExportAgentRequest); i { 1628 case 0: 1629 return &v.state 1630 case 1: 1631 return &v.sizeCache 1632 case 2: 1633 return &v.unknownFields 1634 default: 1635 return nil 1636 } 1637 } 1638 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1639 switch v := v.(*ExportAgentResponse); i { 1640 case 0: 1641 return &v.state 1642 case 1: 1643 return &v.sizeCache 1644 case 2: 1645 return &v.unknownFields 1646 default: 1647 return nil 1648 } 1649 } 1650 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1651 switch v := v.(*ImportAgentRequest); i { 1652 case 0: 1653 return &v.state 1654 case 1: 1655 return &v.sizeCache 1656 case 2: 1657 return &v.unknownFields 1658 default: 1659 return nil 1660 } 1661 } 1662 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1663 switch v := v.(*RestoreAgentRequest); i { 1664 case 0: 1665 return &v.state 1666 case 1: 1667 return &v.sizeCache 1668 case 2: 1669 return &v.unknownFields 1670 default: 1671 return nil 1672 } 1673 } 1674 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1675 switch v := v.(*GetValidationResultRequest); i { 1676 case 0: 1677 return &v.state 1678 case 1: 1679 return &v.sizeCache 1680 case 2: 1681 return &v.unknownFields 1682 default: 1683 return nil 1684 } 1685 } 1686 } 1687 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[8].OneofWrappers = []interface{}{ 1688 (*ExportAgentResponse_AgentUri)(nil), 1689 (*ExportAgentResponse_AgentContent)(nil), 1690 } 1691 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[9].OneofWrappers = []interface{}{ 1692 (*ImportAgentRequest_AgentUri)(nil), 1693 (*ImportAgentRequest_AgentContent)(nil), 1694 } 1695 file_google_cloud_dialogflow_v2_agent_proto_msgTypes[10].OneofWrappers = []interface{}{ 1696 (*RestoreAgentRequest_AgentUri)(nil), 1697 (*RestoreAgentRequest_AgentContent)(nil), 1698 } 1699 type x struct{} 1700 out := protoimpl.TypeBuilder{ 1701 File: protoimpl.DescBuilder{ 1702 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1703 RawDescriptor: file_google_cloud_dialogflow_v2_agent_proto_rawDesc, 1704 NumEnums: 3, 1705 NumMessages: 12, 1706 NumExtensions: 0, 1707 NumServices: 1, 1708 }, 1709 GoTypes: file_google_cloud_dialogflow_v2_agent_proto_goTypes, 1710 DependencyIndexes: file_google_cloud_dialogflow_v2_agent_proto_depIdxs, 1711 EnumInfos: file_google_cloud_dialogflow_v2_agent_proto_enumTypes, 1712 MessageInfos: file_google_cloud_dialogflow_v2_agent_proto_msgTypes, 1713 }.Build() 1714 File_google_cloud_dialogflow_v2_agent_proto = out.File 1715 file_google_cloud_dialogflow_v2_agent_proto_rawDesc = nil 1716 file_google_cloud_dialogflow_v2_agent_proto_goTypes = nil 1717 file_google_cloud_dialogflow_v2_agent_proto_depIdxs = nil 1718} 1719 1720// Reference imports to suppress errors if they are not otherwise used. 1721var _ context.Context 1722var _ grpc.ClientConnInterface 1723 1724// This is a compile-time assertion to ensure that this generated file 1725// is compatible with the grpc package it is being compiled against. 1726const _ = grpc.SupportPackageIsVersion6 1727 1728// AgentsClient is the client API for Agents service. 1729// 1730// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1731type AgentsClient interface { 1732 // Retrieves the specified agent. 1733 GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error) 1734 // Creates/updates the specified agent. 1735 SetAgent(ctx context.Context, in *SetAgentRequest, opts ...grpc.CallOption) (*Agent, error) 1736 // Deletes the specified agent. 1737 DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1738 // Returns the list of agents. 1739 // 1740 // Since there is at most one conversational agent per project, this method is 1741 // useful primarily for listing all agents across projects the caller has 1742 // access to. One can achieve that with a wildcard project collection id "-". 1743 // Refer to [List 1744 // Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections). 1745 SearchAgents(ctx context.Context, in *SearchAgentsRequest, opts ...grpc.CallOption) (*SearchAgentsResponse, error) 1746 // Trains the specified agent. 1747 // 1748 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1749 TrainAgent(ctx context.Context, in *TrainAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1750 // Exports the specified agent to a ZIP file. 1751 // 1752 // Operation <response: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]> 1753 ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1754 // Imports the specified agent from a ZIP file. 1755 // 1756 // Uploads new intents and entity types without deleting the existing ones. 1757 // Intents and entity types with the same name are replaced with the new 1758 // versions from [ImportAgentRequest][google.cloud.dialogflow.v2.ImportAgentRequest]. After the import, the imported draft 1759 // agent will be trained automatically (unless disabled in agent settings). 1760 // However, once the import is done, training may not be completed yet. Please 1761 // call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it returns in order to train 1762 // explicitly. 1763 // 1764 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1765 // An operation which tracks when importing is complete. It only tracks 1766 // when the draft agent is updated not when it is done training. 1767 ImportAgent(ctx context.Context, in *ImportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1768 // Restores the specified agent from a ZIP file. 1769 // 1770 // Replaces the current agent version with a new one. All the intents and 1771 // entity types in the older version are deleted. After the restore, the 1772 // restored draft agent will be trained automatically (unless disabled in 1773 // agent settings). However, once the restore is done, training may not be 1774 // completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it 1775 // returns in order to train explicitly. 1776 // 1777 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1778 // An operation which tracks when restoring is complete. It only tracks 1779 // when the draft agent is updated not when it is done training. 1780 RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1781 // Gets agent validation result. Agent validation is performed during 1782 // training time and is updated automatically when training is completed. 1783 GetValidationResult(ctx context.Context, in *GetValidationResultRequest, opts ...grpc.CallOption) (*ValidationResult, error) 1784} 1785 1786type agentsClient struct { 1787 cc grpc.ClientConnInterface 1788} 1789 1790func NewAgentsClient(cc grpc.ClientConnInterface) AgentsClient { 1791 return &agentsClient{cc} 1792} 1793 1794func (c *agentsClient) GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error) { 1795 out := new(Agent) 1796 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/GetAgent", in, out, opts...) 1797 if err != nil { 1798 return nil, err 1799 } 1800 return out, nil 1801} 1802 1803func (c *agentsClient) SetAgent(ctx context.Context, in *SetAgentRequest, opts ...grpc.CallOption) (*Agent, error) { 1804 out := new(Agent) 1805 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/SetAgent", in, out, opts...) 1806 if err != nil { 1807 return nil, err 1808 } 1809 return out, nil 1810} 1811 1812func (c *agentsClient) DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1813 out := new(emptypb.Empty) 1814 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/DeleteAgent", in, out, opts...) 1815 if err != nil { 1816 return nil, err 1817 } 1818 return out, nil 1819} 1820 1821func (c *agentsClient) SearchAgents(ctx context.Context, in *SearchAgentsRequest, opts ...grpc.CallOption) (*SearchAgentsResponse, error) { 1822 out := new(SearchAgentsResponse) 1823 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/SearchAgents", in, out, opts...) 1824 if err != nil { 1825 return nil, err 1826 } 1827 return out, nil 1828} 1829 1830func (c *agentsClient) TrainAgent(ctx context.Context, in *TrainAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1831 out := new(longrunning.Operation) 1832 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/TrainAgent", in, out, opts...) 1833 if err != nil { 1834 return nil, err 1835 } 1836 return out, nil 1837} 1838 1839func (c *agentsClient) ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1840 out := new(longrunning.Operation) 1841 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/ExportAgent", in, out, opts...) 1842 if err != nil { 1843 return nil, err 1844 } 1845 return out, nil 1846} 1847 1848func (c *agentsClient) ImportAgent(ctx context.Context, in *ImportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1849 out := new(longrunning.Operation) 1850 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/ImportAgent", in, out, opts...) 1851 if err != nil { 1852 return nil, err 1853 } 1854 return out, nil 1855} 1856 1857func (c *agentsClient) RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1858 out := new(longrunning.Operation) 1859 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/RestoreAgent", in, out, opts...) 1860 if err != nil { 1861 return nil, err 1862 } 1863 return out, nil 1864} 1865 1866func (c *agentsClient) GetValidationResult(ctx context.Context, in *GetValidationResultRequest, opts ...grpc.CallOption) (*ValidationResult, error) { 1867 out := new(ValidationResult) 1868 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/GetValidationResult", in, out, opts...) 1869 if err != nil { 1870 return nil, err 1871 } 1872 return out, nil 1873} 1874 1875// AgentsServer is the server API for Agents service. 1876type AgentsServer interface { 1877 // Retrieves the specified agent. 1878 GetAgent(context.Context, *GetAgentRequest) (*Agent, error) 1879 // Creates/updates the specified agent. 1880 SetAgent(context.Context, *SetAgentRequest) (*Agent, error) 1881 // Deletes the specified agent. 1882 DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error) 1883 // Returns the list of agents. 1884 // 1885 // Since there is at most one conversational agent per project, this method is 1886 // useful primarily for listing all agents across projects the caller has 1887 // access to. One can achieve that with a wildcard project collection id "-". 1888 // Refer to [List 1889 // Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections). 1890 SearchAgents(context.Context, *SearchAgentsRequest) (*SearchAgentsResponse, error) 1891 // Trains the specified agent. 1892 // 1893 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1894 TrainAgent(context.Context, *TrainAgentRequest) (*longrunning.Operation, error) 1895 // Exports the specified agent to a ZIP file. 1896 // 1897 // Operation <response: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]> 1898 ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.Operation, error) 1899 // Imports the specified agent from a ZIP file. 1900 // 1901 // Uploads new intents and entity types without deleting the existing ones. 1902 // Intents and entity types with the same name are replaced with the new 1903 // versions from [ImportAgentRequest][google.cloud.dialogflow.v2.ImportAgentRequest]. After the import, the imported draft 1904 // agent will be trained automatically (unless disabled in agent settings). 1905 // However, once the import is done, training may not be completed yet. Please 1906 // call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it returns in order to train 1907 // explicitly. 1908 // 1909 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1910 // An operation which tracks when importing is complete. It only tracks 1911 // when the draft agent is updated not when it is done training. 1912 ImportAgent(context.Context, *ImportAgentRequest) (*longrunning.Operation, error) 1913 // Restores the specified agent from a ZIP file. 1914 // 1915 // Replaces the current agent version with a new one. All the intents and 1916 // entity types in the older version are deleted. After the restore, the 1917 // restored draft agent will be trained automatically (unless disabled in 1918 // agent settings). However, once the restore is done, training may not be 1919 // completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it 1920 // returns in order to train explicitly. 1921 // 1922 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1923 // An operation which tracks when restoring is complete. It only tracks 1924 // when the draft agent is updated not when it is done training. 1925 RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunning.Operation, error) 1926 // Gets agent validation result. Agent validation is performed during 1927 // training time and is updated automatically when training is completed. 1928 GetValidationResult(context.Context, *GetValidationResultRequest) (*ValidationResult, error) 1929} 1930 1931// UnimplementedAgentsServer can be embedded to have forward compatible implementations. 1932type UnimplementedAgentsServer struct { 1933} 1934 1935func (*UnimplementedAgentsServer) GetAgent(context.Context, *GetAgentRequest) (*Agent, error) { 1936 return nil, status.Errorf(codes.Unimplemented, "method GetAgent not implemented") 1937} 1938func (*UnimplementedAgentsServer) SetAgent(context.Context, *SetAgentRequest) (*Agent, error) { 1939 return nil, status.Errorf(codes.Unimplemented, "method SetAgent not implemented") 1940} 1941func (*UnimplementedAgentsServer) DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error) { 1942 return nil, status.Errorf(codes.Unimplemented, "method DeleteAgent not implemented") 1943} 1944func (*UnimplementedAgentsServer) SearchAgents(context.Context, *SearchAgentsRequest) (*SearchAgentsResponse, error) { 1945 return nil, status.Errorf(codes.Unimplemented, "method SearchAgents not implemented") 1946} 1947func (*UnimplementedAgentsServer) TrainAgent(context.Context, *TrainAgentRequest) (*longrunning.Operation, error) { 1948 return nil, status.Errorf(codes.Unimplemented, "method TrainAgent not implemented") 1949} 1950func (*UnimplementedAgentsServer) ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.Operation, error) { 1951 return nil, status.Errorf(codes.Unimplemented, "method ExportAgent not implemented") 1952} 1953func (*UnimplementedAgentsServer) ImportAgent(context.Context, *ImportAgentRequest) (*longrunning.Operation, error) { 1954 return nil, status.Errorf(codes.Unimplemented, "method ImportAgent not implemented") 1955} 1956func (*UnimplementedAgentsServer) RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunning.Operation, error) { 1957 return nil, status.Errorf(codes.Unimplemented, "method RestoreAgent not implemented") 1958} 1959func (*UnimplementedAgentsServer) GetValidationResult(context.Context, *GetValidationResultRequest) (*ValidationResult, error) { 1960 return nil, status.Errorf(codes.Unimplemented, "method GetValidationResult not implemented") 1961} 1962 1963func RegisterAgentsServer(s *grpc.Server, srv AgentsServer) { 1964 s.RegisterService(&_Agents_serviceDesc, srv) 1965} 1966 1967func _Agents_GetAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1968 in := new(GetAgentRequest) 1969 if err := dec(in); err != nil { 1970 return nil, err 1971 } 1972 if interceptor == nil { 1973 return srv.(AgentsServer).GetAgent(ctx, in) 1974 } 1975 info := &grpc.UnaryServerInfo{ 1976 Server: srv, 1977 FullMethod: "/google.cloud.dialogflow.v2.Agents/GetAgent", 1978 } 1979 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1980 return srv.(AgentsServer).GetAgent(ctx, req.(*GetAgentRequest)) 1981 } 1982 return interceptor(ctx, in, info, handler) 1983} 1984 1985func _Agents_SetAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1986 in := new(SetAgentRequest) 1987 if err := dec(in); err != nil { 1988 return nil, err 1989 } 1990 if interceptor == nil { 1991 return srv.(AgentsServer).SetAgent(ctx, in) 1992 } 1993 info := &grpc.UnaryServerInfo{ 1994 Server: srv, 1995 FullMethod: "/google.cloud.dialogflow.v2.Agents/SetAgent", 1996 } 1997 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1998 return srv.(AgentsServer).SetAgent(ctx, req.(*SetAgentRequest)) 1999 } 2000 return interceptor(ctx, in, info, handler) 2001} 2002 2003func _Agents_DeleteAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2004 in := new(DeleteAgentRequest) 2005 if err := dec(in); err != nil { 2006 return nil, err 2007 } 2008 if interceptor == nil { 2009 return srv.(AgentsServer).DeleteAgent(ctx, in) 2010 } 2011 info := &grpc.UnaryServerInfo{ 2012 Server: srv, 2013 FullMethod: "/google.cloud.dialogflow.v2.Agents/DeleteAgent", 2014 } 2015 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2016 return srv.(AgentsServer).DeleteAgent(ctx, req.(*DeleteAgentRequest)) 2017 } 2018 return interceptor(ctx, in, info, handler) 2019} 2020 2021func _Agents_SearchAgents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2022 in := new(SearchAgentsRequest) 2023 if err := dec(in); err != nil { 2024 return nil, err 2025 } 2026 if interceptor == nil { 2027 return srv.(AgentsServer).SearchAgents(ctx, in) 2028 } 2029 info := &grpc.UnaryServerInfo{ 2030 Server: srv, 2031 FullMethod: "/google.cloud.dialogflow.v2.Agents/SearchAgents", 2032 } 2033 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2034 return srv.(AgentsServer).SearchAgents(ctx, req.(*SearchAgentsRequest)) 2035 } 2036 return interceptor(ctx, in, info, handler) 2037} 2038 2039func _Agents_TrainAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2040 in := new(TrainAgentRequest) 2041 if err := dec(in); err != nil { 2042 return nil, err 2043 } 2044 if interceptor == nil { 2045 return srv.(AgentsServer).TrainAgent(ctx, in) 2046 } 2047 info := &grpc.UnaryServerInfo{ 2048 Server: srv, 2049 FullMethod: "/google.cloud.dialogflow.v2.Agents/TrainAgent", 2050 } 2051 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2052 return srv.(AgentsServer).TrainAgent(ctx, req.(*TrainAgentRequest)) 2053 } 2054 return interceptor(ctx, in, info, handler) 2055} 2056 2057func _Agents_ExportAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2058 in := new(ExportAgentRequest) 2059 if err := dec(in); err != nil { 2060 return nil, err 2061 } 2062 if interceptor == nil { 2063 return srv.(AgentsServer).ExportAgent(ctx, in) 2064 } 2065 info := &grpc.UnaryServerInfo{ 2066 Server: srv, 2067 FullMethod: "/google.cloud.dialogflow.v2.Agents/ExportAgent", 2068 } 2069 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2070 return srv.(AgentsServer).ExportAgent(ctx, req.(*ExportAgentRequest)) 2071 } 2072 return interceptor(ctx, in, info, handler) 2073} 2074 2075func _Agents_ImportAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2076 in := new(ImportAgentRequest) 2077 if err := dec(in); err != nil { 2078 return nil, err 2079 } 2080 if interceptor == nil { 2081 return srv.(AgentsServer).ImportAgent(ctx, in) 2082 } 2083 info := &grpc.UnaryServerInfo{ 2084 Server: srv, 2085 FullMethod: "/google.cloud.dialogflow.v2.Agents/ImportAgent", 2086 } 2087 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2088 return srv.(AgentsServer).ImportAgent(ctx, req.(*ImportAgentRequest)) 2089 } 2090 return interceptor(ctx, in, info, handler) 2091} 2092 2093func _Agents_RestoreAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2094 in := new(RestoreAgentRequest) 2095 if err := dec(in); err != nil { 2096 return nil, err 2097 } 2098 if interceptor == nil { 2099 return srv.(AgentsServer).RestoreAgent(ctx, in) 2100 } 2101 info := &grpc.UnaryServerInfo{ 2102 Server: srv, 2103 FullMethod: "/google.cloud.dialogflow.v2.Agents/RestoreAgent", 2104 } 2105 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2106 return srv.(AgentsServer).RestoreAgent(ctx, req.(*RestoreAgentRequest)) 2107 } 2108 return interceptor(ctx, in, info, handler) 2109} 2110 2111func _Agents_GetValidationResult_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2112 in := new(GetValidationResultRequest) 2113 if err := dec(in); err != nil { 2114 return nil, err 2115 } 2116 if interceptor == nil { 2117 return srv.(AgentsServer).GetValidationResult(ctx, in) 2118 } 2119 info := &grpc.UnaryServerInfo{ 2120 Server: srv, 2121 FullMethod: "/google.cloud.dialogflow.v2.Agents/GetValidationResult", 2122 } 2123 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2124 return srv.(AgentsServer).GetValidationResult(ctx, req.(*GetValidationResultRequest)) 2125 } 2126 return interceptor(ctx, in, info, handler) 2127} 2128 2129var _Agents_serviceDesc = grpc.ServiceDesc{ 2130 ServiceName: "google.cloud.dialogflow.v2.Agents", 2131 HandlerType: (*AgentsServer)(nil), 2132 Methods: []grpc.MethodDesc{ 2133 { 2134 MethodName: "GetAgent", 2135 Handler: _Agents_GetAgent_Handler, 2136 }, 2137 { 2138 MethodName: "SetAgent", 2139 Handler: _Agents_SetAgent_Handler, 2140 }, 2141 { 2142 MethodName: "DeleteAgent", 2143 Handler: _Agents_DeleteAgent_Handler, 2144 }, 2145 { 2146 MethodName: "SearchAgents", 2147 Handler: _Agents_SearchAgents_Handler, 2148 }, 2149 { 2150 MethodName: "TrainAgent", 2151 Handler: _Agents_TrainAgent_Handler, 2152 }, 2153 { 2154 MethodName: "ExportAgent", 2155 Handler: _Agents_ExportAgent_Handler, 2156 }, 2157 { 2158 MethodName: "ImportAgent", 2159 Handler: _Agents_ImportAgent_Handler, 2160 }, 2161 { 2162 MethodName: "RestoreAgent", 2163 Handler: _Agents_RestoreAgent_Handler, 2164 }, 2165 { 2166 MethodName: "GetValidationResult", 2167 Handler: _Agents_GetValidationResult_Handler, 2168 }, 2169 }, 2170 Streams: []grpc.StreamDesc{}, 2171 Metadata: "google/cloud/dialogflow/v2/agent.proto", 2172} 2173