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 type IntentEvent struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45
46 Intent string `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
47
48
49 TransitionToScene string `protobuf:"bytes,2,opt,name=transition_to_scene,json=transitionToScene,proto3" json:"transition_to_scene,omitempty"`
50
51
52
53 Handler *EventHandler `protobuf:"bytes,3,opt,name=handler,proto3" json:"handler,omitempty"`
54 }
55
56 func (x *IntentEvent) Reset() {
57 *x = IntentEvent{}
58 if protoimpl.UnsafeEnabled {
59 mi := &file_google_actions_sdk_v2_interactionmodel_intent_event_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63 }
64
65 func (x *IntentEvent) String() string {
66 return protoimpl.X.MessageStringOf(x)
67 }
68
69 func (*IntentEvent) ProtoMessage() {}
70
71 func (x *IntentEvent) ProtoReflect() protoreflect.Message {
72 mi := &file_google_actions_sdk_v2_interactionmodel_intent_event_proto_msgTypes[0]
73 if protoimpl.UnsafeEnabled && x != nil {
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 if ms.LoadMessageInfo() == nil {
76 ms.StoreMessageInfo(mi)
77 }
78 return ms
79 }
80 return mi.MessageOf(x)
81 }
82
83
84 func (*IntentEvent) Descriptor() ([]byte, []int) {
85 return file_google_actions_sdk_v2_interactionmodel_intent_event_proto_rawDescGZIP(), []int{0}
86 }
87
88 func (x *IntentEvent) GetIntent() string {
89 if x != nil {
90 return x.Intent
91 }
92 return ""
93 }
94
95 func (x *IntentEvent) GetTransitionToScene() string {
96 if x != nil {
97 return x.TransitionToScene
98 }
99 return ""
100 }
101
102 func (x *IntentEvent) GetHandler() *EventHandler {
103 if x != nil {
104 return x.Handler
105 }
106 return nil
107 }
108
109 var File_google_actions_sdk_v2_interactionmodel_intent_event_proto protoreflect.FileDescriptor
110
111 var file_google_actions_sdk_v2_interactionmodel_intent_event_proto_rawDesc = []byte{
112 0x0a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
113 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
114 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
115 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f,
116 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e,
117 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f,
118 0x64, 0x65, 0x6c, 0x1a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69,
119 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
120 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x65, 0x76, 0x65, 0x6e,
121 0x74, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
122 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
123 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
124 0x22, 0xb4, 0x01, 0x0a, 0x0b, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74,
125 0x12, 0x1b, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
126 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x0a,
127 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x5f, 0x73,
128 0x63, 0x65, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
129 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x53, 0x63, 0x65,
130 0x6e, 0x65, 0x12, 0x53, 0x0a, 0x07, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x03, 0x20,
131 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74,
132 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65,
133 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x45, 0x76, 0x65,
134 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07,
135 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x42, 0x98, 0x01, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e,
136 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73,
137 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f,
138 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x10, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45, 0x76,
139 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x6f, 0x6f, 0x67,
140 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
141 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
142 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32,
143 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65,
144 0x6c, 0x3b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64,
145 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
146 }
147
148 var (
149 file_google_actions_sdk_v2_interactionmodel_intent_event_proto_rawDescOnce sync.Once
150 file_google_actions_sdk_v2_interactionmodel_intent_event_proto_rawDescData = file_google_actions_sdk_v2_interactionmodel_intent_event_proto_rawDesc
151 )
152
153 func file_google_actions_sdk_v2_interactionmodel_intent_event_proto_rawDescGZIP() []byte {
154 file_google_actions_sdk_v2_interactionmodel_intent_event_proto_rawDescOnce.Do(func() {
155 file_google_actions_sdk_v2_interactionmodel_intent_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_interactionmodel_intent_event_proto_rawDescData)
156 })
157 return file_google_actions_sdk_v2_interactionmodel_intent_event_proto_rawDescData
158 }
159
160 var file_google_actions_sdk_v2_interactionmodel_intent_event_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
161 var file_google_actions_sdk_v2_interactionmodel_intent_event_proto_goTypes = []interface{}{
162 (*IntentEvent)(nil),
163 (*EventHandler)(nil),
164 }
165 var file_google_actions_sdk_v2_interactionmodel_intent_event_proto_depIdxs = []int32{
166 1,
167 1,
168 1,
169 1,
170 1,
171 0,
172 }
173
174 func init() { file_google_actions_sdk_v2_interactionmodel_intent_event_proto_init() }
175 func file_google_actions_sdk_v2_interactionmodel_intent_event_proto_init() {
176 if File_google_actions_sdk_v2_interactionmodel_intent_event_proto != nil {
177 return
178 }
179 file_google_actions_sdk_v2_interactionmodel_event_handler_proto_init()
180 if !protoimpl.UnsafeEnabled {
181 file_google_actions_sdk_v2_interactionmodel_intent_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
182 switch v := v.(*IntentEvent); i {
183 case 0:
184 return &v.state
185 case 1:
186 return &v.sizeCache
187 case 2:
188 return &v.unknownFields
189 default:
190 return nil
191 }
192 }
193 }
194 type x struct{}
195 out := protoimpl.TypeBuilder{
196 File: protoimpl.DescBuilder{
197 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
198 RawDescriptor: file_google_actions_sdk_v2_interactionmodel_intent_event_proto_rawDesc,
199 NumEnums: 0,
200 NumMessages: 1,
201 NumExtensions: 0,
202 NumServices: 0,
203 },
204 GoTypes: file_google_actions_sdk_v2_interactionmodel_intent_event_proto_goTypes,
205 DependencyIndexes: file_google_actions_sdk_v2_interactionmodel_intent_event_proto_depIdxs,
206 MessageInfos: file_google_actions_sdk_v2_interactionmodel_intent_event_proto_msgTypes,
207 }.Build()
208 File_google_actions_sdk_v2_interactionmodel_intent_event_proto = out.File
209 file_google_actions_sdk_v2_interactionmodel_intent_event_proto_rawDesc = nil
210 file_google_actions_sdk_v2_interactionmodel_intent_event_proto_goTypes = nil
211 file_google_actions_sdk_v2_interactionmodel_intent_event_proto_depIdxs = nil
212 }
213
View as plain text