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.26.0 18// protoc v3.12.2 19// source: google/actions/sdk/v2/actions_testing.proto 20 21package sdk 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 conversation "google.golang.org/genproto/googleapis/actions/sdk/v2/conversation" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 latlng "google.golang.org/genproto/googleapis/type/latlng" 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) 38 39const ( 40 // Verify that this generated code is sufficiently up-to-date. 41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 42 // Verify that runtime/protoimpl is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 44) 45 46// Indicates the input source, typed query or voice query. 47type UserInput_InputType int32 48 49const ( 50 // Unspecified input source. 51 UserInput_INPUT_TYPE_UNSPECIFIED UserInput_InputType = 0 52 // Query from a GUI interaction. 53 UserInput_TOUCH UserInput_InputType = 1 54 // Voice query. 55 UserInput_VOICE UserInput_InputType = 2 56 // Typed query. 57 UserInput_KEYBOARD UserInput_InputType = 3 58 // The action was triggered by a URL link. 59 UserInput_URL UserInput_InputType = 4 60) 61 62// Enum value maps for UserInput_InputType. 63var ( 64 UserInput_InputType_name = map[int32]string{ 65 0: "INPUT_TYPE_UNSPECIFIED", 66 1: "TOUCH", 67 2: "VOICE", 68 3: "KEYBOARD", 69 4: "URL", 70 } 71 UserInput_InputType_value = map[string]int32{ 72 "INPUT_TYPE_UNSPECIFIED": 0, 73 "TOUCH": 1, 74 "VOICE": 2, 75 "KEYBOARD": 3, 76 "URL": 4, 77 } 78) 79 80func (x UserInput_InputType) Enum() *UserInput_InputType { 81 p := new(UserInput_InputType) 82 *p = x 83 return p 84} 85 86func (x UserInput_InputType) String() string { 87 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 88} 89 90func (UserInput_InputType) Descriptor() protoreflect.EnumDescriptor { 91 return file_google_actions_sdk_v2_actions_testing_proto_enumTypes[0].Descriptor() 92} 93 94func (UserInput_InputType) Type() protoreflect.EnumType { 95 return &file_google_actions_sdk_v2_actions_testing_proto_enumTypes[0] 96} 97 98func (x UserInput_InputType) Number() protoreflect.EnumNumber { 99 return protoreflect.EnumNumber(x) 100} 101 102// Deprecated: Use UserInput_InputType.Descriptor instead. 103func (UserInput_InputType) EnumDescriptor() ([]byte, []int) { 104 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{1, 0} 105} 106 107// Possible surfaces used to interact with the Action. 108// Additional values may be included in the future. 109type DeviceProperties_Surface int32 110 111const ( 112 // Default value. This value is unused. 113 DeviceProperties_SURFACE_UNSPECIFIED DeviceProperties_Surface = 0 114 // Speaker (e.g. Google Home). 115 DeviceProperties_SPEAKER DeviceProperties_Surface = 1 116 // Phone. 117 DeviceProperties_PHONE DeviceProperties_Surface = 2 118 // Allo Chat. 119 DeviceProperties_ALLO DeviceProperties_Surface = 3 120 // Smart Display Device. 121 DeviceProperties_SMART_DISPLAY DeviceProperties_Surface = 4 122 // KaiOS. 123 DeviceProperties_KAI_OS DeviceProperties_Surface = 5 124) 125 126// Enum value maps for DeviceProperties_Surface. 127var ( 128 DeviceProperties_Surface_name = map[int32]string{ 129 0: "SURFACE_UNSPECIFIED", 130 1: "SPEAKER", 131 2: "PHONE", 132 3: "ALLO", 133 4: "SMART_DISPLAY", 134 5: "KAI_OS", 135 } 136 DeviceProperties_Surface_value = map[string]int32{ 137 "SURFACE_UNSPECIFIED": 0, 138 "SPEAKER": 1, 139 "PHONE": 2, 140 "ALLO": 3, 141 "SMART_DISPLAY": 4, 142 "KAI_OS": 5, 143 } 144) 145 146func (x DeviceProperties_Surface) Enum() *DeviceProperties_Surface { 147 p := new(DeviceProperties_Surface) 148 *p = x 149 return p 150} 151 152func (x DeviceProperties_Surface) String() string { 153 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 154} 155 156func (DeviceProperties_Surface) Descriptor() protoreflect.EnumDescriptor { 157 return file_google_actions_sdk_v2_actions_testing_proto_enumTypes[1].Descriptor() 158} 159 160func (DeviceProperties_Surface) Type() protoreflect.EnumType { 161 return &file_google_actions_sdk_v2_actions_testing_proto_enumTypes[1] 162} 163 164func (x DeviceProperties_Surface) Number() protoreflect.EnumNumber { 165 return protoreflect.EnumNumber(x) 166} 167 168// Deprecated: Use DeviceProperties_Surface.Descriptor instead. 169func (DeviceProperties_Surface) EnumDescriptor() ([]byte, []int) { 170 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{2, 0} 171} 172 173// Request for playing a round of the conversation. 174type SendInteractionRequest struct { 175 state protoimpl.MessageState 176 sizeCache protoimpl.SizeCache 177 unknownFields protoimpl.UnknownFields 178 179 // Required. The project being tested, indicated by the Project ID. 180 // Format: projects/{project} 181 Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` 182 // Required. Input provided by the user. 183 Input *UserInput `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` 184 // Required. Properties of the device used for interacting with the Action. 185 DeviceProperties *DeviceProperties `protobuf:"bytes,3,opt,name=device_properties,json=deviceProperties,proto3" json:"device_properties,omitempty"` 186 // Opaque token that must be passed as received from SendInteractionResponse 187 // on the previous interaction. This can be left unset in order to start a new 188 // conversation, either as the first interaction of a testing session or to 189 // abandon a previous conversation and start a new one. 190 ConversationToken string `protobuf:"bytes,4,opt,name=conversation_token,json=conversationToken,proto3" json:"conversation_token,omitempty"` 191} 192 193func (x *SendInteractionRequest) Reset() { 194 *x = SendInteractionRequest{} 195 if protoimpl.UnsafeEnabled { 196 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[0] 197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 198 ms.StoreMessageInfo(mi) 199 } 200} 201 202func (x *SendInteractionRequest) String() string { 203 return protoimpl.X.MessageStringOf(x) 204} 205 206func (*SendInteractionRequest) ProtoMessage() {} 207 208func (x *SendInteractionRequest) ProtoReflect() protoreflect.Message { 209 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[0] 210 if protoimpl.UnsafeEnabled && x != nil { 211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 212 if ms.LoadMessageInfo() == nil { 213 ms.StoreMessageInfo(mi) 214 } 215 return ms 216 } 217 return mi.MessageOf(x) 218} 219 220// Deprecated: Use SendInteractionRequest.ProtoReflect.Descriptor instead. 221func (*SendInteractionRequest) Descriptor() ([]byte, []int) { 222 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{0} 223} 224 225func (x *SendInteractionRequest) GetProject() string { 226 if x != nil { 227 return x.Project 228 } 229 return "" 230} 231 232func (x *SendInteractionRequest) GetInput() *UserInput { 233 if x != nil { 234 return x.Input 235 } 236 return nil 237} 238 239func (x *SendInteractionRequest) GetDeviceProperties() *DeviceProperties { 240 if x != nil { 241 return x.DeviceProperties 242 } 243 return nil 244} 245 246func (x *SendInteractionRequest) GetConversationToken() string { 247 if x != nil { 248 return x.ConversationToken 249 } 250 return "" 251} 252 253// User input provided on a conversation round. 254type UserInput struct { 255 state protoimpl.MessageState 256 sizeCache protoimpl.SizeCache 257 unknownFields protoimpl.UnknownFields 258 259 // Content of the input sent by the user. 260 Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` 261 // Type of the input. 262 Type UserInput_InputType `protobuf:"varint,2,opt,name=type,proto3,enum=google.actions.sdk.v2.UserInput_InputType" json:"type,omitempty"` 263} 264 265func (x *UserInput) Reset() { 266 *x = UserInput{} 267 if protoimpl.UnsafeEnabled { 268 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[1] 269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 270 ms.StoreMessageInfo(mi) 271 } 272} 273 274func (x *UserInput) String() string { 275 return protoimpl.X.MessageStringOf(x) 276} 277 278func (*UserInput) ProtoMessage() {} 279 280func (x *UserInput) ProtoReflect() protoreflect.Message { 281 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[1] 282 if protoimpl.UnsafeEnabled && x != nil { 283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 284 if ms.LoadMessageInfo() == nil { 285 ms.StoreMessageInfo(mi) 286 } 287 return ms 288 } 289 return mi.MessageOf(x) 290} 291 292// Deprecated: Use UserInput.ProtoReflect.Descriptor instead. 293func (*UserInput) Descriptor() ([]byte, []int) { 294 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{1} 295} 296 297func (x *UserInput) GetQuery() string { 298 if x != nil { 299 return x.Query 300 } 301 return "" 302} 303 304func (x *UserInput) GetType() UserInput_InputType { 305 if x != nil { 306 return x.Type 307 } 308 return UserInput_INPUT_TYPE_UNSPECIFIED 309} 310 311// Properties of device relevant to a conversation round. 312type DeviceProperties struct { 313 state protoimpl.MessageState 314 sizeCache protoimpl.SizeCache 315 unknownFields protoimpl.UnknownFields 316 317 // Surface used for interacting with the Action. 318 Surface DeviceProperties_Surface `protobuf:"varint,1,opt,name=surface,proto3,enum=google.actions.sdk.v2.DeviceProperties_Surface" json:"surface,omitempty"` 319 // Device location such as latitude, longitude, and formatted address. 320 Location *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` 321 // Locale as set on the device. 322 // The format should follow BCP 47: https://tools.ietf.org/html/bcp47 323 // Examples: en, en-US, es-419 (more examples at 324 // https://tools.ietf.org/html/bcp47#appendix-A). 325 Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"` 326 // Time zone as set on the device. 327 // The format should follow the IANA Time Zone Database, e.g. 328 // "America/New_York": https://www.iana.org/time-zones 329 TimeZone string `protobuf:"bytes,4,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` 330} 331 332func (x *DeviceProperties) Reset() { 333 *x = DeviceProperties{} 334 if protoimpl.UnsafeEnabled { 335 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[2] 336 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 337 ms.StoreMessageInfo(mi) 338 } 339} 340 341func (x *DeviceProperties) String() string { 342 return protoimpl.X.MessageStringOf(x) 343} 344 345func (*DeviceProperties) ProtoMessage() {} 346 347func (x *DeviceProperties) ProtoReflect() protoreflect.Message { 348 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[2] 349 if protoimpl.UnsafeEnabled && x != nil { 350 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 351 if ms.LoadMessageInfo() == nil { 352 ms.StoreMessageInfo(mi) 353 } 354 return ms 355 } 356 return mi.MessageOf(x) 357} 358 359// Deprecated: Use DeviceProperties.ProtoReflect.Descriptor instead. 360func (*DeviceProperties) Descriptor() ([]byte, []int) { 361 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{2} 362} 363 364func (x *DeviceProperties) GetSurface() DeviceProperties_Surface { 365 if x != nil { 366 return x.Surface 367 } 368 return DeviceProperties_SURFACE_UNSPECIFIED 369} 370 371func (x *DeviceProperties) GetLocation() *Location { 372 if x != nil { 373 return x.Location 374 } 375 return nil 376} 377 378func (x *DeviceProperties) GetLocale() string { 379 if x != nil { 380 return x.Locale 381 } 382 return "" 383} 384 385func (x *DeviceProperties) GetTimeZone() string { 386 if x != nil { 387 return x.TimeZone 388 } 389 return "" 390} 391 392// Container that represents a location. 393type Location struct { 394 state protoimpl.MessageState 395 sizeCache protoimpl.SizeCache 396 unknownFields protoimpl.UnknownFields 397 398 // Geo coordinates. 399 // Requires the [DEVICE_PRECISE_LOCATION] 400 // [google.actions.v2.Permission.DEVICE_PRECISE_LOCATION] permission. 401 Coordinates *latlng.LatLng `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,omitempty"` 402 // Display address, e.g., "1600 Amphitheatre Pkwy, Mountain View, CA 94043". 403 // Requires the [DEVICE_PRECISE_LOCATION] 404 // [google.actions.v2.Permission.DEVICE_PRECISE_LOCATION] permission. 405 FormattedAddress string `protobuf:"bytes,2,opt,name=formatted_address,json=formattedAddress,proto3" json:"formatted_address,omitempty"` 406 // Zip code. 407 // Requires the [DEVICE_PRECISE_LOCATION] 408 // [google.actions.v2.Permission.DEVICE_PRECISE_LOCATION] or 409 // [DEVICE_COARSE_LOCATION] 410 // [google.actions.v2.Permission.DEVICE_COARSE_LOCATION] permission. 411 ZipCode string `protobuf:"bytes,3,opt,name=zip_code,json=zipCode,proto3" json:"zip_code,omitempty"` 412 // City. 413 // Requires the [DEVICE_PRECISE_LOCATION] 414 // [google.actions.v2.Permission.DEVICE_PRECISE_LOCATION] or 415 // [DEVICE_COARSE_LOCATION] 416 // [google.actions.v2.Permission.DEVICE_COARSE_LOCATION] permission. 417 City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"` 418} 419 420func (x *Location) Reset() { 421 *x = Location{} 422 if protoimpl.UnsafeEnabled { 423 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[3] 424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 425 ms.StoreMessageInfo(mi) 426 } 427} 428 429func (x *Location) String() string { 430 return protoimpl.X.MessageStringOf(x) 431} 432 433func (*Location) ProtoMessage() {} 434 435func (x *Location) ProtoReflect() protoreflect.Message { 436 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[3] 437 if protoimpl.UnsafeEnabled && x != nil { 438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 439 if ms.LoadMessageInfo() == nil { 440 ms.StoreMessageInfo(mi) 441 } 442 return ms 443 } 444 return mi.MessageOf(x) 445} 446 447// Deprecated: Use Location.ProtoReflect.Descriptor instead. 448func (*Location) Descriptor() ([]byte, []int) { 449 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{3} 450} 451 452func (x *Location) GetCoordinates() *latlng.LatLng { 453 if x != nil { 454 return x.Coordinates 455 } 456 return nil 457} 458 459func (x *Location) GetFormattedAddress() string { 460 if x != nil { 461 return x.FormattedAddress 462 } 463 return "" 464} 465 466func (x *Location) GetZipCode() string { 467 if x != nil { 468 return x.ZipCode 469 } 470 return "" 471} 472 473func (x *Location) GetCity() string { 474 if x != nil { 475 return x.City 476 } 477 return "" 478} 479 480// Response to a round of the conversation. 481type SendInteractionResponse struct { 482 state protoimpl.MessageState 483 sizeCache protoimpl.SizeCache 484 unknownFields protoimpl.UnknownFields 485 486 // Output provided to the user. 487 Output *Output `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` 488 // Diagnostics information that explains how the request was handled. 489 Diagnostics *Diagnostics `protobuf:"bytes,2,opt,name=diagnostics,proto3" json:"diagnostics,omitempty"` 490 // Opaque token to be set on SendInteractionRequest on the next RPC call in 491 // order to continue the same conversation. 492 ConversationToken string `protobuf:"bytes,3,opt,name=conversation_token,json=conversationToken,proto3" json:"conversation_token,omitempty"` 493} 494 495func (x *SendInteractionResponse) Reset() { 496 *x = SendInteractionResponse{} 497 if protoimpl.UnsafeEnabled { 498 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[4] 499 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 500 ms.StoreMessageInfo(mi) 501 } 502} 503 504func (x *SendInteractionResponse) String() string { 505 return protoimpl.X.MessageStringOf(x) 506} 507 508func (*SendInteractionResponse) ProtoMessage() {} 509 510func (x *SendInteractionResponse) ProtoReflect() protoreflect.Message { 511 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[4] 512 if protoimpl.UnsafeEnabled && x != nil { 513 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 514 if ms.LoadMessageInfo() == nil { 515 ms.StoreMessageInfo(mi) 516 } 517 return ms 518 } 519 return mi.MessageOf(x) 520} 521 522// Deprecated: Use SendInteractionResponse.ProtoReflect.Descriptor instead. 523func (*SendInteractionResponse) Descriptor() ([]byte, []int) { 524 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{4} 525} 526 527func (x *SendInteractionResponse) GetOutput() *Output { 528 if x != nil { 529 return x.Output 530 } 531 return nil 532} 533 534func (x *SendInteractionResponse) GetDiagnostics() *Diagnostics { 535 if x != nil { 536 return x.Diagnostics 537 } 538 return nil 539} 540 541func (x *SendInteractionResponse) GetConversationToken() string { 542 if x != nil { 543 return x.ConversationToken 544 } 545 return "" 546} 547 548// User-visible output to the conversation round. 549type Output struct { 550 state protoimpl.MessageState 551 sizeCache protoimpl.SizeCache 552 unknownFields protoimpl.UnknownFields 553 554 // Spoken response sent to user as a plain string. 555 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 556 // Speech content produced by the Action. This may include markup elements 557 // such as SSML. 558 Speech []string `protobuf:"bytes,2,rep,name=speech,proto3" json:"speech,omitempty"` 559 // Interactive Canvas content. 560 Canvas *conversation.Canvas `protobuf:"bytes,3,opt,name=canvas,proto3" json:"canvas,omitempty"` 561 // State of the prompt at the end of the conversation round. 562 // More information about the prompt: 563 // https://developers.google.com/assistant/conversational/prompts 564 ActionsBuilderPrompt *conversation.Prompt `protobuf:"bytes,4,opt,name=actions_builder_prompt,json=actionsBuilderPrompt,proto3" json:"actions_builder_prompt,omitempty"` 565} 566 567func (x *Output) Reset() { 568 *x = Output{} 569 if protoimpl.UnsafeEnabled { 570 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[5] 571 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 572 ms.StoreMessageInfo(mi) 573 } 574} 575 576func (x *Output) String() string { 577 return protoimpl.X.MessageStringOf(x) 578} 579 580func (*Output) ProtoMessage() {} 581 582func (x *Output) ProtoReflect() protoreflect.Message { 583 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[5] 584 if protoimpl.UnsafeEnabled && x != nil { 585 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 586 if ms.LoadMessageInfo() == nil { 587 ms.StoreMessageInfo(mi) 588 } 589 return ms 590 } 591 return mi.MessageOf(x) 592} 593 594// Deprecated: Use Output.ProtoReflect.Descriptor instead. 595func (*Output) Descriptor() ([]byte, []int) { 596 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{5} 597} 598 599func (x *Output) GetText() string { 600 if x != nil { 601 return x.Text 602 } 603 return "" 604} 605 606func (x *Output) GetSpeech() []string { 607 if x != nil { 608 return x.Speech 609 } 610 return nil 611} 612 613func (x *Output) GetCanvas() *conversation.Canvas { 614 if x != nil { 615 return x.Canvas 616 } 617 return nil 618} 619 620func (x *Output) GetActionsBuilderPrompt() *conversation.Prompt { 621 if x != nil { 622 return x.ActionsBuilderPrompt 623 } 624 return nil 625} 626 627// Diagnostics information related to the conversation round. 628type Diagnostics struct { 629 state protoimpl.MessageState 630 sizeCache protoimpl.SizeCache 631 unknownFields protoimpl.UnknownFields 632 633 // List of events with details about processing of the conversation round 634 // throughout the stages of the Actions Builder interaction model. 635 // Populated for Actions Builder & Actions SDK apps only. 636 ActionsBuilderEvents []*ExecutionEvent `protobuf:"bytes,1,rep,name=actions_builder_events,json=actionsBuilderEvents,proto3" json:"actions_builder_events,omitempty"` 637} 638 639func (x *Diagnostics) Reset() { 640 *x = Diagnostics{} 641 if protoimpl.UnsafeEnabled { 642 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[6] 643 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 644 ms.StoreMessageInfo(mi) 645 } 646} 647 648func (x *Diagnostics) String() string { 649 return protoimpl.X.MessageStringOf(x) 650} 651 652func (*Diagnostics) ProtoMessage() {} 653 654func (x *Diagnostics) ProtoReflect() protoreflect.Message { 655 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[6] 656 if protoimpl.UnsafeEnabled && x != nil { 657 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 658 if ms.LoadMessageInfo() == nil { 659 ms.StoreMessageInfo(mi) 660 } 661 return ms 662 } 663 return mi.MessageOf(x) 664} 665 666// Deprecated: Use Diagnostics.ProtoReflect.Descriptor instead. 667func (*Diagnostics) Descriptor() ([]byte, []int) { 668 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{6} 669} 670 671func (x *Diagnostics) GetActionsBuilderEvents() []*ExecutionEvent { 672 if x != nil { 673 return x.ActionsBuilderEvents 674 } 675 return nil 676} 677 678// Request for finding matching intents. 679type MatchIntentsRequest struct { 680 state protoimpl.MessageState 681 sizeCache protoimpl.SizeCache 682 unknownFields protoimpl.UnknownFields 683 684 // Required. The project being tested, indicated by the Project ID. 685 // Format: projects/{project} 686 Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` 687 // Required. User query as plain text. 688 Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` 689 // Required. Locale to use to evaluate the query, such as "en". 690 // The format should follow BCP 47: https://tools.ietf.org/html/bcp47 691 // See the list of supported languages in 692 // https://developers.google.com/assistant/console/languages-locales 693 Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"` 694} 695 696func (x *MatchIntentsRequest) Reset() { 697 *x = MatchIntentsRequest{} 698 if protoimpl.UnsafeEnabled { 699 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[7] 700 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 701 ms.StoreMessageInfo(mi) 702 } 703} 704 705func (x *MatchIntentsRequest) String() string { 706 return protoimpl.X.MessageStringOf(x) 707} 708 709func (*MatchIntentsRequest) ProtoMessage() {} 710 711func (x *MatchIntentsRequest) ProtoReflect() protoreflect.Message { 712 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[7] 713 if protoimpl.UnsafeEnabled && x != nil { 714 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 715 if ms.LoadMessageInfo() == nil { 716 ms.StoreMessageInfo(mi) 717 } 718 return ms 719 } 720 return mi.MessageOf(x) 721} 722 723// Deprecated: Use MatchIntentsRequest.ProtoReflect.Descriptor instead. 724func (*MatchIntentsRequest) Descriptor() ([]byte, []int) { 725 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{7} 726} 727 728func (x *MatchIntentsRequest) GetProject() string { 729 if x != nil { 730 return x.Project 731 } 732 return "" 733} 734 735func (x *MatchIntentsRequest) GetQuery() string { 736 if x != nil { 737 return x.Query 738 } 739 return "" 740} 741 742func (x *MatchIntentsRequest) GetLocale() string { 743 if x != nil { 744 return x.Locale 745 } 746 return "" 747} 748 749// Response for finding matching intents. 750type MatchIntentsResponse struct { 751 state protoimpl.MessageState 752 sizeCache protoimpl.SizeCache 753 unknownFields protoimpl.UnknownFields 754 755 // Intents matched, ordered from most to least relevant. Only the first 756 // 50 matches are returned. 757 MatchedIntents []*conversation.Intent `protobuf:"bytes,1,rep,name=matched_intents,json=matchedIntents,proto3" json:"matched_intents,omitempty"` 758} 759 760func (x *MatchIntentsResponse) Reset() { 761 *x = MatchIntentsResponse{} 762 if protoimpl.UnsafeEnabled { 763 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[8] 764 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 765 ms.StoreMessageInfo(mi) 766 } 767} 768 769func (x *MatchIntentsResponse) String() string { 770 return protoimpl.X.MessageStringOf(x) 771} 772 773func (*MatchIntentsResponse) ProtoMessage() {} 774 775func (x *MatchIntentsResponse) ProtoReflect() protoreflect.Message { 776 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[8] 777 if protoimpl.UnsafeEnabled && x != nil { 778 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 779 if ms.LoadMessageInfo() == nil { 780 ms.StoreMessageInfo(mi) 781 } 782 return ms 783 } 784 return mi.MessageOf(x) 785} 786 787// Deprecated: Use MatchIntentsResponse.ProtoReflect.Descriptor instead. 788func (*MatchIntentsResponse) Descriptor() ([]byte, []int) { 789 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{8} 790} 791 792func (x *MatchIntentsResponse) GetMatchedIntents() []*conversation.Intent { 793 if x != nil { 794 return x.MatchedIntents 795 } 796 return nil 797} 798 799// Request for setting Web & App Activity preferences. 800type SetWebAndAppActivityControlRequest struct { 801 state protoimpl.MessageState 802 sizeCache protoimpl.SizeCache 803 unknownFields protoimpl.UnknownFields 804 805 // Whether the setting should be set to an enabled or disabled state. 806 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 807} 808 809func (x *SetWebAndAppActivityControlRequest) Reset() { 810 *x = SetWebAndAppActivityControlRequest{} 811 if protoimpl.UnsafeEnabled { 812 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[9] 813 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 814 ms.StoreMessageInfo(mi) 815 } 816} 817 818func (x *SetWebAndAppActivityControlRequest) String() string { 819 return protoimpl.X.MessageStringOf(x) 820} 821 822func (*SetWebAndAppActivityControlRequest) ProtoMessage() {} 823 824func (x *SetWebAndAppActivityControlRequest) ProtoReflect() protoreflect.Message { 825 mi := &file_google_actions_sdk_v2_actions_testing_proto_msgTypes[9] 826 if protoimpl.UnsafeEnabled && x != nil { 827 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 828 if ms.LoadMessageInfo() == nil { 829 ms.StoreMessageInfo(mi) 830 } 831 return ms 832 } 833 return mi.MessageOf(x) 834} 835 836// Deprecated: Use SetWebAndAppActivityControlRequest.ProtoReflect.Descriptor instead. 837func (*SetWebAndAppActivityControlRequest) Descriptor() ([]byte, []int) { 838 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{9} 839} 840 841func (x *SetWebAndAppActivityControlRequest) GetEnabled() bool { 842 if x != nil { 843 return x.Enabled 844 } 845 return false 846} 847 848var File_google_actions_sdk_v2_actions_testing_proto protoreflect.FileDescriptor 849 850var file_google_actions_sdk_v2_actions_testing_proto_rawDesc = []byte{ 851 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 852 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 853 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 854 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 855 0x6b, 0x2e, 0x76, 0x32, 0x1a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 856 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 857 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 858 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 859 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 860 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 861 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2f, 0x63, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x2e, 862 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 863 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 864 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 865 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x67, 866 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 867 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 868 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 869 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 870 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 871 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 872 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 873 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 874 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 875 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 876 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6c, 0x61, 0x74, 0x6c, 0x6e, 0x67, 0x2e, 0x70, 877 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfe, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x74, 878 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 879 0x1d, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 880 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x3b, 881 0x0a, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 882 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 883 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, 884 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x59, 0x0a, 0x11, 0x64, 885 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 886 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 887 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x44, 888 0x65, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 889 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 890 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 891 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 892 0x28, 0x09, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 893 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xb7, 0x01, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 894 0x70, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 895 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 896 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 897 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 898 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x54, 899 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x54, 0x0a, 0x09, 0x49, 0x6e, 0x70, 900 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x5f, 901 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 902 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x4f, 0x55, 0x43, 0x48, 0x10, 0x01, 0x12, 0x09, 0x0a, 903 0x05, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4b, 0x45, 0x59, 0x42, 904 0x4f, 0x41, 0x52, 0x44, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x52, 0x4c, 0x10, 0x04, 0x22, 905 0xb4, 0x02, 0x0a, 0x10, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 906 0x74, 0x69, 0x65, 0x73, 0x12, 0x49, 0x0a, 0x07, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 907 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 908 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 909 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x53, 910 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x07, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 911 0x3b, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 912 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 913 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 914 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 915 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 916 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 917 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 918 0x65, 0x22, 0x63, 0x0a, 0x07, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x13, 919 0x53, 0x55, 0x52, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 920 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x50, 0x45, 0x41, 0x4b, 0x45, 0x52, 921 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x48, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 922 0x04, 0x41, 0x4c, 0x4c, 0x4f, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x4d, 0x41, 0x52, 0x54, 923 0x5f, 0x44, 0x49, 0x53, 0x50, 0x4c, 0x41, 0x59, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x4b, 0x41, 924 0x49, 0x5f, 0x4f, 0x53, 0x10, 0x05, 0x22, 0x9d, 0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 925 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x0b, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 926 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 927 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x52, 0x0b, 0x63, 928 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x66, 0x6f, 929 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 930 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 931 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x7a, 0x69, 0x70, 0x5f, 0x63, 932 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x7a, 0x69, 0x70, 0x43, 0x6f, 933 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 934 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x22, 0xc5, 0x01, 0x0a, 0x17, 0x53, 0x65, 0x6e, 0x64, 0x49, 935 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 936 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 937 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 938 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 939 0x74, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x64, 0x69, 0x61, 940 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 941 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 942 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 943 0x63, 0x73, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 944 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 945 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x6f, 0x6e, 946 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xda, 947 0x01, 0x0a, 0x06, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 948 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x16, 0x0a, 949 0x06, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 950 0x70, 0x65, 0x65, 0x63, 0x68, 0x12, 0x42, 0x0a, 0x06, 0x63, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x18, 951 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 952 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 953 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x6e, 0x76, 0x61, 954 0x73, 0x52, 0x06, 0x63, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x12, 0x60, 0x0a, 0x16, 0x61, 0x63, 0x74, 955 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 956 0x6d, 0x70, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 957 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 958 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 959 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x52, 0x14, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x75, 960 0x69, 0x6c, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x22, 0x6a, 0x0a, 0x0b, 0x44, 961 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x5b, 0x0a, 0x16, 0x61, 0x63, 962 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x65, 0x76, 963 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 964 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 965 0x76, 0x32, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 966 0x74, 0x52, 0x14, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 967 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x6c, 0x0a, 0x13, 0x4d, 0x61, 0x74, 0x63, 0x68, 968 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 969 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 970 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x19, 0x0a, 971 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 972 0x02, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x06, 0x6c, 0x6f, 0x63, 0x61, 973 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x6c, 974 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x22, 0x6b, 0x0a, 0x14, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 975 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 976 0x0f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 977 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 978 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 979 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x74, 0x65, 980 0x6e, 0x74, 0x52, 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x6e, 981 0x74, 0x73, 0x22, 0x3e, 0x0a, 0x22, 0x53, 0x65, 0x74, 0x57, 0x65, 0x62, 0x41, 0x6e, 0x64, 0x41, 982 0x70, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 983 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 984 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 985 0x65, 0x64, 0x32, 0xaf, 0x04, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 986 0x73, 0x74, 0x69, 0x6e, 0x67, 0x12, 0xa5, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x49, 0x6e, 987 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 988 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 989 0x32, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 990 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 991 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 992 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 993 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 994 0x22, 0x28, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 995 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x6e, 0x64, 0x49, 996 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0xb0, 0x01, 997 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2a, 998 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 999 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x65, 1000 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 1001 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 1002 0x76, 0x32, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 1003 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, 1004 0x25, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 1005 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x49, 1006 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x14, 0x70, 0x72, 0x6f, 0x6a, 1007 0x65, 0x63, 0x74, 0x2c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 1008 0x12, 0xa6, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x57, 0x65, 0x62, 0x41, 0x6e, 0x64, 0x41, 0x70, 1009 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 1010 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 1011 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x57, 0x65, 0x62, 0x41, 1012 0x6e, 0x64, 0x41, 0x70, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 1013 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 1014 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 1015 0x70, 0x74, 0x79, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x22, 0x1f, 0x2f, 0x76, 0x32, 1016 0x3a, 0x73, 0x65, 0x74, 0x57, 0x65, 0x62, 0x41, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x41, 0x63, 0x74, 1017 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x3a, 0x01, 0x2a, 0xda, 1018 0x41, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x1a, 0x19, 0xca, 0x41, 0x16, 0x61, 0x63, 1019 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 1020 0x2e, 0x63, 0x6f, 0x6d, 0x42, 0x6c, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1021 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 1022 0x32, 0x42, 0x13, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x73, 0x74, 0x69, 0x6e, 1023 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1024 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 1025 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 1026 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x3b, 0x73, 1027 0x64, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1028} 1029 1030var ( 1031 file_google_actions_sdk_v2_actions_testing_proto_rawDescOnce sync.Once 1032 file_google_actions_sdk_v2_actions_testing_proto_rawDescData = file_google_actions_sdk_v2_actions_testing_proto_rawDesc 1033) 1034 1035func file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP() []byte { 1036 file_google_actions_sdk_v2_actions_testing_proto_rawDescOnce.Do(func() { 1037 file_google_actions_sdk_v2_actions_testing_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_actions_testing_proto_rawDescData) 1038 }) 1039 return file_google_actions_sdk_v2_actions_testing_proto_rawDescData 1040} 1041 1042var file_google_actions_sdk_v2_actions_testing_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 1043var file_google_actions_sdk_v2_actions_testing_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 1044var file_google_actions_sdk_v2_actions_testing_proto_goTypes = []interface{}{ 1045 (UserInput_InputType)(0), // 0: google.actions.sdk.v2.UserInput.InputType 1046 (DeviceProperties_Surface)(0), // 1: google.actions.sdk.v2.DeviceProperties.Surface 1047 (*SendInteractionRequest)(nil), // 2: google.actions.sdk.v2.SendInteractionRequest 1048 (*UserInput)(nil), // 3: google.actions.sdk.v2.UserInput 1049 (*DeviceProperties)(nil), // 4: google.actions.sdk.v2.DeviceProperties 1050 (*Location)(nil), // 5: google.actions.sdk.v2.Location 1051 (*SendInteractionResponse)(nil), // 6: google.actions.sdk.v2.SendInteractionResponse 1052 (*Output)(nil), // 7: google.actions.sdk.v2.Output 1053 (*Diagnostics)(nil), // 8: google.actions.sdk.v2.Diagnostics 1054 (*MatchIntentsRequest)(nil), // 9: google.actions.sdk.v2.MatchIntentsRequest 1055 (*MatchIntentsResponse)(nil), // 10: google.actions.sdk.v2.MatchIntentsResponse 1056 (*SetWebAndAppActivityControlRequest)(nil), // 11: google.actions.sdk.v2.SetWebAndAppActivityControlRequest 1057 (*latlng.LatLng)(nil), // 12: google.type.LatLng 1058 (*conversation.Canvas)(nil), // 13: google.actions.sdk.v2.conversation.Canvas 1059 (*conversation.Prompt)(nil), // 14: google.actions.sdk.v2.conversation.Prompt 1060 (*ExecutionEvent)(nil), // 15: google.actions.sdk.v2.ExecutionEvent 1061 (*conversation.Intent)(nil), // 16: google.actions.sdk.v2.conversation.Intent 1062 (*emptypb.Empty)(nil), // 17: google.protobuf.Empty 1063} 1064var file_google_actions_sdk_v2_actions_testing_proto_depIdxs = []int32{ 1065 3, // 0: google.actions.sdk.v2.SendInteractionRequest.input:type_name -> google.actions.sdk.v2.UserInput 1066 4, // 1: google.actions.sdk.v2.SendInteractionRequest.device_properties:type_name -> google.actions.sdk.v2.DeviceProperties 1067 0, // 2: google.actions.sdk.v2.UserInput.type:type_name -> google.actions.sdk.v2.UserInput.InputType 1068 1, // 3: google.actions.sdk.v2.DeviceProperties.surface:type_name -> google.actions.sdk.v2.DeviceProperties.Surface 1069 5, // 4: google.actions.sdk.v2.DeviceProperties.location:type_name -> google.actions.sdk.v2.Location 1070 12, // 5: google.actions.sdk.v2.Location.coordinates:type_name -> google.type.LatLng 1071 7, // 6: google.actions.sdk.v2.SendInteractionResponse.output:type_name -> google.actions.sdk.v2.Output 1072 8, // 7: google.actions.sdk.v2.SendInteractionResponse.diagnostics:type_name -> google.actions.sdk.v2.Diagnostics 1073 13, // 8: google.actions.sdk.v2.Output.canvas:type_name -> google.actions.sdk.v2.conversation.Canvas 1074 14, // 9: google.actions.sdk.v2.Output.actions_builder_prompt:type_name -> google.actions.sdk.v2.conversation.Prompt 1075 15, // 10: google.actions.sdk.v2.Diagnostics.actions_builder_events:type_name -> google.actions.sdk.v2.ExecutionEvent 1076 16, // 11: google.actions.sdk.v2.MatchIntentsResponse.matched_intents:type_name -> google.actions.sdk.v2.conversation.Intent 1077 2, // 12: google.actions.sdk.v2.ActionsTesting.SendInteraction:input_type -> google.actions.sdk.v2.SendInteractionRequest 1078 9, // 13: google.actions.sdk.v2.ActionsTesting.MatchIntents:input_type -> google.actions.sdk.v2.MatchIntentsRequest 1079 11, // 14: google.actions.sdk.v2.ActionsTesting.SetWebAndAppActivityControl:input_type -> google.actions.sdk.v2.SetWebAndAppActivityControlRequest 1080 6, // 15: google.actions.sdk.v2.ActionsTesting.SendInteraction:output_type -> google.actions.sdk.v2.SendInteractionResponse 1081 10, // 16: google.actions.sdk.v2.ActionsTesting.MatchIntents:output_type -> google.actions.sdk.v2.MatchIntentsResponse 1082 17, // 17: google.actions.sdk.v2.ActionsTesting.SetWebAndAppActivityControl:output_type -> google.protobuf.Empty 1083 15, // [15:18] is the sub-list for method output_type 1084 12, // [12:15] is the sub-list for method input_type 1085 12, // [12:12] is the sub-list for extension type_name 1086 12, // [12:12] is the sub-list for extension extendee 1087 0, // [0:12] is the sub-list for field type_name 1088} 1089 1090func init() { file_google_actions_sdk_v2_actions_testing_proto_init() } 1091func file_google_actions_sdk_v2_actions_testing_proto_init() { 1092 if File_google_actions_sdk_v2_actions_testing_proto != nil { 1093 return 1094 } 1095 file_google_actions_sdk_v2_event_logs_proto_init() 1096 if !protoimpl.UnsafeEnabled { 1097 file_google_actions_sdk_v2_actions_testing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1098 switch v := v.(*SendInteractionRequest); i { 1099 case 0: 1100 return &v.state 1101 case 1: 1102 return &v.sizeCache 1103 case 2: 1104 return &v.unknownFields 1105 default: 1106 return nil 1107 } 1108 } 1109 file_google_actions_sdk_v2_actions_testing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1110 switch v := v.(*UserInput); i { 1111 case 0: 1112 return &v.state 1113 case 1: 1114 return &v.sizeCache 1115 case 2: 1116 return &v.unknownFields 1117 default: 1118 return nil 1119 } 1120 } 1121 file_google_actions_sdk_v2_actions_testing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1122 switch v := v.(*DeviceProperties); i { 1123 case 0: 1124 return &v.state 1125 case 1: 1126 return &v.sizeCache 1127 case 2: 1128 return &v.unknownFields 1129 default: 1130 return nil 1131 } 1132 } 1133 file_google_actions_sdk_v2_actions_testing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1134 switch v := v.(*Location); i { 1135 case 0: 1136 return &v.state 1137 case 1: 1138 return &v.sizeCache 1139 case 2: 1140 return &v.unknownFields 1141 default: 1142 return nil 1143 } 1144 } 1145 file_google_actions_sdk_v2_actions_testing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1146 switch v := v.(*SendInteractionResponse); i { 1147 case 0: 1148 return &v.state 1149 case 1: 1150 return &v.sizeCache 1151 case 2: 1152 return &v.unknownFields 1153 default: 1154 return nil 1155 } 1156 } 1157 file_google_actions_sdk_v2_actions_testing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1158 switch v := v.(*Output); 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_actions_sdk_v2_actions_testing_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1170 switch v := v.(*Diagnostics); 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_actions_sdk_v2_actions_testing_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1182 switch v := v.(*MatchIntentsRequest); 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_actions_sdk_v2_actions_testing_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1194 switch v := v.(*MatchIntentsResponse); 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_actions_sdk_v2_actions_testing_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1206 switch v := v.(*SetWebAndAppActivityControlRequest); 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 } 1218 type x struct{} 1219 out := protoimpl.TypeBuilder{ 1220 File: protoimpl.DescBuilder{ 1221 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1222 RawDescriptor: file_google_actions_sdk_v2_actions_testing_proto_rawDesc, 1223 NumEnums: 2, 1224 NumMessages: 10, 1225 NumExtensions: 0, 1226 NumServices: 1, 1227 }, 1228 GoTypes: file_google_actions_sdk_v2_actions_testing_proto_goTypes, 1229 DependencyIndexes: file_google_actions_sdk_v2_actions_testing_proto_depIdxs, 1230 EnumInfos: file_google_actions_sdk_v2_actions_testing_proto_enumTypes, 1231 MessageInfos: file_google_actions_sdk_v2_actions_testing_proto_msgTypes, 1232 }.Build() 1233 File_google_actions_sdk_v2_actions_testing_proto = out.File 1234 file_google_actions_sdk_v2_actions_testing_proto_rawDesc = nil 1235 file_google_actions_sdk_v2_actions_testing_proto_goTypes = nil 1236 file_google_actions_sdk_v2_actions_testing_proto_depIdxs = nil 1237} 1238 1239// Reference imports to suppress errors if they are not otherwise used. 1240var _ context.Context 1241var _ grpc.ClientConnInterface 1242 1243// This is a compile-time assertion to ensure that this generated file 1244// is compatible with the grpc package it is being compiled against. 1245const _ = grpc.SupportPackageIsVersion6 1246 1247// ActionsTestingClient is the client API for ActionsTesting service. 1248// 1249// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1250type ActionsTestingClient interface { 1251 // Plays one round of the conversation. 1252 SendInteraction(ctx context.Context, in *SendInteractionRequest, opts ...grpc.CallOption) (*SendInteractionResponse, error) 1253 // Finds the intents that match a given query. 1254 MatchIntents(ctx context.Context, in *MatchIntentsRequest, opts ...grpc.CallOption) (*MatchIntentsResponse, error) 1255 // Sets the Web & App Activity control on a service account. 1256 // 1257 // It is necessary to have this setting enabled in order to use call Actions. 1258 // The setting is originally disabled for service accounts, and it is 1259 // preserved until set to a different value. This means it only needs to be 1260 // enabled once per account (and not necessarily once per test), unless it is 1261 // later disabled. 1262 // 1263 // Returns an error if the caller is not a service account. User accounts can 1264 // change this setting via the Activity Controls page. See 1265 // https://support.google.com/websearch/answer/54068. 1266 SetWebAndAppActivityControl(ctx context.Context, in *SetWebAndAppActivityControlRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1267} 1268 1269type actionsTestingClient struct { 1270 cc grpc.ClientConnInterface 1271} 1272 1273func NewActionsTestingClient(cc grpc.ClientConnInterface) ActionsTestingClient { 1274 return &actionsTestingClient{cc} 1275} 1276 1277func (c *actionsTestingClient) SendInteraction(ctx context.Context, in *SendInteractionRequest, opts ...grpc.CallOption) (*SendInteractionResponse, error) { 1278 out := new(SendInteractionResponse) 1279 err := c.cc.Invoke(ctx, "/google.actions.sdk.v2.ActionsTesting/SendInteraction", in, out, opts...) 1280 if err != nil { 1281 return nil, err 1282 } 1283 return out, nil 1284} 1285 1286func (c *actionsTestingClient) MatchIntents(ctx context.Context, in *MatchIntentsRequest, opts ...grpc.CallOption) (*MatchIntentsResponse, error) { 1287 out := new(MatchIntentsResponse) 1288 err := c.cc.Invoke(ctx, "/google.actions.sdk.v2.ActionsTesting/MatchIntents", in, out, opts...) 1289 if err != nil { 1290 return nil, err 1291 } 1292 return out, nil 1293} 1294 1295func (c *actionsTestingClient) SetWebAndAppActivityControl(ctx context.Context, in *SetWebAndAppActivityControlRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1296 out := new(emptypb.Empty) 1297 err := c.cc.Invoke(ctx, "/google.actions.sdk.v2.ActionsTesting/SetWebAndAppActivityControl", in, out, opts...) 1298 if err != nil { 1299 return nil, err 1300 } 1301 return out, nil 1302} 1303 1304// ActionsTestingServer is the server API for ActionsTesting service. 1305type ActionsTestingServer interface { 1306 // Plays one round of the conversation. 1307 SendInteraction(context.Context, *SendInteractionRequest) (*SendInteractionResponse, error) 1308 // Finds the intents that match a given query. 1309 MatchIntents(context.Context, *MatchIntentsRequest) (*MatchIntentsResponse, error) 1310 // Sets the Web & App Activity control on a service account. 1311 // 1312 // It is necessary to have this setting enabled in order to use call Actions. 1313 // The setting is originally disabled for service accounts, and it is 1314 // preserved until set to a different value. This means it only needs to be 1315 // enabled once per account (and not necessarily once per test), unless it is 1316 // later disabled. 1317 // 1318 // Returns an error if the caller is not a service account. User accounts can 1319 // change this setting via the Activity Controls page. See 1320 // https://support.google.com/websearch/answer/54068. 1321 SetWebAndAppActivityControl(context.Context, *SetWebAndAppActivityControlRequest) (*emptypb.Empty, error) 1322} 1323 1324// UnimplementedActionsTestingServer can be embedded to have forward compatible implementations. 1325type UnimplementedActionsTestingServer struct { 1326} 1327 1328func (*UnimplementedActionsTestingServer) SendInteraction(context.Context, *SendInteractionRequest) (*SendInteractionResponse, error) { 1329 return nil, status.Errorf(codes.Unimplemented, "method SendInteraction not implemented") 1330} 1331func (*UnimplementedActionsTestingServer) MatchIntents(context.Context, *MatchIntentsRequest) (*MatchIntentsResponse, error) { 1332 return nil, status.Errorf(codes.Unimplemented, "method MatchIntents not implemented") 1333} 1334func (*UnimplementedActionsTestingServer) SetWebAndAppActivityControl(context.Context, *SetWebAndAppActivityControlRequest) (*emptypb.Empty, error) { 1335 return nil, status.Errorf(codes.Unimplemented, "method SetWebAndAppActivityControl not implemented") 1336} 1337 1338func RegisterActionsTestingServer(s *grpc.Server, srv ActionsTestingServer) { 1339 s.RegisterService(&_ActionsTesting_serviceDesc, srv) 1340} 1341 1342func _ActionsTesting_SendInteraction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1343 in := new(SendInteractionRequest) 1344 if err := dec(in); err != nil { 1345 return nil, err 1346 } 1347 if interceptor == nil { 1348 return srv.(ActionsTestingServer).SendInteraction(ctx, in) 1349 } 1350 info := &grpc.UnaryServerInfo{ 1351 Server: srv, 1352 FullMethod: "/google.actions.sdk.v2.ActionsTesting/SendInteraction", 1353 } 1354 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1355 return srv.(ActionsTestingServer).SendInteraction(ctx, req.(*SendInteractionRequest)) 1356 } 1357 return interceptor(ctx, in, info, handler) 1358} 1359 1360func _ActionsTesting_MatchIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1361 in := new(MatchIntentsRequest) 1362 if err := dec(in); err != nil { 1363 return nil, err 1364 } 1365 if interceptor == nil { 1366 return srv.(ActionsTestingServer).MatchIntents(ctx, in) 1367 } 1368 info := &grpc.UnaryServerInfo{ 1369 Server: srv, 1370 FullMethod: "/google.actions.sdk.v2.ActionsTesting/MatchIntents", 1371 } 1372 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1373 return srv.(ActionsTestingServer).MatchIntents(ctx, req.(*MatchIntentsRequest)) 1374 } 1375 return interceptor(ctx, in, info, handler) 1376} 1377 1378func _ActionsTesting_SetWebAndAppActivityControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1379 in := new(SetWebAndAppActivityControlRequest) 1380 if err := dec(in); err != nil { 1381 return nil, err 1382 } 1383 if interceptor == nil { 1384 return srv.(ActionsTestingServer).SetWebAndAppActivityControl(ctx, in) 1385 } 1386 info := &grpc.UnaryServerInfo{ 1387 Server: srv, 1388 FullMethod: "/google.actions.sdk.v2.ActionsTesting/SetWebAndAppActivityControl", 1389 } 1390 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1391 return srv.(ActionsTestingServer).SetWebAndAppActivityControl(ctx, req.(*SetWebAndAppActivityControlRequest)) 1392 } 1393 return interceptor(ctx, in, info, handler) 1394} 1395 1396var _ActionsTesting_serviceDesc = grpc.ServiceDesc{ 1397 ServiceName: "google.actions.sdk.v2.ActionsTesting", 1398 HandlerType: (*ActionsTestingServer)(nil), 1399 Methods: []grpc.MethodDesc{ 1400 { 1401 MethodName: "SendInteraction", 1402 Handler: _ActionsTesting_SendInteraction_Handler, 1403 }, 1404 { 1405 MethodName: "MatchIntents", 1406 Handler: _ActionsTesting_MatchIntents_Handler, 1407 }, 1408 { 1409 MethodName: "SetWebAndAppActivityControl", 1410 Handler: _ActionsTesting_SetWebAndAppActivityControl_Handler, 1411 }, 1412 }, 1413 Streams: []grpc.StreamDesc{}, 1414 Metadata: "google/actions/sdk/v2/actions_testing.proto", 1415} 1416