1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package interactionmodel
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40
41
42
43
44
45
46
47
48 type GlobalIntentEvent struct {
49 state protoimpl.MessageState
50 sizeCache protoimpl.SizeCache
51 unknownFields protoimpl.UnknownFields
52
53
54
55 TransitionToScene string `protobuf:"bytes,1,opt,name=transition_to_scene,json=transitionToScene,proto3" json:"transition_to_scene,omitempty"`
56
57
58
59 Handler *EventHandler `protobuf:"bytes,2,opt,name=handler,proto3" json:"handler,omitempty"`
60 }
61
62 func (x *GlobalIntentEvent) Reset() {
63 *x = GlobalIntentEvent{}
64 if protoimpl.UnsafeEnabled {
65 mi := &file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_msgTypes[0]
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 ms.StoreMessageInfo(mi)
68 }
69 }
70
71 func (x *GlobalIntentEvent) String() string {
72 return protoimpl.X.MessageStringOf(x)
73 }
74
75 func (*GlobalIntentEvent) ProtoMessage() {}
76
77 func (x *GlobalIntentEvent) ProtoReflect() protoreflect.Message {
78 mi := &file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_msgTypes[0]
79 if protoimpl.UnsafeEnabled && x != nil {
80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
81 if ms.LoadMessageInfo() == nil {
82 ms.StoreMessageInfo(mi)
83 }
84 return ms
85 }
86 return mi.MessageOf(x)
87 }
88
89
90 func (*GlobalIntentEvent) Descriptor() ([]byte, []int) {
91 return file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_rawDescGZIP(), []int{0}
92 }
93
94 func (x *GlobalIntentEvent) GetTransitionToScene() string {
95 if x != nil {
96 return x.TransitionToScene
97 }
98 return ""
99 }
100
101 func (x *GlobalIntentEvent) GetHandler() *EventHandler {
102 if x != nil {
103 return x.Handler
104 }
105 return nil
106 }
107
108 var File_google_actions_sdk_v2_interactionmodel_global_intent_event_proto protoreflect.FileDescriptor
109
110 var file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_rawDesc = []byte{
111 0x0a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
112 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
113 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f,
114 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
115 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f,
116 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61,
117 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x1a, 0x3a, 0x67, 0x6f, 0x6f, 0x67,
118 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76,
119 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64,
120 0x65, 0x6c, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72,
121 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
122 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
123 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, 0x0a, 0x11, 0x47, 0x6c, 0x6f, 0x62,
124 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x0a,
125 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x5f, 0x73,
126 0x63, 0x65, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
127 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x53, 0x63, 0x65,
128 0x6e, 0x65, 0x12, 0x53, 0x0a, 0x07, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20,
129 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74,
130 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65,
131 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x45, 0x76, 0x65,
132 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07,
133 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x42, 0x9e, 0x01, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e,
134 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73,
135 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f,
136 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x16, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x49, 0x6e,
137 0x74, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
138 0x5a, 0x56, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
139 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
140 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
141 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69,
142 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x3b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
143 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
144 }
145
146 var (
147 file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_rawDescOnce sync.Once
148 file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_rawDescData = file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_rawDesc
149 )
150
151 func file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_rawDescGZIP() []byte {
152 file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_rawDescOnce.Do(func() {
153 file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_rawDescData)
154 })
155 return file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_rawDescData
156 }
157
158 var file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
159 var file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_goTypes = []interface{}{
160 (*GlobalIntentEvent)(nil),
161 (*EventHandler)(nil),
162 }
163 var file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_depIdxs = []int32{
164 1,
165 1,
166 1,
167 1,
168 1,
169 0,
170 }
171
172 func init() { file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_init() }
173 func file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_init() {
174 if File_google_actions_sdk_v2_interactionmodel_global_intent_event_proto != nil {
175 return
176 }
177 file_google_actions_sdk_v2_interactionmodel_event_handler_proto_init()
178 if !protoimpl.UnsafeEnabled {
179 file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
180 switch v := v.(*GlobalIntentEvent); i {
181 case 0:
182 return &v.state
183 case 1:
184 return &v.sizeCache
185 case 2:
186 return &v.unknownFields
187 default:
188 return nil
189 }
190 }
191 }
192 type x struct{}
193 out := protoimpl.TypeBuilder{
194 File: protoimpl.DescBuilder{
195 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
196 RawDescriptor: file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_rawDesc,
197 NumEnums: 0,
198 NumMessages: 1,
199 NumExtensions: 0,
200 NumServices: 0,
201 },
202 GoTypes: file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_goTypes,
203 DependencyIndexes: file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_depIdxs,
204 MessageInfos: file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_msgTypes,
205 }.Build()
206 File_google_actions_sdk_v2_interactionmodel_global_intent_event_proto = out.File
207 file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_rawDesc = nil
208 file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_goTypes = nil
209 file_google_actions_sdk_v2_interactionmodel_global_intent_event_proto_depIdxs = nil
210 }
211
View as plain text