1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0 18// protoc v3.13.0 19// source: google/cloud/dialogflow/cx/v3/agent.proto 20 21package cx 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 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// Settings related to speech recognition. 52type SpeechToTextSettings struct { 53 state protoimpl.MessageState 54 sizeCache protoimpl.SizeCache 55 unknownFields protoimpl.UnknownFields 56 57 // Whether to use speech adaptation for speech recognition. 58 EnableSpeechAdaptation bool `protobuf:"varint,1,opt,name=enable_speech_adaptation,json=enableSpeechAdaptation,proto3" json:"enable_speech_adaptation,omitempty"` 59} 60 61func (x *SpeechToTextSettings) Reset() { 62 *x = SpeechToTextSettings{} 63 if protoimpl.UnsafeEnabled { 64 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[0] 65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 66 ms.StoreMessageInfo(mi) 67 } 68} 69 70func (x *SpeechToTextSettings) String() string { 71 return protoimpl.X.MessageStringOf(x) 72} 73 74func (*SpeechToTextSettings) ProtoMessage() {} 75 76func (x *SpeechToTextSettings) ProtoReflect() protoreflect.Message { 77 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[0] 78 if protoimpl.UnsafeEnabled && x != nil { 79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 80 if ms.LoadMessageInfo() == nil { 81 ms.StoreMessageInfo(mi) 82 } 83 return ms 84 } 85 return mi.MessageOf(x) 86} 87 88// Deprecated: Use SpeechToTextSettings.ProtoReflect.Descriptor instead. 89func (*SpeechToTextSettings) Descriptor() ([]byte, []int) { 90 return file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescGZIP(), []int{0} 91} 92 93func (x *SpeechToTextSettings) GetEnableSpeechAdaptation() bool { 94 if x != nil { 95 return x.EnableSpeechAdaptation 96 } 97 return false 98} 99 100// Agents are best described as Natural Language Understanding (NLU) modules 101// that transform user requests into actionable data. You can include agents 102// in your app, product, or service to determine user intent and respond to the 103// user in a natural way. 104// 105// After you create an agent, you can add [Intents][google.cloud.dialogflow.cx.v3.Intent], 106// [Entity Types][google.cloud.dialogflow.cx.v3.EntityType], [Flows][google.cloud.dialogflow.cx.v3.Flow], [Fulfillments][google.cloud.dialogflow.cx.v3.Fulfillment], 107// [Webhooks][google.cloud.dialogflow.cx.v3.Webhook], and so on to manage the conversation flows.. 108type Agent struct { 109 state protoimpl.MessageState 110 sizeCache protoimpl.SizeCache 111 unknownFields protoimpl.UnknownFields 112 113 // The unique identifier of the agent. 114 // Required for the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method. [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent] 115 // populates the name automatically. 116 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. 117 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 118 // Required. The human-readable name of the agent, unique within the location. 119 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 120 // Immutable. The default language of the agent as a language tag. 121 // See [Language 122 // Support](https://cloud.google.com/dialogflow/docs/reference/language) 123 // for a list of the currently supported language codes. 124 // This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method. 125 DefaultLanguageCode string `protobuf:"bytes,3,opt,name=default_language_code,json=defaultLanguageCode,proto3" json:"default_language_code,omitempty"` 126 // Required. The time zone of the agent from the [time zone 127 // database](https://www.iana.org/time-zones), e.g., America/New_York, 128 // Europe/Paris. 129 TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` 130 // The description of the agent. The maximum length is 500 characters. If 131 // exceeded, the request is rejected. 132 Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` 133 // The URI of the agent's avatar. Avatars are used throughout the Dialogflow 134 // console and in the self-hosted [Web 135 // Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) 136 // integration. 137 AvatarUri string `protobuf:"bytes,7,opt,name=avatar_uri,json=avatarUri,proto3" json:"avatar_uri,omitempty"` 138 // Speech recognition related settings. 139 SpeechToTextSettings *SpeechToTextSettings `protobuf:"bytes,13,opt,name=speech_to_text_settings,json=speechToTextSettings,proto3" json:"speech_to_text_settings,omitempty"` 140 // Immutable. Name of the start flow in this agent. A start flow will be automatically 141 // created when the agent is created, and can only be deleted by deleting the 142 // agent. 143 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent 144 // ID>/flows/<Flow ID>`. 145 StartFlow string `protobuf:"bytes,16,opt,name=start_flow,json=startFlow,proto3" json:"start_flow,omitempty"` 146 // Indicates if stackdriver logging is enabled for the agent. 147 EnableStackdriverLogging bool `protobuf:"varint,18,opt,name=enable_stackdriver_logging,json=enableStackdriverLogging,proto3" json:"enable_stackdriver_logging,omitempty"` 148 // Indicates if automatic spell correction is enabled in detect intent 149 // requests. 150 EnableSpellCorrection bool `protobuf:"varint,20,opt,name=enable_spell_correction,json=enableSpellCorrection,proto3" json:"enable_spell_correction,omitempty"` 151} 152 153func (x *Agent) Reset() { 154 *x = Agent{} 155 if protoimpl.UnsafeEnabled { 156 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[1] 157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 158 ms.StoreMessageInfo(mi) 159 } 160} 161 162func (x *Agent) String() string { 163 return protoimpl.X.MessageStringOf(x) 164} 165 166func (*Agent) ProtoMessage() {} 167 168func (x *Agent) ProtoReflect() protoreflect.Message { 169 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[1] 170 if protoimpl.UnsafeEnabled && x != nil { 171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 172 if ms.LoadMessageInfo() == nil { 173 ms.StoreMessageInfo(mi) 174 } 175 return ms 176 } 177 return mi.MessageOf(x) 178} 179 180// Deprecated: Use Agent.ProtoReflect.Descriptor instead. 181func (*Agent) Descriptor() ([]byte, []int) { 182 return file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescGZIP(), []int{1} 183} 184 185func (x *Agent) GetName() string { 186 if x != nil { 187 return x.Name 188 } 189 return "" 190} 191 192func (x *Agent) GetDisplayName() string { 193 if x != nil { 194 return x.DisplayName 195 } 196 return "" 197} 198 199func (x *Agent) GetDefaultLanguageCode() string { 200 if x != nil { 201 return x.DefaultLanguageCode 202 } 203 return "" 204} 205 206func (x *Agent) GetTimeZone() string { 207 if x != nil { 208 return x.TimeZone 209 } 210 return "" 211} 212 213func (x *Agent) GetDescription() string { 214 if x != nil { 215 return x.Description 216 } 217 return "" 218} 219 220func (x *Agent) GetAvatarUri() string { 221 if x != nil { 222 return x.AvatarUri 223 } 224 return "" 225} 226 227func (x *Agent) GetSpeechToTextSettings() *SpeechToTextSettings { 228 if x != nil { 229 return x.SpeechToTextSettings 230 } 231 return nil 232} 233 234func (x *Agent) GetStartFlow() string { 235 if x != nil { 236 return x.StartFlow 237 } 238 return "" 239} 240 241func (x *Agent) GetEnableStackdriverLogging() bool { 242 if x != nil { 243 return x.EnableStackdriverLogging 244 } 245 return false 246} 247 248func (x *Agent) GetEnableSpellCorrection() bool { 249 if x != nil { 250 return x.EnableSpellCorrection 251 } 252 return false 253} 254 255// The request message for [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents]. 256type ListAgentsRequest struct { 257 state protoimpl.MessageState 258 sizeCache protoimpl.SizeCache 259 unknownFields protoimpl.UnknownFields 260 261 // Required. The location to list all agents for. 262 // Format: `projects/<Project ID>/locations/<Location ID>`. 263 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 264 // The maximum number of items to return in a single page. By default 100 and 265 // at most 1000. 266 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 267 // The next_page_token value returned from a previous list request. 268 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 269} 270 271func (x *ListAgentsRequest) Reset() { 272 *x = ListAgentsRequest{} 273 if protoimpl.UnsafeEnabled { 274 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[2] 275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 276 ms.StoreMessageInfo(mi) 277 } 278} 279 280func (x *ListAgentsRequest) String() string { 281 return protoimpl.X.MessageStringOf(x) 282} 283 284func (*ListAgentsRequest) ProtoMessage() {} 285 286func (x *ListAgentsRequest) ProtoReflect() protoreflect.Message { 287 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[2] 288 if protoimpl.UnsafeEnabled && x != nil { 289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 290 if ms.LoadMessageInfo() == nil { 291 ms.StoreMessageInfo(mi) 292 } 293 return ms 294 } 295 return mi.MessageOf(x) 296} 297 298// Deprecated: Use ListAgentsRequest.ProtoReflect.Descriptor instead. 299func (*ListAgentsRequest) Descriptor() ([]byte, []int) { 300 return file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescGZIP(), []int{2} 301} 302 303func (x *ListAgentsRequest) GetParent() string { 304 if x != nil { 305 return x.Parent 306 } 307 return "" 308} 309 310func (x *ListAgentsRequest) GetPageSize() int32 { 311 if x != nil { 312 return x.PageSize 313 } 314 return 0 315} 316 317func (x *ListAgentsRequest) GetPageToken() string { 318 if x != nil { 319 return x.PageToken 320 } 321 return "" 322} 323 324// The response message for [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents]. 325type ListAgentsResponse struct { 326 state protoimpl.MessageState 327 sizeCache protoimpl.SizeCache 328 unknownFields protoimpl.UnknownFields 329 330 // The list of agents. There will be a maximum number of items returned based 331 // on the page_size field in the request. 332 Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` 333 // Token to retrieve the next page of results, or empty if there are no more 334 // results in the list. 335 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 336} 337 338func (x *ListAgentsResponse) Reset() { 339 *x = ListAgentsResponse{} 340 if protoimpl.UnsafeEnabled { 341 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[3] 342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 343 ms.StoreMessageInfo(mi) 344 } 345} 346 347func (x *ListAgentsResponse) String() string { 348 return protoimpl.X.MessageStringOf(x) 349} 350 351func (*ListAgentsResponse) ProtoMessage() {} 352 353func (x *ListAgentsResponse) ProtoReflect() protoreflect.Message { 354 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[3] 355 if protoimpl.UnsafeEnabled && x != nil { 356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 357 if ms.LoadMessageInfo() == nil { 358 ms.StoreMessageInfo(mi) 359 } 360 return ms 361 } 362 return mi.MessageOf(x) 363} 364 365// Deprecated: Use ListAgentsResponse.ProtoReflect.Descriptor instead. 366func (*ListAgentsResponse) Descriptor() ([]byte, []int) { 367 return file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescGZIP(), []int{3} 368} 369 370func (x *ListAgentsResponse) GetAgents() []*Agent { 371 if x != nil { 372 return x.Agents 373 } 374 return nil 375} 376 377func (x *ListAgentsResponse) GetNextPageToken() string { 378 if x != nil { 379 return x.NextPageToken 380 } 381 return "" 382} 383 384// The request message for [Agents.GetAgent][google.cloud.dialogflow.cx.v3.Agents.GetAgent]. 385type GetAgentRequest struct { 386 state protoimpl.MessageState 387 sizeCache protoimpl.SizeCache 388 unknownFields protoimpl.UnknownFields 389 390 // Required. The name of the agent. 391 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. 392 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 393} 394 395func (x *GetAgentRequest) Reset() { 396 *x = GetAgentRequest{} 397 if protoimpl.UnsafeEnabled { 398 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[4] 399 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 400 ms.StoreMessageInfo(mi) 401 } 402} 403 404func (x *GetAgentRequest) String() string { 405 return protoimpl.X.MessageStringOf(x) 406} 407 408func (*GetAgentRequest) ProtoMessage() {} 409 410func (x *GetAgentRequest) ProtoReflect() protoreflect.Message { 411 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[4] 412 if protoimpl.UnsafeEnabled && x != nil { 413 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 414 if ms.LoadMessageInfo() == nil { 415 ms.StoreMessageInfo(mi) 416 } 417 return ms 418 } 419 return mi.MessageOf(x) 420} 421 422// Deprecated: Use GetAgentRequest.ProtoReflect.Descriptor instead. 423func (*GetAgentRequest) Descriptor() ([]byte, []int) { 424 return file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescGZIP(), []int{4} 425} 426 427func (x *GetAgentRequest) GetName() string { 428 if x != nil { 429 return x.Name 430 } 431 return "" 432} 433 434// The request message for [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent]. 435type CreateAgentRequest struct { 436 state protoimpl.MessageState 437 sizeCache protoimpl.SizeCache 438 unknownFields protoimpl.UnknownFields 439 440 // Required. The location to create a agent for. 441 // Format: `projects/<Project ID>/locations/<Location ID>`. 442 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 443 // Required. The agent to create. 444 Agent *Agent `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"` 445} 446 447func (x *CreateAgentRequest) Reset() { 448 *x = CreateAgentRequest{} 449 if protoimpl.UnsafeEnabled { 450 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[5] 451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 452 ms.StoreMessageInfo(mi) 453 } 454} 455 456func (x *CreateAgentRequest) String() string { 457 return protoimpl.X.MessageStringOf(x) 458} 459 460func (*CreateAgentRequest) ProtoMessage() {} 461 462func (x *CreateAgentRequest) ProtoReflect() protoreflect.Message { 463 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[5] 464 if protoimpl.UnsafeEnabled && x != nil { 465 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 466 if ms.LoadMessageInfo() == nil { 467 ms.StoreMessageInfo(mi) 468 } 469 return ms 470 } 471 return mi.MessageOf(x) 472} 473 474// Deprecated: Use CreateAgentRequest.ProtoReflect.Descriptor instead. 475func (*CreateAgentRequest) Descriptor() ([]byte, []int) { 476 return file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescGZIP(), []int{5} 477} 478 479func (x *CreateAgentRequest) GetParent() string { 480 if x != nil { 481 return x.Parent 482 } 483 return "" 484} 485 486func (x *CreateAgentRequest) GetAgent() *Agent { 487 if x != nil { 488 return x.Agent 489 } 490 return nil 491} 492 493// The request message for [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent]. 494type UpdateAgentRequest struct { 495 state protoimpl.MessageState 496 sizeCache protoimpl.SizeCache 497 unknownFields protoimpl.UnknownFields 498 499 // Required. The agent to update. 500 Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` 501 // The mask to control which fields get updated. If the mask is not present, 502 // all fields will be updated. 503 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 504} 505 506func (x *UpdateAgentRequest) Reset() { 507 *x = UpdateAgentRequest{} 508 if protoimpl.UnsafeEnabled { 509 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[6] 510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 511 ms.StoreMessageInfo(mi) 512 } 513} 514 515func (x *UpdateAgentRequest) String() string { 516 return protoimpl.X.MessageStringOf(x) 517} 518 519func (*UpdateAgentRequest) ProtoMessage() {} 520 521func (x *UpdateAgentRequest) ProtoReflect() protoreflect.Message { 522 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[6] 523 if protoimpl.UnsafeEnabled && x != nil { 524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 525 if ms.LoadMessageInfo() == nil { 526 ms.StoreMessageInfo(mi) 527 } 528 return ms 529 } 530 return mi.MessageOf(x) 531} 532 533// Deprecated: Use UpdateAgentRequest.ProtoReflect.Descriptor instead. 534func (*UpdateAgentRequest) Descriptor() ([]byte, []int) { 535 return file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescGZIP(), []int{6} 536} 537 538func (x *UpdateAgentRequest) GetAgent() *Agent { 539 if x != nil { 540 return x.Agent 541 } 542 return nil 543} 544 545func (x *UpdateAgentRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 546 if x != nil { 547 return x.UpdateMask 548 } 549 return nil 550} 551 552// The request message for [Agents.DeleteAgent][google.cloud.dialogflow.cx.v3.Agents.DeleteAgent]. 553type DeleteAgentRequest struct { 554 state protoimpl.MessageState 555 sizeCache protoimpl.SizeCache 556 unknownFields protoimpl.UnknownFields 557 558 // Required. The name of the agent to delete. 559 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. 560 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 561} 562 563func (x *DeleteAgentRequest) Reset() { 564 *x = DeleteAgentRequest{} 565 if protoimpl.UnsafeEnabled { 566 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[7] 567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 568 ms.StoreMessageInfo(mi) 569 } 570} 571 572func (x *DeleteAgentRequest) String() string { 573 return protoimpl.X.MessageStringOf(x) 574} 575 576func (*DeleteAgentRequest) ProtoMessage() {} 577 578func (x *DeleteAgentRequest) ProtoReflect() protoreflect.Message { 579 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[7] 580 if protoimpl.UnsafeEnabled && x != nil { 581 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 582 if ms.LoadMessageInfo() == nil { 583 ms.StoreMessageInfo(mi) 584 } 585 return ms 586 } 587 return mi.MessageOf(x) 588} 589 590// Deprecated: Use DeleteAgentRequest.ProtoReflect.Descriptor instead. 591func (*DeleteAgentRequest) Descriptor() ([]byte, []int) { 592 return file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescGZIP(), []int{7} 593} 594 595func (x *DeleteAgentRequest) GetName() string { 596 if x != nil { 597 return x.Name 598 } 599 return "" 600} 601 602// The request message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent]. 603type ExportAgentRequest struct { 604 state protoimpl.MessageState 605 sizeCache protoimpl.SizeCache 606 unknownFields protoimpl.UnknownFields 607 608 // Required. The name of the agent to export. 609 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. 610 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 611 // Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to 612 // export the agent to. The format of this URI must be 613 // `gs://<bucket-name>/<object-name>`. 614 // If left unspecified, the serialized agent is returned inline. 615 AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3" json:"agent_uri,omitempty"` 616} 617 618func (x *ExportAgentRequest) Reset() { 619 *x = ExportAgentRequest{} 620 if protoimpl.UnsafeEnabled { 621 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[8] 622 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 623 ms.StoreMessageInfo(mi) 624 } 625} 626 627func (x *ExportAgentRequest) String() string { 628 return protoimpl.X.MessageStringOf(x) 629} 630 631func (*ExportAgentRequest) ProtoMessage() {} 632 633func (x *ExportAgentRequest) ProtoReflect() protoreflect.Message { 634 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[8] 635 if protoimpl.UnsafeEnabled && x != nil { 636 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 637 if ms.LoadMessageInfo() == nil { 638 ms.StoreMessageInfo(mi) 639 } 640 return ms 641 } 642 return mi.MessageOf(x) 643} 644 645// Deprecated: Use ExportAgentRequest.ProtoReflect.Descriptor instead. 646func (*ExportAgentRequest) Descriptor() ([]byte, []int) { 647 return file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescGZIP(), []int{8} 648} 649 650func (x *ExportAgentRequest) GetName() string { 651 if x != nil { 652 return x.Name 653 } 654 return "" 655} 656 657func (x *ExportAgentRequest) GetAgentUri() string { 658 if x != nil { 659 return x.AgentUri 660 } 661 return "" 662} 663 664// The response message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent]. 665type ExportAgentResponse struct { 666 state protoimpl.MessageState 667 sizeCache protoimpl.SizeCache 668 unknownFields protoimpl.UnknownFields 669 670 // The exported agent. 671 // 672 // Types that are assignable to Agent: 673 // *ExportAgentResponse_AgentUri 674 // *ExportAgentResponse_AgentContent 675 Agent isExportAgentResponse_Agent `protobuf_oneof:"agent"` 676} 677 678func (x *ExportAgentResponse) Reset() { 679 *x = ExportAgentResponse{} 680 if protoimpl.UnsafeEnabled { 681 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[9] 682 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 683 ms.StoreMessageInfo(mi) 684 } 685} 686 687func (x *ExportAgentResponse) String() string { 688 return protoimpl.X.MessageStringOf(x) 689} 690 691func (*ExportAgentResponse) ProtoMessage() {} 692 693func (x *ExportAgentResponse) ProtoReflect() protoreflect.Message { 694 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[9] 695 if protoimpl.UnsafeEnabled && x != nil { 696 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 697 if ms.LoadMessageInfo() == nil { 698 ms.StoreMessageInfo(mi) 699 } 700 return ms 701 } 702 return mi.MessageOf(x) 703} 704 705// Deprecated: Use ExportAgentResponse.ProtoReflect.Descriptor instead. 706func (*ExportAgentResponse) Descriptor() ([]byte, []int) { 707 return file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescGZIP(), []int{9} 708} 709 710func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent { 711 if m != nil { 712 return m.Agent 713 } 714 return nil 715} 716 717func (x *ExportAgentResponse) GetAgentUri() string { 718 if x, ok := x.GetAgent().(*ExportAgentResponse_AgentUri); ok { 719 return x.AgentUri 720 } 721 return "" 722} 723 724func (x *ExportAgentResponse) GetAgentContent() []byte { 725 if x, ok := x.GetAgent().(*ExportAgentResponse_AgentContent); ok { 726 return x.AgentContent 727 } 728 return nil 729} 730 731type isExportAgentResponse_Agent interface { 732 isExportAgentResponse_Agent() 733} 734 735type ExportAgentResponse_AgentUri struct { 736 // The URI to a file containing the exported agent. This field is populated 737 // only if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest]. 738 AgentUri string `protobuf:"bytes,1,opt,name=agent_uri,json=agentUri,proto3,oneof"` 739} 740 741type ExportAgentResponse_AgentContent struct { 742 // Uncompressed raw byte content for agent. 743 AgentContent []byte `protobuf:"bytes,2,opt,name=agent_content,json=agentContent,proto3,oneof"` 744} 745 746func (*ExportAgentResponse_AgentUri) isExportAgentResponse_Agent() {} 747 748func (*ExportAgentResponse_AgentContent) isExportAgentResponse_Agent() {} 749 750// The request message for [Agents.RestoreAgent][google.cloud.dialogflow.cx.v3.Agents.RestoreAgent]. 751type RestoreAgentRequest struct { 752 state protoimpl.MessageState 753 sizeCache protoimpl.SizeCache 754 unknownFields protoimpl.UnknownFields 755 756 // Required. The name of the agent to restore into. 757 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. 758 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 759 // Required. The agent to restore. 760 // 761 // Types that are assignable to Agent: 762 // *RestoreAgentRequest_AgentUri 763 // *RestoreAgentRequest_AgentContent 764 Agent isRestoreAgentRequest_Agent `protobuf_oneof:"agent"` 765} 766 767func (x *RestoreAgentRequest) Reset() { 768 *x = RestoreAgentRequest{} 769 if protoimpl.UnsafeEnabled { 770 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[10] 771 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 772 ms.StoreMessageInfo(mi) 773 } 774} 775 776func (x *RestoreAgentRequest) String() string { 777 return protoimpl.X.MessageStringOf(x) 778} 779 780func (*RestoreAgentRequest) ProtoMessage() {} 781 782func (x *RestoreAgentRequest) ProtoReflect() protoreflect.Message { 783 mi := &file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[10] 784 if protoimpl.UnsafeEnabled && x != nil { 785 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 786 if ms.LoadMessageInfo() == nil { 787 ms.StoreMessageInfo(mi) 788 } 789 return ms 790 } 791 return mi.MessageOf(x) 792} 793 794// Deprecated: Use RestoreAgentRequest.ProtoReflect.Descriptor instead. 795func (*RestoreAgentRequest) Descriptor() ([]byte, []int) { 796 return file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescGZIP(), []int{10} 797} 798 799func (x *RestoreAgentRequest) GetName() string { 800 if x != nil { 801 return x.Name 802 } 803 return "" 804} 805 806func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent { 807 if m != nil { 808 return m.Agent 809 } 810 return nil 811} 812 813func (x *RestoreAgentRequest) GetAgentUri() string { 814 if x, ok := x.GetAgent().(*RestoreAgentRequest_AgentUri); ok { 815 return x.AgentUri 816 } 817 return "" 818} 819 820func (x *RestoreAgentRequest) GetAgentContent() []byte { 821 if x, ok := x.GetAgent().(*RestoreAgentRequest_AgentContent); ok { 822 return x.AgentContent 823 } 824 return nil 825} 826 827type isRestoreAgentRequest_Agent interface { 828 isRestoreAgentRequest_Agent() 829} 830 831type RestoreAgentRequest_AgentUri struct { 832 // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI 833 // to restore agent from. The format of this URI must be 834 // `gs://<bucket-name>/<object-name>`. 835 AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"` 836} 837 838type RestoreAgentRequest_AgentContent struct { 839 // Uncompressed raw byte content for agent. 840 AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"` 841} 842 843func (*RestoreAgentRequest_AgentUri) isRestoreAgentRequest_Agent() {} 844 845func (*RestoreAgentRequest_AgentContent) isRestoreAgentRequest_Agent() {} 846 847var File_google_cloud_dialogflow_cx_v3_agent_proto protoreflect.FileDescriptor 848 849var file_google_cloud_dialogflow_cx_v3_agent_proto_rawDesc = []byte{ 850 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 851 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x2f, 852 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 853 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 854 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 855 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 856 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 857 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 858 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 859 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 860 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 861 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x67, 862 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 863 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x2f, 0x66, 0x6c, 0x6f, 864 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 865 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 866 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 867 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 868 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 869 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 870 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x14, 0x53, 871 0x70, 0x65, 0x65, 0x63, 0x68, 0x54, 0x6f, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 872 0x6e, 0x67, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x70, 873 0x65, 0x65, 0x63, 0x68, 0x5f, 0x61, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 874 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x65, 875 0x65, 0x63, 0x68, 0x41, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe6, 0x04, 876 0x0a, 0x05, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 877 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 878 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 879 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 880 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x15, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 881 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 882 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x13, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 883 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x09, 884 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 885 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x20, 886 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 887 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 888 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x07, 889 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x69, 0x12, 890 0x6a, 0x0a, 0x17, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x65, 0x78, 891 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 892 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 893 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 894 0x2e, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x54, 0x6f, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x74, 895 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x14, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x54, 0x6f, 0x54, 896 0x65, 0x78, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x45, 0x0a, 0x0a, 0x73, 897 0x74, 0x61, 0x72, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x42, 898 0x26, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 899 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 900 0x6f, 0x6d, 0x2f, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x46, 0x6c, 901 0x6f, 0x77, 0x12, 0x3c, 0x0a, 0x1a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 902 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 903 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 904 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 905 0x12, 0x36, 0x0a, 0x17, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x6c, 0x6c, 906 0x5f, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 907 0x08, 0x52, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x6c, 0x6c, 0x43, 0x6f, 908 0x72, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x5c, 0xea, 0x41, 0x59, 0x0a, 0x1f, 0x64, 909 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 910 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x36, 911 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 912 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 913 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 914 0x61, 0x67, 0x65, 0x6e, 0x74, 0x7d, 0x22, 0x90, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41, 915 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 916 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 917 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 918 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 919 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 920 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 921 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 922 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 923 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7a, 0x0a, 0x12, 0x4c, 0x69, 0x73, 924 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 925 0x3c, 0x0a, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 926 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 927 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 928 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 929 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 930 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 931 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 932 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 933 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 934 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 935 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 936 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 937 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 938 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 939 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 940 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 941 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 942 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 943 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 944 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x67, 0x65, 945 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x92, 946 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 947 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 948 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 949 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 950 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 951 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 952 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 953 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 954 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 955 0x61, 0x73, 0x6b, 0x22, 0x51, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 956 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 957 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 958 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 959 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 960 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x73, 0x0a, 0x12, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 961 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 962 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 963 0x41, 0x21, 0x0a, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 964 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 965 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x61, 0x67, 0x65, 966 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 967 0x01, 0x52, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69, 0x22, 0x64, 0x0a, 0x13, 0x45, 968 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 969 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 970 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x72, 971 0x69, 0x12, 0x25, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 972 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x67, 0x65, 0x6e, 973 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 974 0x74, 0x22, 0xa1, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x41, 0x67, 0x65, 975 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 976 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 977 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 978 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 979 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 980 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x61, 0x67, 0x65, 981 0x6e, 0x74, 0x55, 0x72, 0x69, 0x12, 0x25, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x63, 982 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0c, 983 0x61, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x07, 0x0a, 0x05, 984 0x61, 0x67, 0x65, 0x6e, 0x74, 0x32, 0xfd, 0x0a, 0x0a, 0x06, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 985 0x12, 0xae, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x12, 986 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 987 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 988 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 989 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 990 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 991 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 992 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x76, 993 0x33, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 994 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 995 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 996 0x74, 0x12, 0x9b, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2e, 997 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 998 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x47, 999 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 1000 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 1001 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x41, 1002 0x67, 0x65, 0x6e, 0x74, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x76, 1003 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 1004 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 1005 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 1006 0xb0, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 1007 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1008 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 1009 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 1010 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1011 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 1012 0x76, 0x33, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 1013 0x22, 0x2a, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 1014 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 1015 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x05, 0x61, 0x67, 1016 0x65, 0x6e, 0x74, 0xda, 0x41, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x61, 0x67, 0x65, 1017 0x6e, 0x74, 0x12, 0xbb, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 1018 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1019 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 1020 0x76, 0x33, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 1021 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1022 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 1023 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x53, 0x82, 0xd3, 0xe4, 1024 0x93, 0x02, 0x39, 0x32, 0x30, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 1025 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 1026 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 1027 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0xda, 0x41, 0x11, 0x61, 1028 0x67, 0x65, 0x6e, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 1029 0x12, 0x93, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 1030 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1031 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 1032 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 1033 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1034 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x39, 0x82, 0xd3, 0xe4, 1035 0x93, 0x02, 0x2c, 0x2a, 0x2a, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 1036 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 1037 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 1038 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xcd, 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x70, 0x6f, 0x72, 1039 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1040 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 1041 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x67, 0x65, 1042 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1043 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 1044 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 1045 0x22, 0x31, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 1046 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1047 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x65, 0x78, 0x70, 1048 0x6f, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0xca, 0x41, 0x2d, 0x0a, 0x13, 0x45, 0x78, 0x70, 0x6f, 0x72, 1049 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 1050 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 1051 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0xd2, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x74, 0x6f, 1052 0x72, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1053 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1054 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x41, 1055 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 1056 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 1057 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6f, 0x82, 0xd3, 0xe4, 0x93, 1058 0x02, 0x37, 0x22, 0x32, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 1059 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 1060 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 1061 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x01, 0x2a, 0xca, 0x41, 0x2f, 0x0a, 0x15, 0x67, 0x6f, 1062 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 1063 0x70, 0x74, 0x79, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1064 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x1a, 0x78, 0xca, 0x41, 0x19, 1065 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1066 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x59, 0x68, 0x74, 0x74, 0x70, 1067 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 1068 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 1069 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 1070 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 1071 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 1072 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x42, 0x9a, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 1073 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 1074 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x41, 0x67, 0x65, 1075 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1076 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 1077 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 1078 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 1079 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x78, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 1080 0x44, 0x46, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 1081 0x64, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x78, 0x2e, 1082 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1083} 1084 1085var ( 1086 file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescOnce sync.Once 1087 file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescData = file_google_cloud_dialogflow_cx_v3_agent_proto_rawDesc 1088) 1089 1090func file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescGZIP() []byte { 1091 file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescOnce.Do(func() { 1092 file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescData) 1093 }) 1094 return file_google_cloud_dialogflow_cx_v3_agent_proto_rawDescData 1095} 1096 1097var file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 1098var file_google_cloud_dialogflow_cx_v3_agent_proto_goTypes = []interface{}{ 1099 (*SpeechToTextSettings)(nil), // 0: google.cloud.dialogflow.cx.v3.SpeechToTextSettings 1100 (*Agent)(nil), // 1: google.cloud.dialogflow.cx.v3.Agent 1101 (*ListAgentsRequest)(nil), // 2: google.cloud.dialogflow.cx.v3.ListAgentsRequest 1102 (*ListAgentsResponse)(nil), // 3: google.cloud.dialogflow.cx.v3.ListAgentsResponse 1103 (*GetAgentRequest)(nil), // 4: google.cloud.dialogflow.cx.v3.GetAgentRequest 1104 (*CreateAgentRequest)(nil), // 5: google.cloud.dialogflow.cx.v3.CreateAgentRequest 1105 (*UpdateAgentRequest)(nil), // 6: google.cloud.dialogflow.cx.v3.UpdateAgentRequest 1106 (*DeleteAgentRequest)(nil), // 7: google.cloud.dialogflow.cx.v3.DeleteAgentRequest 1107 (*ExportAgentRequest)(nil), // 8: google.cloud.dialogflow.cx.v3.ExportAgentRequest 1108 (*ExportAgentResponse)(nil), // 9: google.cloud.dialogflow.cx.v3.ExportAgentResponse 1109 (*RestoreAgentRequest)(nil), // 10: google.cloud.dialogflow.cx.v3.RestoreAgentRequest 1110 (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask 1111 (*emptypb.Empty)(nil), // 12: google.protobuf.Empty 1112 (*longrunning.Operation)(nil), // 13: google.longrunning.Operation 1113} 1114var file_google_cloud_dialogflow_cx_v3_agent_proto_depIdxs = []int32{ 1115 0, // 0: google.cloud.dialogflow.cx.v3.Agent.speech_to_text_settings:type_name -> google.cloud.dialogflow.cx.v3.SpeechToTextSettings 1116 1, // 1: google.cloud.dialogflow.cx.v3.ListAgentsResponse.agents:type_name -> google.cloud.dialogflow.cx.v3.Agent 1117 1, // 2: google.cloud.dialogflow.cx.v3.CreateAgentRequest.agent:type_name -> google.cloud.dialogflow.cx.v3.Agent 1118 1, // 3: google.cloud.dialogflow.cx.v3.UpdateAgentRequest.agent:type_name -> google.cloud.dialogflow.cx.v3.Agent 1119 11, // 4: google.cloud.dialogflow.cx.v3.UpdateAgentRequest.update_mask:type_name -> google.protobuf.FieldMask 1120 2, // 5: google.cloud.dialogflow.cx.v3.Agents.ListAgents:input_type -> google.cloud.dialogflow.cx.v3.ListAgentsRequest 1121 4, // 6: google.cloud.dialogflow.cx.v3.Agents.GetAgent:input_type -> google.cloud.dialogflow.cx.v3.GetAgentRequest 1122 5, // 7: google.cloud.dialogflow.cx.v3.Agents.CreateAgent:input_type -> google.cloud.dialogflow.cx.v3.CreateAgentRequest 1123 6, // 8: google.cloud.dialogflow.cx.v3.Agents.UpdateAgent:input_type -> google.cloud.dialogflow.cx.v3.UpdateAgentRequest 1124 7, // 9: google.cloud.dialogflow.cx.v3.Agents.DeleteAgent:input_type -> google.cloud.dialogflow.cx.v3.DeleteAgentRequest 1125 8, // 10: google.cloud.dialogflow.cx.v3.Agents.ExportAgent:input_type -> google.cloud.dialogflow.cx.v3.ExportAgentRequest 1126 10, // 11: google.cloud.dialogflow.cx.v3.Agents.RestoreAgent:input_type -> google.cloud.dialogflow.cx.v3.RestoreAgentRequest 1127 3, // 12: google.cloud.dialogflow.cx.v3.Agents.ListAgents:output_type -> google.cloud.dialogflow.cx.v3.ListAgentsResponse 1128 1, // 13: google.cloud.dialogflow.cx.v3.Agents.GetAgent:output_type -> google.cloud.dialogflow.cx.v3.Agent 1129 1, // 14: google.cloud.dialogflow.cx.v3.Agents.CreateAgent:output_type -> google.cloud.dialogflow.cx.v3.Agent 1130 1, // 15: google.cloud.dialogflow.cx.v3.Agents.UpdateAgent:output_type -> google.cloud.dialogflow.cx.v3.Agent 1131 12, // 16: google.cloud.dialogflow.cx.v3.Agents.DeleteAgent:output_type -> google.protobuf.Empty 1132 13, // 17: google.cloud.dialogflow.cx.v3.Agents.ExportAgent:output_type -> google.longrunning.Operation 1133 13, // 18: google.cloud.dialogflow.cx.v3.Agents.RestoreAgent:output_type -> google.longrunning.Operation 1134 12, // [12:19] is the sub-list for method output_type 1135 5, // [5:12] is the sub-list for method input_type 1136 5, // [5:5] is the sub-list for extension type_name 1137 5, // [5:5] is the sub-list for extension extendee 1138 0, // [0:5] is the sub-list for field type_name 1139} 1140 1141func init() { file_google_cloud_dialogflow_cx_v3_agent_proto_init() } 1142func file_google_cloud_dialogflow_cx_v3_agent_proto_init() { 1143 if File_google_cloud_dialogflow_cx_v3_agent_proto != nil { 1144 return 1145 } 1146 file_google_cloud_dialogflow_cx_v3_flow_proto_init() 1147 if !protoimpl.UnsafeEnabled { 1148 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1149 switch v := v.(*SpeechToTextSettings); i { 1150 case 0: 1151 return &v.state 1152 case 1: 1153 return &v.sizeCache 1154 case 2: 1155 return &v.unknownFields 1156 default: 1157 return nil 1158 } 1159 } 1160 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1161 switch v := v.(*Agent); i { 1162 case 0: 1163 return &v.state 1164 case 1: 1165 return &v.sizeCache 1166 case 2: 1167 return &v.unknownFields 1168 default: 1169 return nil 1170 } 1171 } 1172 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1173 switch v := v.(*ListAgentsRequest); i { 1174 case 0: 1175 return &v.state 1176 case 1: 1177 return &v.sizeCache 1178 case 2: 1179 return &v.unknownFields 1180 default: 1181 return nil 1182 } 1183 } 1184 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1185 switch v := v.(*ListAgentsResponse); i { 1186 case 0: 1187 return &v.state 1188 case 1: 1189 return &v.sizeCache 1190 case 2: 1191 return &v.unknownFields 1192 default: 1193 return nil 1194 } 1195 } 1196 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1197 switch v := v.(*GetAgentRequest); i { 1198 case 0: 1199 return &v.state 1200 case 1: 1201 return &v.sizeCache 1202 case 2: 1203 return &v.unknownFields 1204 default: 1205 return nil 1206 } 1207 } 1208 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1209 switch v := v.(*CreateAgentRequest); i { 1210 case 0: 1211 return &v.state 1212 case 1: 1213 return &v.sizeCache 1214 case 2: 1215 return &v.unknownFields 1216 default: 1217 return nil 1218 } 1219 } 1220 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1221 switch v := v.(*UpdateAgentRequest); i { 1222 case 0: 1223 return &v.state 1224 case 1: 1225 return &v.sizeCache 1226 case 2: 1227 return &v.unknownFields 1228 default: 1229 return nil 1230 } 1231 } 1232 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1233 switch v := v.(*DeleteAgentRequest); i { 1234 case 0: 1235 return &v.state 1236 case 1: 1237 return &v.sizeCache 1238 case 2: 1239 return &v.unknownFields 1240 default: 1241 return nil 1242 } 1243 } 1244 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1245 switch v := v.(*ExportAgentRequest); i { 1246 case 0: 1247 return &v.state 1248 case 1: 1249 return &v.sizeCache 1250 case 2: 1251 return &v.unknownFields 1252 default: 1253 return nil 1254 } 1255 } 1256 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1257 switch v := v.(*ExportAgentResponse); i { 1258 case 0: 1259 return &v.state 1260 case 1: 1261 return &v.sizeCache 1262 case 2: 1263 return &v.unknownFields 1264 default: 1265 return nil 1266 } 1267 } 1268 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1269 switch v := v.(*RestoreAgentRequest); i { 1270 case 0: 1271 return &v.state 1272 case 1: 1273 return &v.sizeCache 1274 case 2: 1275 return &v.unknownFields 1276 default: 1277 return nil 1278 } 1279 } 1280 } 1281 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[9].OneofWrappers = []interface{}{ 1282 (*ExportAgentResponse_AgentUri)(nil), 1283 (*ExportAgentResponse_AgentContent)(nil), 1284 } 1285 file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes[10].OneofWrappers = []interface{}{ 1286 (*RestoreAgentRequest_AgentUri)(nil), 1287 (*RestoreAgentRequest_AgentContent)(nil), 1288 } 1289 type x struct{} 1290 out := protoimpl.TypeBuilder{ 1291 File: protoimpl.DescBuilder{ 1292 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1293 RawDescriptor: file_google_cloud_dialogflow_cx_v3_agent_proto_rawDesc, 1294 NumEnums: 0, 1295 NumMessages: 11, 1296 NumExtensions: 0, 1297 NumServices: 1, 1298 }, 1299 GoTypes: file_google_cloud_dialogflow_cx_v3_agent_proto_goTypes, 1300 DependencyIndexes: file_google_cloud_dialogflow_cx_v3_agent_proto_depIdxs, 1301 MessageInfos: file_google_cloud_dialogflow_cx_v3_agent_proto_msgTypes, 1302 }.Build() 1303 File_google_cloud_dialogflow_cx_v3_agent_proto = out.File 1304 file_google_cloud_dialogflow_cx_v3_agent_proto_rawDesc = nil 1305 file_google_cloud_dialogflow_cx_v3_agent_proto_goTypes = nil 1306 file_google_cloud_dialogflow_cx_v3_agent_proto_depIdxs = nil 1307} 1308 1309// Reference imports to suppress errors if they are not otherwise used. 1310var _ context.Context 1311var _ grpc.ClientConnInterface 1312 1313// This is a compile-time assertion to ensure that this generated file 1314// is compatible with the grpc package it is being compiled against. 1315const _ = grpc.SupportPackageIsVersion6 1316 1317// AgentsClient is the client API for Agents service. 1318// 1319// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1320type AgentsClient interface { 1321 // Returns the list of all agents in the specified location. 1322 ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResponse, error) 1323 // Retrieves the specified agent. 1324 GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error) 1325 // Creates an agent in the specified location. 1326 CreateAgent(ctx context.Context, in *CreateAgentRequest, opts ...grpc.CallOption) (*Agent, error) 1327 // Updates the specified agent. 1328 UpdateAgent(ctx context.Context, in *UpdateAgentRequest, opts ...grpc.CallOption) (*Agent, error) 1329 // Deletes the specified agent. 1330 DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1331 // Exports the specified agent to a binary file. 1332 ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1333 // Restores the specified agent from a binary file. 1334 // 1335 // Replaces the current agent with a new one. Note that all existing resources 1336 // in agent (e.g. intents, entity types, flows) will be removed. 1337 RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1338} 1339 1340type agentsClient struct { 1341 cc grpc.ClientConnInterface 1342} 1343 1344func NewAgentsClient(cc grpc.ClientConnInterface) AgentsClient { 1345 return &agentsClient{cc} 1346} 1347 1348func (c *agentsClient) ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResponse, error) { 1349 out := new(ListAgentsResponse) 1350 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Agents/ListAgents", in, out, opts...) 1351 if err != nil { 1352 return nil, err 1353 } 1354 return out, nil 1355} 1356 1357func (c *agentsClient) GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error) { 1358 out := new(Agent) 1359 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Agents/GetAgent", in, out, opts...) 1360 if err != nil { 1361 return nil, err 1362 } 1363 return out, nil 1364} 1365 1366func (c *agentsClient) CreateAgent(ctx context.Context, in *CreateAgentRequest, opts ...grpc.CallOption) (*Agent, error) { 1367 out := new(Agent) 1368 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Agents/CreateAgent", in, out, opts...) 1369 if err != nil { 1370 return nil, err 1371 } 1372 return out, nil 1373} 1374 1375func (c *agentsClient) UpdateAgent(ctx context.Context, in *UpdateAgentRequest, opts ...grpc.CallOption) (*Agent, error) { 1376 out := new(Agent) 1377 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Agents/UpdateAgent", in, out, opts...) 1378 if err != nil { 1379 return nil, err 1380 } 1381 return out, nil 1382} 1383 1384func (c *agentsClient) DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1385 out := new(emptypb.Empty) 1386 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Agents/DeleteAgent", in, out, opts...) 1387 if err != nil { 1388 return nil, err 1389 } 1390 return out, nil 1391} 1392 1393func (c *agentsClient) ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1394 out := new(longrunning.Operation) 1395 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Agents/ExportAgent", in, out, opts...) 1396 if err != nil { 1397 return nil, err 1398 } 1399 return out, nil 1400} 1401 1402func (c *agentsClient) RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1403 out := new(longrunning.Operation) 1404 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.Agents/RestoreAgent", in, out, opts...) 1405 if err != nil { 1406 return nil, err 1407 } 1408 return out, nil 1409} 1410 1411// AgentsServer is the server API for Agents service. 1412type AgentsServer interface { 1413 // Returns the list of all agents in the specified location. 1414 ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error) 1415 // Retrieves the specified agent. 1416 GetAgent(context.Context, *GetAgentRequest) (*Agent, error) 1417 // Creates an agent in the specified location. 1418 CreateAgent(context.Context, *CreateAgentRequest) (*Agent, error) 1419 // Updates the specified agent. 1420 UpdateAgent(context.Context, *UpdateAgentRequest) (*Agent, error) 1421 // Deletes the specified agent. 1422 DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error) 1423 // Exports the specified agent to a binary file. 1424 ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.Operation, error) 1425 // Restores the specified agent from a binary file. 1426 // 1427 // Replaces the current agent with a new one. Note that all existing resources 1428 // in agent (e.g. intents, entity types, flows) will be removed. 1429 RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunning.Operation, error) 1430} 1431 1432// UnimplementedAgentsServer can be embedded to have forward compatible implementations. 1433type UnimplementedAgentsServer struct { 1434} 1435 1436func (*UnimplementedAgentsServer) ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error) { 1437 return nil, status.Errorf(codes.Unimplemented, "method ListAgents not implemented") 1438} 1439func (*UnimplementedAgentsServer) GetAgent(context.Context, *GetAgentRequest) (*Agent, error) { 1440 return nil, status.Errorf(codes.Unimplemented, "method GetAgent not implemented") 1441} 1442func (*UnimplementedAgentsServer) CreateAgent(context.Context, *CreateAgentRequest) (*Agent, error) { 1443 return nil, status.Errorf(codes.Unimplemented, "method CreateAgent not implemented") 1444} 1445func (*UnimplementedAgentsServer) UpdateAgent(context.Context, *UpdateAgentRequest) (*Agent, error) { 1446 return nil, status.Errorf(codes.Unimplemented, "method UpdateAgent not implemented") 1447} 1448func (*UnimplementedAgentsServer) DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error) { 1449 return nil, status.Errorf(codes.Unimplemented, "method DeleteAgent not implemented") 1450} 1451func (*UnimplementedAgentsServer) ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.Operation, error) { 1452 return nil, status.Errorf(codes.Unimplemented, "method ExportAgent not implemented") 1453} 1454func (*UnimplementedAgentsServer) RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunning.Operation, error) { 1455 return nil, status.Errorf(codes.Unimplemented, "method RestoreAgent not implemented") 1456} 1457 1458func RegisterAgentsServer(s *grpc.Server, srv AgentsServer) { 1459 s.RegisterService(&_Agents_serviceDesc, srv) 1460} 1461 1462func _Agents_ListAgents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1463 in := new(ListAgentsRequest) 1464 if err := dec(in); err != nil { 1465 return nil, err 1466 } 1467 if interceptor == nil { 1468 return srv.(AgentsServer).ListAgents(ctx, in) 1469 } 1470 info := &grpc.UnaryServerInfo{ 1471 Server: srv, 1472 FullMethod: "/google.cloud.dialogflow.cx.v3.Agents/ListAgents", 1473 } 1474 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1475 return srv.(AgentsServer).ListAgents(ctx, req.(*ListAgentsRequest)) 1476 } 1477 return interceptor(ctx, in, info, handler) 1478} 1479 1480func _Agents_GetAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1481 in := new(GetAgentRequest) 1482 if err := dec(in); err != nil { 1483 return nil, err 1484 } 1485 if interceptor == nil { 1486 return srv.(AgentsServer).GetAgent(ctx, in) 1487 } 1488 info := &grpc.UnaryServerInfo{ 1489 Server: srv, 1490 FullMethod: "/google.cloud.dialogflow.cx.v3.Agents/GetAgent", 1491 } 1492 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1493 return srv.(AgentsServer).GetAgent(ctx, req.(*GetAgentRequest)) 1494 } 1495 return interceptor(ctx, in, info, handler) 1496} 1497 1498func _Agents_CreateAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1499 in := new(CreateAgentRequest) 1500 if err := dec(in); err != nil { 1501 return nil, err 1502 } 1503 if interceptor == nil { 1504 return srv.(AgentsServer).CreateAgent(ctx, in) 1505 } 1506 info := &grpc.UnaryServerInfo{ 1507 Server: srv, 1508 FullMethod: "/google.cloud.dialogflow.cx.v3.Agents/CreateAgent", 1509 } 1510 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1511 return srv.(AgentsServer).CreateAgent(ctx, req.(*CreateAgentRequest)) 1512 } 1513 return interceptor(ctx, in, info, handler) 1514} 1515 1516func _Agents_UpdateAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1517 in := new(UpdateAgentRequest) 1518 if err := dec(in); err != nil { 1519 return nil, err 1520 } 1521 if interceptor == nil { 1522 return srv.(AgentsServer).UpdateAgent(ctx, in) 1523 } 1524 info := &grpc.UnaryServerInfo{ 1525 Server: srv, 1526 FullMethod: "/google.cloud.dialogflow.cx.v3.Agents/UpdateAgent", 1527 } 1528 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1529 return srv.(AgentsServer).UpdateAgent(ctx, req.(*UpdateAgentRequest)) 1530 } 1531 return interceptor(ctx, in, info, handler) 1532} 1533 1534func _Agents_DeleteAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1535 in := new(DeleteAgentRequest) 1536 if err := dec(in); err != nil { 1537 return nil, err 1538 } 1539 if interceptor == nil { 1540 return srv.(AgentsServer).DeleteAgent(ctx, in) 1541 } 1542 info := &grpc.UnaryServerInfo{ 1543 Server: srv, 1544 FullMethod: "/google.cloud.dialogflow.cx.v3.Agents/DeleteAgent", 1545 } 1546 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1547 return srv.(AgentsServer).DeleteAgent(ctx, req.(*DeleteAgentRequest)) 1548 } 1549 return interceptor(ctx, in, info, handler) 1550} 1551 1552func _Agents_ExportAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1553 in := new(ExportAgentRequest) 1554 if err := dec(in); err != nil { 1555 return nil, err 1556 } 1557 if interceptor == nil { 1558 return srv.(AgentsServer).ExportAgent(ctx, in) 1559 } 1560 info := &grpc.UnaryServerInfo{ 1561 Server: srv, 1562 FullMethod: "/google.cloud.dialogflow.cx.v3.Agents/ExportAgent", 1563 } 1564 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1565 return srv.(AgentsServer).ExportAgent(ctx, req.(*ExportAgentRequest)) 1566 } 1567 return interceptor(ctx, in, info, handler) 1568} 1569 1570func _Agents_RestoreAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1571 in := new(RestoreAgentRequest) 1572 if err := dec(in); err != nil { 1573 return nil, err 1574 } 1575 if interceptor == nil { 1576 return srv.(AgentsServer).RestoreAgent(ctx, in) 1577 } 1578 info := &grpc.UnaryServerInfo{ 1579 Server: srv, 1580 FullMethod: "/google.cloud.dialogflow.cx.v3.Agents/RestoreAgent", 1581 } 1582 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1583 return srv.(AgentsServer).RestoreAgent(ctx, req.(*RestoreAgentRequest)) 1584 } 1585 return interceptor(ctx, in, info, handler) 1586} 1587 1588var _Agents_serviceDesc = grpc.ServiceDesc{ 1589 ServiceName: "google.cloud.dialogflow.cx.v3.Agents", 1590 HandlerType: (*AgentsServer)(nil), 1591 Methods: []grpc.MethodDesc{ 1592 { 1593 MethodName: "ListAgents", 1594 Handler: _Agents_ListAgents_Handler, 1595 }, 1596 { 1597 MethodName: "GetAgent", 1598 Handler: _Agents_GetAgent_Handler, 1599 }, 1600 { 1601 MethodName: "CreateAgent", 1602 Handler: _Agents_CreateAgent_Handler, 1603 }, 1604 { 1605 MethodName: "UpdateAgent", 1606 Handler: _Agents_UpdateAgent_Handler, 1607 }, 1608 { 1609 MethodName: "DeleteAgent", 1610 Handler: _Agents_DeleteAgent_Handler, 1611 }, 1612 { 1613 MethodName: "ExportAgent", 1614 Handler: _Agents_ExportAgent_Handler, 1615 }, 1616 { 1617 MethodName: "RestoreAgent", 1618 Handler: _Agents_RestoreAgent_Handler, 1619 }, 1620 }, 1621 Streams: []grpc.StreamDesc{}, 1622 Metadata: "google/cloud/dialogflow/cx/v3/agent.proto", 1623} 1624