1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0 18// protoc v3.13.0 19// source: google/cloud/dialogflow/cx/v3beta1/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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.Intent], 106// [Entity Types][google.cloud.dialogflow.cx.v3beta1.EntityType], [Flows][google.cloud.dialogflow.cx.v3beta1.Flow], [Fulfillments][google.cloud.dialogflow.cx.v3beta1.Fulfillment], 107// [Webhooks][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.Agents.UpdateAgent] method. [Agents.CreateAgent][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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_v3beta1_agent_proto protoreflect.FileDescriptor 848 849var file_google_cloud_dialogflow_cx_v3beta1_agent_proto_rawDesc = []byte{ 850 0x0a, 0x2e, 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, 0x62, 852 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 853 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 854 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 855 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 856 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 857 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 858 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 859 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 860 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 861 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 862 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 863 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 864 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x66, 0x6c, 0x6f, 0x77, 865 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 866 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 867 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 868 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 869 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 870 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 871 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x14, 0x53, 0x70, 872 0x65, 0x65, 0x63, 0x68, 0x54, 0x6f, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 873 0x67, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x65, 874 0x65, 0x63, 0x68, 0x5f, 0x61, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 875 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x65, 876 0x63, 0x68, 0x41, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xeb, 0x04, 0x0a, 877 0x05, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 878 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 879 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 880 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 881 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x15, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x61, 882 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 883 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x13, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4c, 884 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x74, 885 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 886 0xe0, 0x41, 0x02, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x20, 0x0a, 887 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 888 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 889 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x07, 0x20, 890 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x69, 0x12, 0x6f, 891 0x0a, 0x17, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x65, 0x78, 0x74, 892 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 893 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 894 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 895 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x54, 0x6f, 0x54, 0x65, 0x78, 896 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x14, 0x73, 0x70, 0x65, 0x65, 0x63, 897 0x68, 0x54, 0x6f, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 898 0x45, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x10, 0x20, 899 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x64, 0x69, 0x61, 900 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 901 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x09, 0x73, 0x74, 0x61, 902 0x72, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x3c, 0x0a, 0x1a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 903 0x5f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x6c, 0x6f, 0x67, 904 0x67, 0x69, 0x6e, 0x67, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x65, 0x6e, 0x61, 0x62, 905 0x6c, 0x65, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x67, 906 0x67, 0x69, 0x6e, 0x67, 0x12, 0x36, 0x0a, 0x17, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 907 0x70, 0x65, 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 908 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x65, 909 0x6c, 0x6c, 0x43, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x5c, 0xea, 0x41, 910 0x59, 0x0a, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 911 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 912 0x6e, 0x74, 0x12, 0x36, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 913 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 914 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 915 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x7d, 0x22, 0x90, 0x01, 0x0a, 0x11, 0x4c, 916 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 917 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 918 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 919 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 920 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 921 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 922 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 923 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 924 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7f, 0x0a, 925 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 926 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 927 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 928 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 929 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 930 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 931 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 932 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4e, 933 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 934 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 935 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 936 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 937 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9b, 938 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 939 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 940 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x64, 941 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 942 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 943 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x44, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 944 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 945 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 946 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 947 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x97, 0x01, 0x0a, 948 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 949 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 950 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 951 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 952 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 953 0x41, 0x02, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 954 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 955 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 956 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 957 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x51, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 958 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 959 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 960 0x41, 0x21, 0x0a, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 961 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 962 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x73, 0x0a, 0x12, 0x45, 0x78, 0x70, 963 0x6f, 0x72, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 964 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 965 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 966 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 967 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x09, 968 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 969 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69, 0x22, 0x64, 970 0x0a, 0x13, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 971 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 972 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x61, 0x67, 0x65, 0x6e, 973 0x74, 0x55, 0x72, 0x69, 0x12, 0x25, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 974 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0c, 0x61, 975 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x61, 976 0x67, 0x65, 0x6e, 0x74, 0x22, 0xa1, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 977 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 978 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 979 0x41, 0x21, 0x0a, 0x1f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 980 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 981 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x61, 0x67, 0x65, 982 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 983 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69, 0x12, 0x25, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, 984 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x48, 985 0x00, 0x52, 0x0c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 986 0x07, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x32, 0xd7, 0x0b, 0x0a, 0x06, 0x41, 0x67, 0x65, 987 0x6e, 0x74, 0x73, 0x12, 0xbd, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 988 0x74, 0x73, 0x12, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 989 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 990 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 991 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 992 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 993 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 994 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 995 0x65, 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x33, 0x62, 0x65, 996 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 997 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 998 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 999 0x65, 0x6e, 0x74, 0x12, 0xaa, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 1000 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1001 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 1002 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 1003 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1004 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 1005 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 1006 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 1007 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 1008 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 1009 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1010 0x12, 0xbf, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 1011 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1012 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 1013 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 1014 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1015 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 1016 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x67, 1017 0x65, 0x6e, 0x74, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x22, 0x2f, 0x2f, 0x76, 0x33, 1018 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 1019 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 1020 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x05, 0x61, 0x67, 1021 0x65, 0x6e, 0x74, 0xda, 0x41, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x61, 0x67, 0x65, 1022 0x6e, 0x74, 0x12, 0xca, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 1023 0x6e, 0x74, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1024 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 1025 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x67, 1026 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 1027 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1028 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 1029 0x41, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x58, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x32, 0x35, 0x2f, 1030 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x6e, 1031 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 1032 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 1033 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0xda, 0x41, 0x11, 0x61, 0x67, 1034 0x65, 0x6e, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 1035 0x9d, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 1036 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1037 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 1038 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 1039 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1040 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 1041 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x2a, 0x2f, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 1042 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 1043 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 1044 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 1045 0xd7, 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 1046 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 1047 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 1048 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 1049 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1050 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 1051 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x36, 1052 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 1053 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 1054 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 1055 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0xca, 0x41, 0x2d, 0x0a, 0x13, 0x45, 0x78, 1056 0x70, 0x6f, 0x72, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1057 0x65, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 1058 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0xdc, 0x01, 0x0a, 0x0c, 0x52, 0x65, 1059 0x73, 0x74, 0x6f, 0x72, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 1060 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 1061 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 1062 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 1063 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 1064 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 1065 0x6f, 0x6e, 0x22, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x22, 0x37, 0x2f, 0x76, 0x33, 0x62, 1066 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 1067 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1068 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x73, 0x74, 1069 0x6f, 0x72, 0x65, 0x3a, 0x01, 0x2a, 0xca, 0x41, 0x2f, 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1070 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 1071 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 1072 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x1a, 0x78, 0xca, 0x41, 0x19, 0x64, 0x69, 0x61, 1073 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 1074 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x59, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 1075 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 1076 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 1077 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 1078 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1079 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 1080 0x6f, 0x77, 0x42, 0xa9, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1081 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 1082 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0a, 0x41, 1083 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 0x6f, 1084 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 1085 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 1086 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 1087 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x63, 1088 0x78, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 0x46, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 1089 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 1090 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x78, 0x2e, 0x56, 0x33, 0x42, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 1091 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1092} 1093 1094var ( 1095 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_rawDescOnce sync.Once 1096 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_rawDescData = file_google_cloud_dialogflow_cx_v3beta1_agent_proto_rawDesc 1097) 1098 1099func file_google_cloud_dialogflow_cx_v3beta1_agent_proto_rawDescGZIP() []byte { 1100 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_rawDescOnce.Do(func() { 1101 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3beta1_agent_proto_rawDescData) 1102 }) 1103 return file_google_cloud_dialogflow_cx_v3beta1_agent_proto_rawDescData 1104} 1105 1106var file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 1107var file_google_cloud_dialogflow_cx_v3beta1_agent_proto_goTypes = []interface{}{ 1108 (*SpeechToTextSettings)(nil), // 0: google.cloud.dialogflow.cx.v3beta1.SpeechToTextSettings 1109 (*Agent)(nil), // 1: google.cloud.dialogflow.cx.v3beta1.Agent 1110 (*ListAgentsRequest)(nil), // 2: google.cloud.dialogflow.cx.v3beta1.ListAgentsRequest 1111 (*ListAgentsResponse)(nil), // 3: google.cloud.dialogflow.cx.v3beta1.ListAgentsResponse 1112 (*GetAgentRequest)(nil), // 4: google.cloud.dialogflow.cx.v3beta1.GetAgentRequest 1113 (*CreateAgentRequest)(nil), // 5: google.cloud.dialogflow.cx.v3beta1.CreateAgentRequest 1114 (*UpdateAgentRequest)(nil), // 6: google.cloud.dialogflow.cx.v3beta1.UpdateAgentRequest 1115 (*DeleteAgentRequest)(nil), // 7: google.cloud.dialogflow.cx.v3beta1.DeleteAgentRequest 1116 (*ExportAgentRequest)(nil), // 8: google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest 1117 (*ExportAgentResponse)(nil), // 9: google.cloud.dialogflow.cx.v3beta1.ExportAgentResponse 1118 (*RestoreAgentRequest)(nil), // 10: google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest 1119 (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask 1120 (*emptypb.Empty)(nil), // 12: google.protobuf.Empty 1121 (*longrunning.Operation)(nil), // 13: google.longrunning.Operation 1122} 1123var file_google_cloud_dialogflow_cx_v3beta1_agent_proto_depIdxs = []int32{ 1124 0, // 0: google.cloud.dialogflow.cx.v3beta1.Agent.speech_to_text_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.SpeechToTextSettings 1125 1, // 1: google.cloud.dialogflow.cx.v3beta1.ListAgentsResponse.agents:type_name -> google.cloud.dialogflow.cx.v3beta1.Agent 1126 1, // 2: google.cloud.dialogflow.cx.v3beta1.CreateAgentRequest.agent:type_name -> google.cloud.dialogflow.cx.v3beta1.Agent 1127 1, // 3: google.cloud.dialogflow.cx.v3beta1.UpdateAgentRequest.agent:type_name -> google.cloud.dialogflow.cx.v3beta1.Agent 1128 11, // 4: google.cloud.dialogflow.cx.v3beta1.UpdateAgentRequest.update_mask:type_name -> google.protobuf.FieldMask 1129 2, // 5: google.cloud.dialogflow.cx.v3beta1.Agents.ListAgents:input_type -> google.cloud.dialogflow.cx.v3beta1.ListAgentsRequest 1130 4, // 6: google.cloud.dialogflow.cx.v3beta1.Agents.GetAgent:input_type -> google.cloud.dialogflow.cx.v3beta1.GetAgentRequest 1131 5, // 7: google.cloud.dialogflow.cx.v3beta1.Agents.CreateAgent:input_type -> google.cloud.dialogflow.cx.v3beta1.CreateAgentRequest 1132 6, // 8: google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent:input_type -> google.cloud.dialogflow.cx.v3beta1.UpdateAgentRequest 1133 7, // 9: google.cloud.dialogflow.cx.v3beta1.Agents.DeleteAgent:input_type -> google.cloud.dialogflow.cx.v3beta1.DeleteAgentRequest 1134 8, // 10: google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent:input_type -> google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest 1135 10, // 11: google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent:input_type -> google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest 1136 3, // 12: google.cloud.dialogflow.cx.v3beta1.Agents.ListAgents:output_type -> google.cloud.dialogflow.cx.v3beta1.ListAgentsResponse 1137 1, // 13: google.cloud.dialogflow.cx.v3beta1.Agents.GetAgent:output_type -> google.cloud.dialogflow.cx.v3beta1.Agent 1138 1, // 14: google.cloud.dialogflow.cx.v3beta1.Agents.CreateAgent:output_type -> google.cloud.dialogflow.cx.v3beta1.Agent 1139 1, // 15: google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent:output_type -> google.cloud.dialogflow.cx.v3beta1.Agent 1140 12, // 16: google.cloud.dialogflow.cx.v3beta1.Agents.DeleteAgent:output_type -> google.protobuf.Empty 1141 13, // 17: google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent:output_type -> google.longrunning.Operation 1142 13, // 18: google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent:output_type -> google.longrunning.Operation 1143 12, // [12:19] is the sub-list for method output_type 1144 5, // [5:12] is the sub-list for method input_type 1145 5, // [5:5] is the sub-list for extension type_name 1146 5, // [5:5] is the sub-list for extension extendee 1147 0, // [0:5] is the sub-list for field type_name 1148} 1149 1150func init() { file_google_cloud_dialogflow_cx_v3beta1_agent_proto_init() } 1151func file_google_cloud_dialogflow_cx_v3beta1_agent_proto_init() { 1152 if File_google_cloud_dialogflow_cx_v3beta1_agent_proto != nil { 1153 return 1154 } 1155 file_google_cloud_dialogflow_cx_v3beta1_flow_proto_init() 1156 if !protoimpl.UnsafeEnabled { 1157 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1158 switch v := v.(*SpeechToTextSettings); i { 1159 case 0: 1160 return &v.state 1161 case 1: 1162 return &v.sizeCache 1163 case 2: 1164 return &v.unknownFields 1165 default: 1166 return nil 1167 } 1168 } 1169 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1170 switch v := v.(*Agent); i { 1171 case 0: 1172 return &v.state 1173 case 1: 1174 return &v.sizeCache 1175 case 2: 1176 return &v.unknownFields 1177 default: 1178 return nil 1179 } 1180 } 1181 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1182 switch v := v.(*ListAgentsRequest); i { 1183 case 0: 1184 return &v.state 1185 case 1: 1186 return &v.sizeCache 1187 case 2: 1188 return &v.unknownFields 1189 default: 1190 return nil 1191 } 1192 } 1193 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1194 switch v := v.(*ListAgentsResponse); i { 1195 case 0: 1196 return &v.state 1197 case 1: 1198 return &v.sizeCache 1199 case 2: 1200 return &v.unknownFields 1201 default: 1202 return nil 1203 } 1204 } 1205 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1206 switch v := v.(*GetAgentRequest); i { 1207 case 0: 1208 return &v.state 1209 case 1: 1210 return &v.sizeCache 1211 case 2: 1212 return &v.unknownFields 1213 default: 1214 return nil 1215 } 1216 } 1217 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1218 switch v := v.(*CreateAgentRequest); i { 1219 case 0: 1220 return &v.state 1221 case 1: 1222 return &v.sizeCache 1223 case 2: 1224 return &v.unknownFields 1225 default: 1226 return nil 1227 } 1228 } 1229 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1230 switch v := v.(*UpdateAgentRequest); i { 1231 case 0: 1232 return &v.state 1233 case 1: 1234 return &v.sizeCache 1235 case 2: 1236 return &v.unknownFields 1237 default: 1238 return nil 1239 } 1240 } 1241 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1242 switch v := v.(*DeleteAgentRequest); i { 1243 case 0: 1244 return &v.state 1245 case 1: 1246 return &v.sizeCache 1247 case 2: 1248 return &v.unknownFields 1249 default: 1250 return nil 1251 } 1252 } 1253 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1254 switch v := v.(*ExportAgentRequest); i { 1255 case 0: 1256 return &v.state 1257 case 1: 1258 return &v.sizeCache 1259 case 2: 1260 return &v.unknownFields 1261 default: 1262 return nil 1263 } 1264 } 1265 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1266 switch v := v.(*ExportAgentResponse); i { 1267 case 0: 1268 return &v.state 1269 case 1: 1270 return &v.sizeCache 1271 case 2: 1272 return &v.unknownFields 1273 default: 1274 return nil 1275 } 1276 } 1277 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1278 switch v := v.(*RestoreAgentRequest); i { 1279 case 0: 1280 return &v.state 1281 case 1: 1282 return &v.sizeCache 1283 case 2: 1284 return &v.unknownFields 1285 default: 1286 return nil 1287 } 1288 } 1289 } 1290 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[9].OneofWrappers = []interface{}{ 1291 (*ExportAgentResponse_AgentUri)(nil), 1292 (*ExportAgentResponse_AgentContent)(nil), 1293 } 1294 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes[10].OneofWrappers = []interface{}{ 1295 (*RestoreAgentRequest_AgentUri)(nil), 1296 (*RestoreAgentRequest_AgentContent)(nil), 1297 } 1298 type x struct{} 1299 out := protoimpl.TypeBuilder{ 1300 File: protoimpl.DescBuilder{ 1301 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1302 RawDescriptor: file_google_cloud_dialogflow_cx_v3beta1_agent_proto_rawDesc, 1303 NumEnums: 0, 1304 NumMessages: 11, 1305 NumExtensions: 0, 1306 NumServices: 1, 1307 }, 1308 GoTypes: file_google_cloud_dialogflow_cx_v3beta1_agent_proto_goTypes, 1309 DependencyIndexes: file_google_cloud_dialogflow_cx_v3beta1_agent_proto_depIdxs, 1310 MessageInfos: file_google_cloud_dialogflow_cx_v3beta1_agent_proto_msgTypes, 1311 }.Build() 1312 File_google_cloud_dialogflow_cx_v3beta1_agent_proto = out.File 1313 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_rawDesc = nil 1314 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_goTypes = nil 1315 file_google_cloud_dialogflow_cx_v3beta1_agent_proto_depIdxs = nil 1316} 1317 1318// Reference imports to suppress errors if they are not otherwise used. 1319var _ context.Context 1320var _ grpc.ClientConnInterface 1321 1322// This is a compile-time assertion to ensure that this generated file 1323// is compatible with the grpc package it is being compiled against. 1324const _ = grpc.SupportPackageIsVersion6 1325 1326// AgentsClient is the client API for Agents service. 1327// 1328// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1329type AgentsClient interface { 1330 // Returns the list of all agents in the specified location. 1331 ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResponse, error) 1332 // Retrieves the specified agent. 1333 GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error) 1334 // Creates an agent in the specified location. 1335 CreateAgent(ctx context.Context, in *CreateAgentRequest, opts ...grpc.CallOption) (*Agent, error) 1336 // Updates the specified agent. 1337 UpdateAgent(ctx context.Context, in *UpdateAgentRequest, opts ...grpc.CallOption) (*Agent, error) 1338 // Deletes the specified agent. 1339 DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1340 // Exports the specified agent to a binary file. 1341 ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1342 // Restores the specified agent from a binary file. 1343 // 1344 // Replaces the current agent with a new one. Note that all existing resources 1345 // in agent (e.g. intents, entity types, flows) will be removed. 1346 RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1347} 1348 1349type agentsClient struct { 1350 cc grpc.ClientConnInterface 1351} 1352 1353func NewAgentsClient(cc grpc.ClientConnInterface) AgentsClient { 1354 return &agentsClient{cc} 1355} 1356 1357func (c *agentsClient) ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResponse, error) { 1358 out := new(ListAgentsResponse) 1359 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Agents/ListAgents", in, out, opts...) 1360 if err != nil { 1361 return nil, err 1362 } 1363 return out, nil 1364} 1365 1366func (c *agentsClient) GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error) { 1367 out := new(Agent) 1368 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Agents/GetAgent", in, out, opts...) 1369 if err != nil { 1370 return nil, err 1371 } 1372 return out, nil 1373} 1374 1375func (c *agentsClient) CreateAgent(ctx context.Context, in *CreateAgentRequest, opts ...grpc.CallOption) (*Agent, error) { 1376 out := new(Agent) 1377 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Agents/CreateAgent", in, out, opts...) 1378 if err != nil { 1379 return nil, err 1380 } 1381 return out, nil 1382} 1383 1384func (c *agentsClient) UpdateAgent(ctx context.Context, in *UpdateAgentRequest, opts ...grpc.CallOption) (*Agent, error) { 1385 out := new(Agent) 1386 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Agents/UpdateAgent", in, out, opts...) 1387 if err != nil { 1388 return nil, err 1389 } 1390 return out, nil 1391} 1392 1393func (c *agentsClient) DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1394 out := new(emptypb.Empty) 1395 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Agents/DeleteAgent", in, out, opts...) 1396 if err != nil { 1397 return nil, err 1398 } 1399 return out, nil 1400} 1401 1402func (c *agentsClient) ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1403 out := new(longrunning.Operation) 1404 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Agents/ExportAgent", in, out, opts...) 1405 if err != nil { 1406 return nil, err 1407 } 1408 return out, nil 1409} 1410 1411func (c *agentsClient) RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1412 out := new(longrunning.Operation) 1413 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.Agents/RestoreAgent", in, out, opts...) 1414 if err != nil { 1415 return nil, err 1416 } 1417 return out, nil 1418} 1419 1420// AgentsServer is the server API for Agents service. 1421type AgentsServer interface { 1422 // Returns the list of all agents in the specified location. 1423 ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error) 1424 // Retrieves the specified agent. 1425 GetAgent(context.Context, *GetAgentRequest) (*Agent, error) 1426 // Creates an agent in the specified location. 1427 CreateAgent(context.Context, *CreateAgentRequest) (*Agent, error) 1428 // Updates the specified agent. 1429 UpdateAgent(context.Context, *UpdateAgentRequest) (*Agent, error) 1430 // Deletes the specified agent. 1431 DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error) 1432 // Exports the specified agent to a binary file. 1433 ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.Operation, error) 1434 // Restores the specified agent from a binary file. 1435 // 1436 // Replaces the current agent with a new one. Note that all existing resources 1437 // in agent (e.g. intents, entity types, flows) will be removed. 1438 RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunning.Operation, error) 1439} 1440 1441// UnimplementedAgentsServer can be embedded to have forward compatible implementations. 1442type UnimplementedAgentsServer struct { 1443} 1444 1445func (*UnimplementedAgentsServer) ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error) { 1446 return nil, status.Errorf(codes.Unimplemented, "method ListAgents not implemented") 1447} 1448func (*UnimplementedAgentsServer) GetAgent(context.Context, *GetAgentRequest) (*Agent, error) { 1449 return nil, status.Errorf(codes.Unimplemented, "method GetAgent not implemented") 1450} 1451func (*UnimplementedAgentsServer) CreateAgent(context.Context, *CreateAgentRequest) (*Agent, error) { 1452 return nil, status.Errorf(codes.Unimplemented, "method CreateAgent not implemented") 1453} 1454func (*UnimplementedAgentsServer) UpdateAgent(context.Context, *UpdateAgentRequest) (*Agent, error) { 1455 return nil, status.Errorf(codes.Unimplemented, "method UpdateAgent not implemented") 1456} 1457func (*UnimplementedAgentsServer) DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error) { 1458 return nil, status.Errorf(codes.Unimplemented, "method DeleteAgent not implemented") 1459} 1460func (*UnimplementedAgentsServer) ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.Operation, error) { 1461 return nil, status.Errorf(codes.Unimplemented, "method ExportAgent not implemented") 1462} 1463func (*UnimplementedAgentsServer) RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunning.Operation, error) { 1464 return nil, status.Errorf(codes.Unimplemented, "method RestoreAgent not implemented") 1465} 1466 1467func RegisterAgentsServer(s *grpc.Server, srv AgentsServer) { 1468 s.RegisterService(&_Agents_serviceDesc, srv) 1469} 1470 1471func _Agents_ListAgents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1472 in := new(ListAgentsRequest) 1473 if err := dec(in); err != nil { 1474 return nil, err 1475 } 1476 if interceptor == nil { 1477 return srv.(AgentsServer).ListAgents(ctx, in) 1478 } 1479 info := &grpc.UnaryServerInfo{ 1480 Server: srv, 1481 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Agents/ListAgents", 1482 } 1483 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1484 return srv.(AgentsServer).ListAgents(ctx, req.(*ListAgentsRequest)) 1485 } 1486 return interceptor(ctx, in, info, handler) 1487} 1488 1489func _Agents_GetAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1490 in := new(GetAgentRequest) 1491 if err := dec(in); err != nil { 1492 return nil, err 1493 } 1494 if interceptor == nil { 1495 return srv.(AgentsServer).GetAgent(ctx, in) 1496 } 1497 info := &grpc.UnaryServerInfo{ 1498 Server: srv, 1499 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Agents/GetAgent", 1500 } 1501 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1502 return srv.(AgentsServer).GetAgent(ctx, req.(*GetAgentRequest)) 1503 } 1504 return interceptor(ctx, in, info, handler) 1505} 1506 1507func _Agents_CreateAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1508 in := new(CreateAgentRequest) 1509 if err := dec(in); err != nil { 1510 return nil, err 1511 } 1512 if interceptor == nil { 1513 return srv.(AgentsServer).CreateAgent(ctx, in) 1514 } 1515 info := &grpc.UnaryServerInfo{ 1516 Server: srv, 1517 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Agents/CreateAgent", 1518 } 1519 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1520 return srv.(AgentsServer).CreateAgent(ctx, req.(*CreateAgentRequest)) 1521 } 1522 return interceptor(ctx, in, info, handler) 1523} 1524 1525func _Agents_UpdateAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1526 in := new(UpdateAgentRequest) 1527 if err := dec(in); err != nil { 1528 return nil, err 1529 } 1530 if interceptor == nil { 1531 return srv.(AgentsServer).UpdateAgent(ctx, in) 1532 } 1533 info := &grpc.UnaryServerInfo{ 1534 Server: srv, 1535 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Agents/UpdateAgent", 1536 } 1537 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1538 return srv.(AgentsServer).UpdateAgent(ctx, req.(*UpdateAgentRequest)) 1539 } 1540 return interceptor(ctx, in, info, handler) 1541} 1542 1543func _Agents_DeleteAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1544 in := new(DeleteAgentRequest) 1545 if err := dec(in); err != nil { 1546 return nil, err 1547 } 1548 if interceptor == nil { 1549 return srv.(AgentsServer).DeleteAgent(ctx, in) 1550 } 1551 info := &grpc.UnaryServerInfo{ 1552 Server: srv, 1553 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Agents/DeleteAgent", 1554 } 1555 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1556 return srv.(AgentsServer).DeleteAgent(ctx, req.(*DeleteAgentRequest)) 1557 } 1558 return interceptor(ctx, in, info, handler) 1559} 1560 1561func _Agents_ExportAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1562 in := new(ExportAgentRequest) 1563 if err := dec(in); err != nil { 1564 return nil, err 1565 } 1566 if interceptor == nil { 1567 return srv.(AgentsServer).ExportAgent(ctx, in) 1568 } 1569 info := &grpc.UnaryServerInfo{ 1570 Server: srv, 1571 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Agents/ExportAgent", 1572 } 1573 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1574 return srv.(AgentsServer).ExportAgent(ctx, req.(*ExportAgentRequest)) 1575 } 1576 return interceptor(ctx, in, info, handler) 1577} 1578 1579func _Agents_RestoreAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1580 in := new(RestoreAgentRequest) 1581 if err := dec(in); err != nil { 1582 return nil, err 1583 } 1584 if interceptor == nil { 1585 return srv.(AgentsServer).RestoreAgent(ctx, in) 1586 } 1587 info := &grpc.UnaryServerInfo{ 1588 Server: srv, 1589 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.Agents/RestoreAgent", 1590 } 1591 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1592 return srv.(AgentsServer).RestoreAgent(ctx, req.(*RestoreAgentRequest)) 1593 } 1594 return interceptor(ctx, in, info, handler) 1595} 1596 1597var _Agents_serviceDesc = grpc.ServiceDesc{ 1598 ServiceName: "google.cloud.dialogflow.cx.v3beta1.Agents", 1599 HandlerType: (*AgentsServer)(nil), 1600 Methods: []grpc.MethodDesc{ 1601 { 1602 MethodName: "ListAgents", 1603 Handler: _Agents_ListAgents_Handler, 1604 }, 1605 { 1606 MethodName: "GetAgent", 1607 Handler: _Agents_GetAgent_Handler, 1608 }, 1609 { 1610 MethodName: "CreateAgent", 1611 Handler: _Agents_CreateAgent_Handler, 1612 }, 1613 { 1614 MethodName: "UpdateAgent", 1615 Handler: _Agents_UpdateAgent_Handler, 1616 }, 1617 { 1618 MethodName: "DeleteAgent", 1619 Handler: _Agents_DeleteAgent_Handler, 1620 }, 1621 { 1622 MethodName: "ExportAgent", 1623 Handler: _Agents_ExportAgent_Handler, 1624 }, 1625 { 1626 MethodName: "RestoreAgent", 1627 Handler: _Agents_RestoreAgent_Handler, 1628 }, 1629 }, 1630 Streams: []grpc.StreamDesc{}, 1631 Metadata: "google/cloud/dialogflow/cx/v3beta1/agent.proto", 1632} 1633