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