1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package prompt
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 type StaticPrompt struct {
43 state protoimpl.MessageState
44 sizeCache protoimpl.SizeCache
45 unknownFields protoimpl.UnknownFields
46
47
48
49
50 Candidates []*StaticPrompt_StaticPromptCandidate `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"`
51 }
52
53 func (x *StaticPrompt) Reset() {
54 *x = StaticPrompt{}
55 if protoimpl.UnsafeEnabled {
56 mi := &file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60 }
61
62 func (x *StaticPrompt) String() string {
63 return protoimpl.X.MessageStringOf(x)
64 }
65
66 func (*StaticPrompt) ProtoMessage() {}
67
68 func (x *StaticPrompt) ProtoReflect() protoreflect.Message {
69 mi := &file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes[0]
70 if protoimpl.UnsafeEnabled && x != nil {
71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
72 if ms.LoadMessageInfo() == nil {
73 ms.StoreMessageInfo(mi)
74 }
75 return ms
76 }
77 return mi.MessageOf(x)
78 }
79
80
81 func (*StaticPrompt) Descriptor() ([]byte, []int) {
82 return file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDescGZIP(), []int{0}
83 }
84
85 func (x *StaticPrompt) GetCandidates() []*StaticPrompt_StaticPromptCandidate {
86 if x != nil {
87 return x.Candidates
88 }
89 return nil
90 }
91
92
93 type StaticPrompt_StaticPromptCandidate struct {
94 state protoimpl.MessageState
95 sizeCache protoimpl.SizeCache
96 unknownFields protoimpl.UnknownFields
97
98
99
100 Selector *StaticPrompt_Selector `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
101
102 PromptResponse *StaticPrompt_StaticPromptCandidate_StaticPromptResponse `protobuf:"bytes,2,opt,name=prompt_response,json=promptResponse,proto3" json:"prompt_response,omitempty"`
103 }
104
105 func (x *StaticPrompt_StaticPromptCandidate) Reset() {
106 *x = StaticPrompt_StaticPromptCandidate{}
107 if protoimpl.UnsafeEnabled {
108 mi := &file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes[1]
109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
110 ms.StoreMessageInfo(mi)
111 }
112 }
113
114 func (x *StaticPrompt_StaticPromptCandidate) String() string {
115 return protoimpl.X.MessageStringOf(x)
116 }
117
118 func (*StaticPrompt_StaticPromptCandidate) ProtoMessage() {}
119
120 func (x *StaticPrompt_StaticPromptCandidate) ProtoReflect() protoreflect.Message {
121 mi := &file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes[1]
122 if protoimpl.UnsafeEnabled && x != nil {
123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
124 if ms.LoadMessageInfo() == nil {
125 ms.StoreMessageInfo(mi)
126 }
127 return ms
128 }
129 return mi.MessageOf(x)
130 }
131
132
133 func (*StaticPrompt_StaticPromptCandidate) Descriptor() ([]byte, []int) {
134 return file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDescGZIP(), []int{0, 0}
135 }
136
137 func (x *StaticPrompt_StaticPromptCandidate) GetSelector() *StaticPrompt_Selector {
138 if x != nil {
139 return x.Selector
140 }
141 return nil
142 }
143
144 func (x *StaticPrompt_StaticPromptCandidate) GetPromptResponse() *StaticPrompt_StaticPromptCandidate_StaticPromptResponse {
145 if x != nil {
146 return x.PromptResponse
147 }
148 return nil
149 }
150
151
152 type StaticPrompt_Selector struct {
153 state protoimpl.MessageState
154 sizeCache protoimpl.SizeCache
155 unknownFields protoimpl.UnknownFields
156
157
158 SurfaceCapabilities *SurfaceCapabilities `protobuf:"bytes,1,opt,name=surface_capabilities,json=surfaceCapabilities,proto3" json:"surface_capabilities,omitempty"`
159 }
160
161 func (x *StaticPrompt_Selector) Reset() {
162 *x = StaticPrompt_Selector{}
163 if protoimpl.UnsafeEnabled {
164 mi := &file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes[2]
165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
166 ms.StoreMessageInfo(mi)
167 }
168 }
169
170 func (x *StaticPrompt_Selector) String() string {
171 return protoimpl.X.MessageStringOf(x)
172 }
173
174 func (*StaticPrompt_Selector) ProtoMessage() {}
175
176 func (x *StaticPrompt_Selector) ProtoReflect() protoreflect.Message {
177 mi := &file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes[2]
178 if protoimpl.UnsafeEnabled && x != nil {
179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
180 if ms.LoadMessageInfo() == nil {
181 ms.StoreMessageInfo(mi)
182 }
183 return ms
184 }
185 return mi.MessageOf(x)
186 }
187
188
189 func (*StaticPrompt_Selector) Descriptor() ([]byte, []int) {
190 return file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDescGZIP(), []int{0, 1}
191 }
192
193 func (x *StaticPrompt_Selector) GetSurfaceCapabilities() *SurfaceCapabilities {
194 if x != nil {
195 return x.SurfaceCapabilities
196 }
197 return nil
198 }
199
200
201
202 type StaticPrompt_StaticPromptCandidate_StaticPromptResponse struct {
203 state protoimpl.MessageState
204 sizeCache protoimpl.SizeCache
205 unknownFields protoimpl.UnknownFields
206
207
208 FirstSimple *StaticSimplePrompt `protobuf:"bytes,2,opt,name=first_simple,json=firstSimple,proto3" json:"first_simple,omitempty"`
209
210 Content *StaticContentPrompt `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
211
212 LastSimple *StaticSimplePrompt `protobuf:"bytes,4,opt,name=last_simple,json=lastSimple,proto3" json:"last_simple,omitempty"`
213
214
215
216
217
218 Suggestions []*Suggestion `protobuf:"bytes,5,rep,name=suggestions,proto3" json:"suggestions,omitempty"`
219
220
221
222 Link *StaticLinkPrompt `protobuf:"bytes,6,opt,name=link,proto3" json:"link,omitempty"`
223
224
225
226
227
228
229
230
231
232
233 Override bool `protobuf:"varint,7,opt,name=override,proto3" json:"override,omitempty"`
234
235 Canvas *StaticCanvasPrompt `protobuf:"bytes,8,opt,name=canvas,proto3" json:"canvas,omitempty"`
236 }
237
238 func (x *StaticPrompt_StaticPromptCandidate_StaticPromptResponse) Reset() {
239 *x = StaticPrompt_StaticPromptCandidate_StaticPromptResponse{}
240 if protoimpl.UnsafeEnabled {
241 mi := &file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes[3]
242 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
243 ms.StoreMessageInfo(mi)
244 }
245 }
246
247 func (x *StaticPrompt_StaticPromptCandidate_StaticPromptResponse) String() string {
248 return protoimpl.X.MessageStringOf(x)
249 }
250
251 func (*StaticPrompt_StaticPromptCandidate_StaticPromptResponse) ProtoMessage() {}
252
253 func (x *StaticPrompt_StaticPromptCandidate_StaticPromptResponse) ProtoReflect() protoreflect.Message {
254 mi := &file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes[3]
255 if protoimpl.UnsafeEnabled && x != nil {
256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
257 if ms.LoadMessageInfo() == nil {
258 ms.StoreMessageInfo(mi)
259 }
260 return ms
261 }
262 return mi.MessageOf(x)
263 }
264
265
266 func (*StaticPrompt_StaticPromptCandidate_StaticPromptResponse) Descriptor() ([]byte, []int) {
267 return file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDescGZIP(), []int{0, 0, 0}
268 }
269
270 func (x *StaticPrompt_StaticPromptCandidate_StaticPromptResponse) GetFirstSimple() *StaticSimplePrompt {
271 if x != nil {
272 return x.FirstSimple
273 }
274 return nil
275 }
276
277 func (x *StaticPrompt_StaticPromptCandidate_StaticPromptResponse) GetContent() *StaticContentPrompt {
278 if x != nil {
279 return x.Content
280 }
281 return nil
282 }
283
284 func (x *StaticPrompt_StaticPromptCandidate_StaticPromptResponse) GetLastSimple() *StaticSimplePrompt {
285 if x != nil {
286 return x.LastSimple
287 }
288 return nil
289 }
290
291 func (x *StaticPrompt_StaticPromptCandidate_StaticPromptResponse) GetSuggestions() []*Suggestion {
292 if x != nil {
293 return x.Suggestions
294 }
295 return nil
296 }
297
298 func (x *StaticPrompt_StaticPromptCandidate_StaticPromptResponse) GetLink() *StaticLinkPrompt {
299 if x != nil {
300 return x.Link
301 }
302 return nil
303 }
304
305 func (x *StaticPrompt_StaticPromptCandidate_StaticPromptResponse) GetOverride() bool {
306 if x != nil {
307 return x.Override
308 }
309 return false
310 }
311
312 func (x *StaticPrompt_StaticPromptCandidate_StaticPromptResponse) GetCanvas() *StaticCanvasPrompt {
313 if x != nil {
314 return x.Canvas
315 }
316 return nil
317 }
318
319 var File_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto protoreflect.FileDescriptor
320
321 var file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDesc = []byte{
322 0x0a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
323 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
324 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f,
325 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x70, 0x72,
326 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69,
327 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
328 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6d,
329 0x70, 0x74, 0x1a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f,
330 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61,
331 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70,
332 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63,
333 0x5f, 0x63, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x70,
334 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x51, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74,
335 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65,
336 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f,
337 0x6d, 0x70, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2f, 0x73, 0x74, 0x61, 0x74,
338 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70,
339 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
340 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69,
341 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f,
342 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2f, 0x73,
343 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70,
344 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
345 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69,
346 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f,
347 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x73, 0x69,
348 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
349 0x6f, 0x1a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
350 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63,
351 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74,
352 0x2f, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
353 0x6f, 0x1a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
354 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63,
355 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74,
356 0x2f, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c,
357 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
358 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,
359 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x09, 0x0a,
360 0x0c, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x12, 0x71, 0x0a,
361 0x0a, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
362 0x0b, 0x32, 0x51, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f,
363 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61,
364 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x70,
365 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x53,
366 0x74, 0x61, 0x74, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x43, 0x61, 0x6e, 0x64, 0x69,
367 0x64, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x73,
368 0x1a, 0x98, 0x07, 0x0a, 0x15, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x6d, 0x70,
369 0x74, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x12, 0x65, 0x0a, 0x08, 0x73, 0x65,
370 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67,
371 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64,
372 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
373 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x53, 0x74, 0x61,
374 0x74, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74,
375 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f,
376 0x72, 0x12, 0x8f, 0x01, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x5f, 0x72, 0x65, 0x73,
377 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x66, 0x2e, 0x67, 0x6f,
378 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b,
379 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d,
380 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74,
381 0x69, 0x63, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x50,
382 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x53,
383 0x74, 0x61, 0x74, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
384 0x6e, 0x73, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
385 0x6e, 0x73, 0x65, 0x1a, 0x85, 0x05, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x50, 0x72,
386 0x6f, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x0c,
387 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01,
388 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69,
389 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
390 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6d,
391 0x70, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x50,
392 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x66, 0x69, 0x72, 0x73,
393 0x74, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x61, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65,
394 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
395 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32,
396 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65,
397 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x43,
398 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x42, 0x03, 0xe0, 0x41,
399 0x01, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x67, 0x0a, 0x0b, 0x6c, 0x61,
400 0x73, 0x74, 0x5f, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
401 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
402 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
403 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e,
404 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x6d,
405 0x70, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x69, 0x6d,
406 0x70, 0x6c, 0x65, 0x12, 0x60, 0x0a, 0x0b, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f,
407 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
408 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32,
409 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65,
410 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74,
411 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73,
412 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x06, 0x20,
413 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74,
414 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65,
415 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f,
416 0x6d, 0x70, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x72,
417 0x6f, 0x6d, 0x70, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12,
418 0x1f, 0x0a, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
419 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65,
420 0x12, 0x59, 0x0a, 0x06, 0x63, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
421 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
422 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63,
423 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74,
424 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x43, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x50, 0x72, 0x6f,
425 0x6d, 0x70, 0x74, 0x52, 0x06, 0x63, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x1a, 0x81, 0x01, 0x0a, 0x08,
426 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x75, 0x0a, 0x14, 0x73, 0x75, 0x72, 0x66,
427 0x61, 0x63, 0x65, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73,
428 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
429 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69,
430 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e,
431 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x43, 0x61,
432 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x13, 0x73, 0x75, 0x72, 0x66,
433 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x42,
434 0x9d, 0x01, 0x0a, 0x31, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
435 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e,
436 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70,
437 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x42, 0x11, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x50, 0x72, 0x6f,
438 0x6d, 0x70, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x6f, 0x6f, 0x67,
439 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
440 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
441 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32,
442 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65,
443 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x3b, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x62,
444 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
445 }
446
447 var (
448 file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDescOnce sync.Once
449 file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDescData = file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDesc
450 )
451
452 func file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDescGZIP() []byte {
453 file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDescOnce.Do(func() {
454 file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDescData)
455 })
456 return file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDescData
457 }
458
459 var file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
460 var file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_goTypes = []interface{}{
461 (*StaticPrompt)(nil),
462 (*StaticPrompt_StaticPromptCandidate)(nil),
463 (*StaticPrompt_Selector)(nil),
464 (*StaticPrompt_StaticPromptCandidate_StaticPromptResponse)(nil),
465 (*SurfaceCapabilities)(nil),
466 (*StaticSimplePrompt)(nil),
467 (*StaticContentPrompt)(nil),
468 (*Suggestion)(nil),
469 (*StaticLinkPrompt)(nil),
470 (*StaticCanvasPrompt)(nil),
471 }
472 var file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_depIdxs = []int32{
473 1,
474 2,
475 3,
476 4,
477 5,
478 6,
479 5,
480 7,
481 8,
482 9,
483 10,
484 10,
485 10,
486 10,
487 0,
488 }
489
490 func init() { file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_init() }
491 func file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_init() {
492 if File_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto != nil {
493 return
494 }
495 file_google_actions_sdk_v2_interactionmodel_prompt_content_static_canvas_prompt_proto_init()
496 file_google_actions_sdk_v2_interactionmodel_prompt_content_static_content_prompt_proto_init()
497 file_google_actions_sdk_v2_interactionmodel_prompt_content_static_link_prompt_proto_init()
498 file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_init()
499 file_google_actions_sdk_v2_interactionmodel_prompt_suggestion_proto_init()
500 file_google_actions_sdk_v2_interactionmodel_prompt_surface_capabilities_proto_init()
501 if !protoimpl.UnsafeEnabled {
502 file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
503 switch v := v.(*StaticPrompt); i {
504 case 0:
505 return &v.state
506 case 1:
507 return &v.sizeCache
508 case 2:
509 return &v.unknownFields
510 default:
511 return nil
512 }
513 }
514 file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
515 switch v := v.(*StaticPrompt_StaticPromptCandidate); i {
516 case 0:
517 return &v.state
518 case 1:
519 return &v.sizeCache
520 case 2:
521 return &v.unknownFields
522 default:
523 return nil
524 }
525 }
526 file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
527 switch v := v.(*StaticPrompt_Selector); i {
528 case 0:
529 return &v.state
530 case 1:
531 return &v.sizeCache
532 case 2:
533 return &v.unknownFields
534 default:
535 return nil
536 }
537 }
538 file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
539 switch v := v.(*StaticPrompt_StaticPromptCandidate_StaticPromptResponse); i {
540 case 0:
541 return &v.state
542 case 1:
543 return &v.sizeCache
544 case 2:
545 return &v.unknownFields
546 default:
547 return nil
548 }
549 }
550 }
551 type x struct{}
552 out := protoimpl.TypeBuilder{
553 File: protoimpl.DescBuilder{
554 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
555 RawDescriptor: file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDesc,
556 NumEnums: 0,
557 NumMessages: 4,
558 NumExtensions: 0,
559 NumServices: 0,
560 },
561 GoTypes: file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_goTypes,
562 DependencyIndexes: file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_depIdxs,
563 MessageInfos: file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_msgTypes,
564 }.Build()
565 File_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto = out.File
566 file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_rawDesc = nil
567 file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_goTypes = nil
568 file_google_actions_sdk_v2_interactionmodel_prompt_static_prompt_proto_depIdxs = nil
569 }
570
View as plain text