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 _type "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type"
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 structpb "google.golang.org/protobuf/types/known/structpb"
32 )
33
34 const (
35
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41
42
43
44 type Slot struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49
50 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
51
52 Type *_type.ClassReference `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
53
54
55
56 Required bool `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
57
58 PromptSettings *Slot_PromptSettings `protobuf:"bytes,4,opt,name=prompt_settings,json=promptSettings,proto3" json:"prompt_settings,omitempty"`
59
60 CommitBehavior *Slot_CommitBehavior `protobuf:"bytes,5,opt,name=commit_behavior,json=commitBehavior,proto3" json:"commit_behavior,omitempty"`
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82 Config *structpb.Value `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"`
83
84 DefaultValue *Slot_DefaultValue `protobuf:"bytes,7,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
85 }
86
87 func (x *Slot) Reset() {
88 *x = Slot{}
89 if protoimpl.UnsafeEnabled {
90 mi := &file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes[0]
91 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
92 ms.StoreMessageInfo(mi)
93 }
94 }
95
96 func (x *Slot) String() string {
97 return protoimpl.X.MessageStringOf(x)
98 }
99
100 func (*Slot) ProtoMessage() {}
101
102 func (x *Slot) ProtoReflect() protoreflect.Message {
103 mi := &file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes[0]
104 if protoimpl.UnsafeEnabled && x != nil {
105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
106 if ms.LoadMessageInfo() == nil {
107 ms.StoreMessageInfo(mi)
108 }
109 return ms
110 }
111 return mi.MessageOf(x)
112 }
113
114
115 func (*Slot) Descriptor() ([]byte, []int) {
116 return file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDescGZIP(), []int{0}
117 }
118
119 func (x *Slot) GetName() string {
120 if x != nil {
121 return x.Name
122 }
123 return ""
124 }
125
126 func (x *Slot) GetType() *_type.ClassReference {
127 if x != nil {
128 return x.Type
129 }
130 return nil
131 }
132
133 func (x *Slot) GetRequired() bool {
134 if x != nil {
135 return x.Required
136 }
137 return false
138 }
139
140 func (x *Slot) GetPromptSettings() *Slot_PromptSettings {
141 if x != nil {
142 return x.PromptSettings
143 }
144 return nil
145 }
146
147 func (x *Slot) GetCommitBehavior() *Slot_CommitBehavior {
148 if x != nil {
149 return x.CommitBehavior
150 }
151 return nil
152 }
153
154 func (x *Slot) GetConfig() *structpb.Value {
155 if x != nil {
156 return x.Config
157 }
158 return nil
159 }
160
161 func (x *Slot) GetDefaultValue() *Slot_DefaultValue {
162 if x != nil {
163 return x.DefaultValue
164 }
165 return nil
166 }
167
168
169 type Slot_PromptSettings struct {
170 state protoimpl.MessageState
171 sizeCache protoimpl.SizeCache
172 unknownFields protoimpl.UnknownFields
173
174
175 InitialPrompt *EventHandler `protobuf:"bytes,1,opt,name=initial_prompt,json=initialPrompt,proto3" json:"initial_prompt,omitempty"`
176
177
178
179 NoMatchPrompt1 *EventHandler `protobuf:"bytes,2,opt,name=no_match_prompt1,json=noMatchPrompt1,proto3" json:"no_match_prompt1,omitempty"`
180
181
182
183 NoMatchPrompt2 *EventHandler `protobuf:"bytes,3,opt,name=no_match_prompt2,json=noMatchPrompt2,proto3" json:"no_match_prompt2,omitempty"`
184
185
186
187 NoMatchFinalPrompt *EventHandler `protobuf:"bytes,4,opt,name=no_match_final_prompt,json=noMatchFinalPrompt,proto3" json:"no_match_final_prompt,omitempty"`
188
189
190 NoInputPrompt1 *EventHandler `protobuf:"bytes,5,opt,name=no_input_prompt1,json=noInputPrompt1,proto3" json:"no_input_prompt1,omitempty"`
191
192
193 NoInputPrompt2 *EventHandler `protobuf:"bytes,6,opt,name=no_input_prompt2,json=noInputPrompt2,proto3" json:"no_input_prompt2,omitempty"`
194
195
196 NoInputFinalPrompt *EventHandler `protobuf:"bytes,7,opt,name=no_input_final_prompt,json=noInputFinalPrompt,proto3" json:"no_input_final_prompt,omitempty"`
197 }
198
199 func (x *Slot_PromptSettings) Reset() {
200 *x = Slot_PromptSettings{}
201 if protoimpl.UnsafeEnabled {
202 mi := &file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes[1]
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 ms.StoreMessageInfo(mi)
205 }
206 }
207
208 func (x *Slot_PromptSettings) String() string {
209 return protoimpl.X.MessageStringOf(x)
210 }
211
212 func (*Slot_PromptSettings) ProtoMessage() {}
213
214 func (x *Slot_PromptSettings) ProtoReflect() protoreflect.Message {
215 mi := &file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes[1]
216 if protoimpl.UnsafeEnabled && x != nil {
217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
218 if ms.LoadMessageInfo() == nil {
219 ms.StoreMessageInfo(mi)
220 }
221 return ms
222 }
223 return mi.MessageOf(x)
224 }
225
226
227 func (*Slot_PromptSettings) Descriptor() ([]byte, []int) {
228 return file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDescGZIP(), []int{0, 0}
229 }
230
231 func (x *Slot_PromptSettings) GetInitialPrompt() *EventHandler {
232 if x != nil {
233 return x.InitialPrompt
234 }
235 return nil
236 }
237
238 func (x *Slot_PromptSettings) GetNoMatchPrompt1() *EventHandler {
239 if x != nil {
240 return x.NoMatchPrompt1
241 }
242 return nil
243 }
244
245 func (x *Slot_PromptSettings) GetNoMatchPrompt2() *EventHandler {
246 if x != nil {
247 return x.NoMatchPrompt2
248 }
249 return nil
250 }
251
252 func (x *Slot_PromptSettings) GetNoMatchFinalPrompt() *EventHandler {
253 if x != nil {
254 return x.NoMatchFinalPrompt
255 }
256 return nil
257 }
258
259 func (x *Slot_PromptSettings) GetNoInputPrompt1() *EventHandler {
260 if x != nil {
261 return x.NoInputPrompt1
262 }
263 return nil
264 }
265
266 func (x *Slot_PromptSettings) GetNoInputPrompt2() *EventHandler {
267 if x != nil {
268 return x.NoInputPrompt2
269 }
270 return nil
271 }
272
273 func (x *Slot_PromptSettings) GetNoInputFinalPrompt() *EventHandler {
274 if x != nil {
275 return x.NoInputFinalPrompt
276 }
277 return nil
278 }
279
280
281
282 type Slot_CommitBehavior struct {
283 state protoimpl.MessageState
284 sizeCache protoimpl.SizeCache
285 unknownFields protoimpl.UnknownFields
286
287
288
289
290
291
292 WriteSessionParam string `protobuf:"bytes,1,opt,name=write_session_param,json=writeSessionParam,proto3" json:"write_session_param,omitempty"`
293 }
294
295 func (x *Slot_CommitBehavior) Reset() {
296 *x = Slot_CommitBehavior{}
297 if protoimpl.UnsafeEnabled {
298 mi := &file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes[2]
299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
300 ms.StoreMessageInfo(mi)
301 }
302 }
303
304 func (x *Slot_CommitBehavior) String() string {
305 return protoimpl.X.MessageStringOf(x)
306 }
307
308 func (*Slot_CommitBehavior) ProtoMessage() {}
309
310 func (x *Slot_CommitBehavior) ProtoReflect() protoreflect.Message {
311 mi := &file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes[2]
312 if protoimpl.UnsafeEnabled && x != nil {
313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
314 if ms.LoadMessageInfo() == nil {
315 ms.StoreMessageInfo(mi)
316 }
317 return ms
318 }
319 return mi.MessageOf(x)
320 }
321
322
323 func (*Slot_CommitBehavior) Descriptor() ([]byte, []int) {
324 return file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDescGZIP(), []int{0, 1}
325 }
326
327 func (x *Slot_CommitBehavior) GetWriteSessionParam() string {
328 if x != nil {
329 return x.WriteSessionParam
330 }
331 return ""
332 }
333
334
335 type Slot_DefaultValue struct {
336 state protoimpl.MessageState
337 sizeCache protoimpl.SizeCache
338 unknownFields protoimpl.UnknownFields
339
340
341
342
343
344
345 SessionParam string `protobuf:"bytes,1,opt,name=session_param,json=sessionParam,proto3" json:"session_param,omitempty"`
346
347
348
349 Constant *structpb.Value `protobuf:"bytes,2,opt,name=constant,proto3" json:"constant,omitempty"`
350 }
351
352 func (x *Slot_DefaultValue) Reset() {
353 *x = Slot_DefaultValue{}
354 if protoimpl.UnsafeEnabled {
355 mi := &file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes[3]
356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
357 ms.StoreMessageInfo(mi)
358 }
359 }
360
361 func (x *Slot_DefaultValue) String() string {
362 return protoimpl.X.MessageStringOf(x)
363 }
364
365 func (*Slot_DefaultValue) ProtoMessage() {}
366
367 func (x *Slot_DefaultValue) ProtoReflect() protoreflect.Message {
368 mi := &file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes[3]
369 if protoimpl.UnsafeEnabled && x != nil {
370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
371 if ms.LoadMessageInfo() == nil {
372 ms.StoreMessageInfo(mi)
373 }
374 return ms
375 }
376 return mi.MessageOf(x)
377 }
378
379
380 func (*Slot_DefaultValue) Descriptor() ([]byte, []int) {
381 return file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDescGZIP(), []int{0, 2}
382 }
383
384 func (x *Slot_DefaultValue) GetSessionParam() string {
385 if x != nil {
386 return x.SessionParam
387 }
388 return ""
389 }
390
391 func (x *Slot_DefaultValue) GetConstant() *structpb.Value {
392 if x != nil {
393 return x.Constant
394 }
395 return nil
396 }
397
398 var File_google_actions_sdk_v2_interactionmodel_slot_proto protoreflect.FileDescriptor
399
400 var file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDesc = []byte{
401 0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
402 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
403 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x6c, 0x6f, 0x74, 0x2e, 0x70, 0x72,
404 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69,
405 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
406 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x1a, 0x3a, 0x67, 0x6f, 0x6f,
407 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f,
408 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f,
409 0x64, 0x65, 0x6c, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65,
410 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
411 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69,
412 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f,
413 0x74, 0x79, 0x70, 0x65, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72,
414 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
415 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
416 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
417 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72,
418 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x0a, 0x0a, 0x04, 0x53, 0x6c,
419 0x6f, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
420 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x04, 0x74,
421 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
422 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76,
423 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64,
424 0x65, 0x6c, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x66,
425 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70,
426 0x65, 0x12, 0x1f, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20,
427 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72,
428 0x65, 0x64, 0x12, 0x69, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x5f, 0x73, 0x65, 0x74,
429 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f,
430 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b,
431 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d,
432 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74,
433 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x70,
434 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x69, 0x0a,
435 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72,
436 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
437 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69,
438 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e,
439 0x53, 0x6c, 0x6f, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x65, 0x68, 0x61, 0x76,
440 0x69, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
441 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x12, 0x33, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66,
442 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
443 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65,
444 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x63, 0x0a,
445 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07,
446 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63,
447 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74,
448 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x53, 0x6c,
449 0x6f, 0x74, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42,
450 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c,
451 0x75, 0x65, 0x1a, 0xbf, 0x05, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x53, 0x65, 0x74,
452 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x5b, 0x0a, 0x0e, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c,
453 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e,
454 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73,
455 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f,
456 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64,
457 0x6c, 0x65, 0x72, 0x52, 0x0d, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6d,
458 0x70, 0x74, 0x12, 0x5e, 0x0a, 0x10, 0x6e, 0x6f, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x70,
459 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x31, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67,
460 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64,
461 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
462 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c,
463 0x65, 0x72, 0x52, 0x0e, 0x6e, 0x6f, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6d, 0x70,
464 0x74, 0x31, 0x12, 0x5e, 0x0a, 0x10, 0x6e, 0x6f, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x70,
465 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67,
466 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64,
467 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
468 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c,
469 0x65, 0x72, 0x52, 0x0e, 0x6e, 0x6f, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6d, 0x70,
470 0x74, 0x32, 0x12, 0x67, 0x0a, 0x15, 0x6e, 0x6f, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x66,
471 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
472 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f,
473 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61,
474 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74,
475 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x52, 0x12, 0x6e, 0x6f, 0x4d, 0x61, 0x74, 0x63, 0x68,
476 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x12, 0x5e, 0x0a, 0x10, 0x6e,
477 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x31, 0x18,
478 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
479 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e,
480 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x45,
481 0x76, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x52, 0x0e, 0x6e, 0x6f, 0x49,
482 0x6e, 0x70, 0x75, 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x31, 0x12, 0x5e, 0x0a, 0x10, 0x6e,
483 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x32, 0x18,
484 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
485 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e,
486 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x45,
487 0x76, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x52, 0x0e, 0x6e, 0x6f, 0x49,
488 0x6e, 0x70, 0x75, 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x32, 0x12, 0x67, 0x0a, 0x15, 0x6e,
489 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72,
490 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f,
491 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e,
492 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f,
493 0x64, 0x65, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72,
494 0x52, 0x12, 0x6e, 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x50, 0x72,
495 0x6f, 0x6d, 0x70, 0x74, 0x1a, 0x40, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x65,
496 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x13, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f,
497 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x01, 0x20,
498 0x01, 0x28, 0x09, 0x52, 0x11, 0x77, 0x72, 0x69, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,
499 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x71, 0x0a, 0x0c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c,
500 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
501 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
502 0x41, 0x01, 0x52, 0x0c, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d,
503 0x12, 0x37, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
504 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
505 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
506 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x42, 0x91, 0x01, 0x0a, 0x2a, 0x63, 0x6f,
507 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
508 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
509 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x09, 0x53, 0x6c, 0x6f, 0x74, 0x50, 0x72,
510 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
511 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74,
512 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74,
513 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65,
514 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x3b, 0x69, 0x6e, 0x74,
515 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x62, 0x06, 0x70,
516 0x72, 0x6f, 0x74, 0x6f, 0x33,
517 }
518
519 var (
520 file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDescOnce sync.Once
521 file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDescData = file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDesc
522 )
523
524 func file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDescGZIP() []byte {
525 file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDescOnce.Do(func() {
526 file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDescData)
527 })
528 return file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDescData
529 }
530
531 var file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
532 var file_google_actions_sdk_v2_interactionmodel_slot_proto_goTypes = []interface{}{
533 (*Slot)(nil),
534 (*Slot_PromptSettings)(nil),
535 (*Slot_CommitBehavior)(nil),
536 (*Slot_DefaultValue)(nil),
537 (*_type.ClassReference)(nil),
538 (*structpb.Value)(nil),
539 (*EventHandler)(nil),
540 }
541 var file_google_actions_sdk_v2_interactionmodel_slot_proto_depIdxs = []int32{
542 4,
543 1,
544 2,
545 5,
546 3,
547 6,
548 6,
549 6,
550 6,
551 6,
552 6,
553 6,
554 5,
555 13,
556 13,
557 13,
558 13,
559 0,
560 }
561
562 func init() { file_google_actions_sdk_v2_interactionmodel_slot_proto_init() }
563 func file_google_actions_sdk_v2_interactionmodel_slot_proto_init() {
564 if File_google_actions_sdk_v2_interactionmodel_slot_proto != nil {
565 return
566 }
567 file_google_actions_sdk_v2_interactionmodel_event_handler_proto_init()
568 if !protoimpl.UnsafeEnabled {
569 file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
570 switch v := v.(*Slot); i {
571 case 0:
572 return &v.state
573 case 1:
574 return &v.sizeCache
575 case 2:
576 return &v.unknownFields
577 default:
578 return nil
579 }
580 }
581 file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
582 switch v := v.(*Slot_PromptSettings); i {
583 case 0:
584 return &v.state
585 case 1:
586 return &v.sizeCache
587 case 2:
588 return &v.unknownFields
589 default:
590 return nil
591 }
592 }
593 file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
594 switch v := v.(*Slot_CommitBehavior); i {
595 case 0:
596 return &v.state
597 case 1:
598 return &v.sizeCache
599 case 2:
600 return &v.unknownFields
601 default:
602 return nil
603 }
604 }
605 file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
606 switch v := v.(*Slot_DefaultValue); i {
607 case 0:
608 return &v.state
609 case 1:
610 return &v.sizeCache
611 case 2:
612 return &v.unknownFields
613 default:
614 return nil
615 }
616 }
617 }
618 type x struct{}
619 out := protoimpl.TypeBuilder{
620 File: protoimpl.DescBuilder{
621 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
622 RawDescriptor: file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDesc,
623 NumEnums: 0,
624 NumMessages: 4,
625 NumExtensions: 0,
626 NumServices: 0,
627 },
628 GoTypes: file_google_actions_sdk_v2_interactionmodel_slot_proto_goTypes,
629 DependencyIndexes: file_google_actions_sdk_v2_interactionmodel_slot_proto_depIdxs,
630 MessageInfos: file_google_actions_sdk_v2_interactionmodel_slot_proto_msgTypes,
631 }.Build()
632 File_google_actions_sdk_v2_interactionmodel_slot_proto = out.File
633 file_google_actions_sdk_v2_interactionmodel_slot_proto_rawDesc = nil
634 file_google_actions_sdk_v2_interactionmodel_slot_proto_goTypes = nil
635 file_google_actions_sdk_v2_interactionmodel_slot_proto_depIdxs = nil
636 }
637
View as plain text