1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package sdk
22
23 import (
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
39 const (
40
41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
42
43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44 )
45
46
47 type UserInput_InputType int32
48
49 const (
50
51 UserInput_INPUT_TYPE_UNSPECIFIED UserInput_InputType = 0
52
53 UserInput_TOUCH UserInput_InputType = 1
54
55 UserInput_VOICE UserInput_InputType = 2
56
57 UserInput_KEYBOARD UserInput_InputType = 3
58
59 UserInput_URL UserInput_InputType = 4
60 )
61
62
63 var (
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
80 func (x UserInput_InputType) Enum() *UserInput_InputType {
81 p := new(UserInput_InputType)
82 *p = x
83 return p
84 }
85
86 func (x UserInput_InputType) String() string {
87 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
88 }
89
90 func (UserInput_InputType) Descriptor() protoreflect.EnumDescriptor {
91 return file_google_actions_sdk_v2_actions_testing_proto_enumTypes[0].Descriptor()
92 }
93
94 func (UserInput_InputType) Type() protoreflect.EnumType {
95 return &file_google_actions_sdk_v2_actions_testing_proto_enumTypes[0]
96 }
97
98 func (x UserInput_InputType) Number() protoreflect.EnumNumber {
99 return protoreflect.EnumNumber(x)
100 }
101
102
103 func (UserInput_InputType) EnumDescriptor() ([]byte, []int) {
104 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{1, 0}
105 }
106
107
108
109 type DeviceProperties_Surface int32
110
111 const (
112
113 DeviceProperties_SURFACE_UNSPECIFIED DeviceProperties_Surface = 0
114
115 DeviceProperties_SPEAKER DeviceProperties_Surface = 1
116
117 DeviceProperties_PHONE DeviceProperties_Surface = 2
118
119 DeviceProperties_ALLO DeviceProperties_Surface = 3
120
121 DeviceProperties_SMART_DISPLAY DeviceProperties_Surface = 4
122
123 DeviceProperties_KAI_OS DeviceProperties_Surface = 5
124 )
125
126
127 var (
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
146 func (x DeviceProperties_Surface) Enum() *DeviceProperties_Surface {
147 p := new(DeviceProperties_Surface)
148 *p = x
149 return p
150 }
151
152 func (x DeviceProperties_Surface) String() string {
153 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
154 }
155
156 func (DeviceProperties_Surface) Descriptor() protoreflect.EnumDescriptor {
157 return file_google_actions_sdk_v2_actions_testing_proto_enumTypes[1].Descriptor()
158 }
159
160 func (DeviceProperties_Surface) Type() protoreflect.EnumType {
161 return &file_google_actions_sdk_v2_actions_testing_proto_enumTypes[1]
162 }
163
164 func (x DeviceProperties_Surface) Number() protoreflect.EnumNumber {
165 return protoreflect.EnumNumber(x)
166 }
167
168
169 func (DeviceProperties_Surface) EnumDescriptor() ([]byte, []int) {
170 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{2, 0}
171 }
172
173
174 type SendInteractionRequest struct {
175 state protoimpl.MessageState
176 sizeCache protoimpl.SizeCache
177 unknownFields protoimpl.UnknownFields
178
179
180
181 Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
182
183 Input *UserInput `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
184
185 DeviceProperties *DeviceProperties `protobuf:"bytes,3,opt,name=device_properties,json=deviceProperties,proto3" json:"device_properties,omitempty"`
186
187
188
189
190 ConversationToken string `protobuf:"bytes,4,opt,name=conversation_token,json=conversationToken,proto3" json:"conversation_token,omitempty"`
191 }
192
193 func (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
202 func (x *SendInteractionRequest) String() string {
203 return protoimpl.X.MessageStringOf(x)
204 }
205
206 func (*SendInteractionRequest) ProtoMessage() {}
207
208 func (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
221 func (*SendInteractionRequest) Descriptor() ([]byte, []int) {
222 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{0}
223 }
224
225 func (x *SendInteractionRequest) GetProject() string {
226 if x != nil {
227 return x.Project
228 }
229 return ""
230 }
231
232 func (x *SendInteractionRequest) GetInput() *UserInput {
233 if x != nil {
234 return x.Input
235 }
236 return nil
237 }
238
239 func (x *SendInteractionRequest) GetDeviceProperties() *DeviceProperties {
240 if x != nil {
241 return x.DeviceProperties
242 }
243 return nil
244 }
245
246 func (x *SendInteractionRequest) GetConversationToken() string {
247 if x != nil {
248 return x.ConversationToken
249 }
250 return ""
251 }
252
253
254 type UserInput struct {
255 state protoimpl.MessageState
256 sizeCache protoimpl.SizeCache
257 unknownFields protoimpl.UnknownFields
258
259
260 Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
261
262 Type UserInput_InputType `protobuf:"varint,2,opt,name=type,proto3,enum=google.actions.sdk.v2.UserInput_InputType" json:"type,omitempty"`
263 }
264
265 func (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
274 func (x *UserInput) String() string {
275 return protoimpl.X.MessageStringOf(x)
276 }
277
278 func (*UserInput) ProtoMessage() {}
279
280 func (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
293 func (*UserInput) Descriptor() ([]byte, []int) {
294 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{1}
295 }
296
297 func (x *UserInput) GetQuery() string {
298 if x != nil {
299 return x.Query
300 }
301 return ""
302 }
303
304 func (x *UserInput) GetType() UserInput_InputType {
305 if x != nil {
306 return x.Type
307 }
308 return UserInput_INPUT_TYPE_UNSPECIFIED
309 }
310
311
312 type DeviceProperties struct {
313 state protoimpl.MessageState
314 sizeCache protoimpl.SizeCache
315 unknownFields protoimpl.UnknownFields
316
317
318 Surface DeviceProperties_Surface `protobuf:"varint,1,opt,name=surface,proto3,enum=google.actions.sdk.v2.DeviceProperties_Surface" json:"surface,omitempty"`
319
320 Location *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
321
322
323
324
325 Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"`
326
327
328
329 TimeZone string `protobuf:"bytes,4,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
330 }
331
332 func (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
341 func (x *DeviceProperties) String() string {
342 return protoimpl.X.MessageStringOf(x)
343 }
344
345 func (*DeviceProperties) ProtoMessage() {}
346
347 func (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
360 func (*DeviceProperties) Descriptor() ([]byte, []int) {
361 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{2}
362 }
363
364 func (x *DeviceProperties) GetSurface() DeviceProperties_Surface {
365 if x != nil {
366 return x.Surface
367 }
368 return DeviceProperties_SURFACE_UNSPECIFIED
369 }
370
371 func (x *DeviceProperties) GetLocation() *Location {
372 if x != nil {
373 return x.Location
374 }
375 return nil
376 }
377
378 func (x *DeviceProperties) GetLocale() string {
379 if x != nil {
380 return x.Locale
381 }
382 return ""
383 }
384
385 func (x *DeviceProperties) GetTimeZone() string {
386 if x != nil {
387 return x.TimeZone
388 }
389 return ""
390 }
391
392
393 type Location struct {
394 state protoimpl.MessageState
395 sizeCache protoimpl.SizeCache
396 unknownFields protoimpl.UnknownFields
397
398
399
400
401 Coordinates *latlng.LatLng `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,omitempty"`
402
403
404
405 FormattedAddress string `protobuf:"bytes,2,opt,name=formatted_address,json=formattedAddress,proto3" json:"formatted_address,omitempty"`
406
407
408
409
410
411 ZipCode string `protobuf:"bytes,3,opt,name=zip_code,json=zipCode,proto3" json:"zip_code,omitempty"`
412
413
414
415
416
417 City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"`
418 }
419
420 func (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
429 func (x *Location) String() string {
430 return protoimpl.X.MessageStringOf(x)
431 }
432
433 func (*Location) ProtoMessage() {}
434
435 func (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
448 func (*Location) Descriptor() ([]byte, []int) {
449 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{3}
450 }
451
452 func (x *Location) GetCoordinates() *latlng.LatLng {
453 if x != nil {
454 return x.Coordinates
455 }
456 return nil
457 }
458
459 func (x *Location) GetFormattedAddress() string {
460 if x != nil {
461 return x.FormattedAddress
462 }
463 return ""
464 }
465
466 func (x *Location) GetZipCode() string {
467 if x != nil {
468 return x.ZipCode
469 }
470 return ""
471 }
472
473 func (x *Location) GetCity() string {
474 if x != nil {
475 return x.City
476 }
477 return ""
478 }
479
480
481 type SendInteractionResponse struct {
482 state protoimpl.MessageState
483 sizeCache protoimpl.SizeCache
484 unknownFields protoimpl.UnknownFields
485
486
487 Output *Output `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
488
489 Diagnostics *Diagnostics `protobuf:"bytes,2,opt,name=diagnostics,proto3" json:"diagnostics,omitempty"`
490
491
492 ConversationToken string `protobuf:"bytes,3,opt,name=conversation_token,json=conversationToken,proto3" json:"conversation_token,omitempty"`
493 }
494
495 func (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
504 func (x *SendInteractionResponse) String() string {
505 return protoimpl.X.MessageStringOf(x)
506 }
507
508 func (*SendInteractionResponse) ProtoMessage() {}
509
510 func (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
523 func (*SendInteractionResponse) Descriptor() ([]byte, []int) {
524 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{4}
525 }
526
527 func (x *SendInteractionResponse) GetOutput() *Output {
528 if x != nil {
529 return x.Output
530 }
531 return nil
532 }
533
534 func (x *SendInteractionResponse) GetDiagnostics() *Diagnostics {
535 if x != nil {
536 return x.Diagnostics
537 }
538 return nil
539 }
540
541 func (x *SendInteractionResponse) GetConversationToken() string {
542 if x != nil {
543 return x.ConversationToken
544 }
545 return ""
546 }
547
548
549 type Output struct {
550 state protoimpl.MessageState
551 sizeCache protoimpl.SizeCache
552 unknownFields protoimpl.UnknownFields
553
554
555 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
556
557
558 Speech []string `protobuf:"bytes,2,rep,name=speech,proto3" json:"speech,omitempty"`
559
560 Canvas *conversation.Canvas `protobuf:"bytes,3,opt,name=canvas,proto3" json:"canvas,omitempty"`
561
562
563
564 ActionsBuilderPrompt *conversation.Prompt `protobuf:"bytes,4,opt,name=actions_builder_prompt,json=actionsBuilderPrompt,proto3" json:"actions_builder_prompt,omitempty"`
565 }
566
567 func (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
576 func (x *Output) String() string {
577 return protoimpl.X.MessageStringOf(x)
578 }
579
580 func (*Output) ProtoMessage() {}
581
582 func (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
595 func (*Output) Descriptor() ([]byte, []int) {
596 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{5}
597 }
598
599 func (x *Output) GetText() string {
600 if x != nil {
601 return x.Text
602 }
603 return ""
604 }
605
606 func (x *Output) GetSpeech() []string {
607 if x != nil {
608 return x.Speech
609 }
610 return nil
611 }
612
613 func (x *Output) GetCanvas() *conversation.Canvas {
614 if x != nil {
615 return x.Canvas
616 }
617 return nil
618 }
619
620 func (x *Output) GetActionsBuilderPrompt() *conversation.Prompt {
621 if x != nil {
622 return x.ActionsBuilderPrompt
623 }
624 return nil
625 }
626
627
628 type Diagnostics struct {
629 state protoimpl.MessageState
630 sizeCache protoimpl.SizeCache
631 unknownFields protoimpl.UnknownFields
632
633
634
635
636 ActionsBuilderEvents []*ExecutionEvent `protobuf:"bytes,1,rep,name=actions_builder_events,json=actionsBuilderEvents,proto3" json:"actions_builder_events,omitempty"`
637 }
638
639 func (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
648 func (x *Diagnostics) String() string {
649 return protoimpl.X.MessageStringOf(x)
650 }
651
652 func (*Diagnostics) ProtoMessage() {}
653
654 func (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
667 func (*Diagnostics) Descriptor() ([]byte, []int) {
668 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{6}
669 }
670
671 func (x *Diagnostics) GetActionsBuilderEvents() []*ExecutionEvent {
672 if x != nil {
673 return x.ActionsBuilderEvents
674 }
675 return nil
676 }
677
678
679 type MatchIntentsRequest struct {
680 state protoimpl.MessageState
681 sizeCache protoimpl.SizeCache
682 unknownFields protoimpl.UnknownFields
683
684
685
686 Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
687
688 Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
689
690
691
692
693 Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"`
694 }
695
696 func (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
705 func (x *MatchIntentsRequest) String() string {
706 return protoimpl.X.MessageStringOf(x)
707 }
708
709 func (*MatchIntentsRequest) ProtoMessage() {}
710
711 func (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
724 func (*MatchIntentsRequest) Descriptor() ([]byte, []int) {
725 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{7}
726 }
727
728 func (x *MatchIntentsRequest) GetProject() string {
729 if x != nil {
730 return x.Project
731 }
732 return ""
733 }
734
735 func (x *MatchIntentsRequest) GetQuery() string {
736 if x != nil {
737 return x.Query
738 }
739 return ""
740 }
741
742 func (x *MatchIntentsRequest) GetLocale() string {
743 if x != nil {
744 return x.Locale
745 }
746 return ""
747 }
748
749
750 type MatchIntentsResponse struct {
751 state protoimpl.MessageState
752 sizeCache protoimpl.SizeCache
753 unknownFields protoimpl.UnknownFields
754
755
756
757 MatchedIntents []*conversation.Intent `protobuf:"bytes,1,rep,name=matched_intents,json=matchedIntents,proto3" json:"matched_intents,omitempty"`
758 }
759
760 func (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
769 func (x *MatchIntentsResponse) String() string {
770 return protoimpl.X.MessageStringOf(x)
771 }
772
773 func (*MatchIntentsResponse) ProtoMessage() {}
774
775 func (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
788 func (*MatchIntentsResponse) Descriptor() ([]byte, []int) {
789 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{8}
790 }
791
792 func (x *MatchIntentsResponse) GetMatchedIntents() []*conversation.Intent {
793 if x != nil {
794 return x.MatchedIntents
795 }
796 return nil
797 }
798
799
800 type SetWebAndAppActivityControlRequest struct {
801 state protoimpl.MessageState
802 sizeCache protoimpl.SizeCache
803 unknownFields protoimpl.UnknownFields
804
805
806 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
807 }
808
809 func (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
818 func (x *SetWebAndAppActivityControlRequest) String() string {
819 return protoimpl.X.MessageStringOf(x)
820 }
821
822 func (*SetWebAndAppActivityControlRequest) ProtoMessage() {}
823
824 func (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
837 func (*SetWebAndAppActivityControlRequest) Descriptor() ([]byte, []int) {
838 return file_google_actions_sdk_v2_actions_testing_proto_rawDescGZIP(), []int{9}
839 }
840
841 func (x *SetWebAndAppActivityControlRequest) GetEnabled() bool {
842 if x != nil {
843 return x.Enabled
844 }
845 return false
846 }
847
848 var File_google_actions_sdk_v2_actions_testing_proto protoreflect.FileDescriptor
849
850 var 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, 0xda, 0x41, 0x14, 0x70, 0x72, 0x6f, 0x6a,
1004 0x65, 0x63, 0x74, 0x2c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65,
1005 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
1006 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d,
1007 0x3a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x01, 0x2a,
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, 0xda, 0x41, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x82,
1016 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x22, 0x1f, 0x2f, 0x76, 0x32, 0x3a, 0x73, 0x65, 0x74, 0x57, 0x65,
1017 0x62, 0x41, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43,
1018 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x3a, 0x01, 0x2a, 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
1030 var (
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
1035 func 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
1042 var file_google_actions_sdk_v2_actions_testing_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1043 var file_google_actions_sdk_v2_actions_testing_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
1044 var file_google_actions_sdk_v2_actions_testing_proto_goTypes = []interface{}{
1045 (UserInput_InputType)(0),
1046 (DeviceProperties_Surface)(0),
1047 (*SendInteractionRequest)(nil),
1048 (*UserInput)(nil),
1049 (*DeviceProperties)(nil),
1050 (*Location)(nil),
1051 (*SendInteractionResponse)(nil),
1052 (*Output)(nil),
1053 (*Diagnostics)(nil),
1054 (*MatchIntentsRequest)(nil),
1055 (*MatchIntentsResponse)(nil),
1056 (*SetWebAndAppActivityControlRequest)(nil),
1057 (*latlng.LatLng)(nil),
1058 (*conversation.Canvas)(nil),
1059 (*conversation.Prompt)(nil),
1060 (*ExecutionEvent)(nil),
1061 (*conversation.Intent)(nil),
1062 (*emptypb.Empty)(nil),
1063 }
1064 var file_google_actions_sdk_v2_actions_testing_proto_depIdxs = []int32{
1065 3,
1066 4,
1067 0,
1068 1,
1069 5,
1070 12,
1071 7,
1072 8,
1073 13,
1074 14,
1075 15,
1076 16,
1077 2,
1078 9,
1079 11,
1080 6,
1081 10,
1082 17,
1083 15,
1084 12,
1085 12,
1086 12,
1087 0,
1088 }
1089
1090 func init() { file_google_actions_sdk_v2_actions_testing_proto_init() }
1091 func 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
1240 var _ context.Context
1241 var _ grpc.ClientConnInterface
1242
1243
1244
1245 const _ = grpc.SupportPackageIsVersion6
1246
1247
1248
1249
1250 type ActionsTestingClient interface {
1251
1252 SendInteraction(ctx context.Context, in *SendInteractionRequest, opts ...grpc.CallOption) (*SendInteractionResponse, error)
1253
1254 MatchIntents(ctx context.Context, in *MatchIntentsRequest, opts ...grpc.CallOption) (*MatchIntentsResponse, error)
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266 SetWebAndAppActivityControl(ctx context.Context, in *SetWebAndAppActivityControlRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
1267 }
1268
1269 type actionsTestingClient struct {
1270 cc grpc.ClientConnInterface
1271 }
1272
1273 func NewActionsTestingClient(cc grpc.ClientConnInterface) ActionsTestingClient {
1274 return &actionsTestingClient{cc}
1275 }
1276
1277 func (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
1286 func (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
1295 func (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
1305 type ActionsTestingServer interface {
1306
1307 SendInteraction(context.Context, *SendInteractionRequest) (*SendInteractionResponse, error)
1308
1309 MatchIntents(context.Context, *MatchIntentsRequest) (*MatchIntentsResponse, error)
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321 SetWebAndAppActivityControl(context.Context, *SetWebAndAppActivityControlRequest) (*emptypb.Empty, error)
1322 }
1323
1324
1325 type UnimplementedActionsTestingServer struct {
1326 }
1327
1328 func (*UnimplementedActionsTestingServer) SendInteraction(context.Context, *SendInteractionRequest) (*SendInteractionResponse, error) {
1329 return nil, status.Errorf(codes.Unimplemented, "method SendInteraction not implemented")
1330 }
1331 func (*UnimplementedActionsTestingServer) MatchIntents(context.Context, *MatchIntentsRequest) (*MatchIntentsResponse, error) {
1332 return nil, status.Errorf(codes.Unimplemented, "method MatchIntents not implemented")
1333 }
1334 func (*UnimplementedActionsTestingServer) SetWebAndAppActivityControl(context.Context, *SetWebAndAppActivityControlRequest) (*emptypb.Empty, error) {
1335 return nil, status.Errorf(codes.Unimplemented, "method SetWebAndAppActivityControl not implemented")
1336 }
1337
1338 func RegisterActionsTestingServer(s *grpc.Server, srv ActionsTestingServer) {
1339 s.RegisterService(&_ActionsTesting_serviceDesc, srv)
1340 }
1341
1342 func _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
1360 func _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
1378 func _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
1396 var _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
View as plain text