Debian Codegraph @

googleapis/actions/sdk/v2/conversation/media.pb.go

raw symbols SCIP
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v4.24.4
19 // source: google/actions/sdk/v2/conversation/prompt/content/media.proto
20
21 package conversation
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 durationpb "google.golang.org/protobuf/types/known/durationpb"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Media type of this response.
40 type Media_MediaType int32
41
42 const (
43 // Unspecified media type.
44 Media_MEDIA_TYPE_UNSPECIFIED Media_MediaType = 0
45 // Audio file.
46 Media_AUDIO Media_MediaType = 1
47 // Response to acknowledge a media status report.
48 Media_MEDIA_STATUS_ACK Media_MediaType = 2
49 )
50
51 // Enum value maps for Media_MediaType.
52 var (
53 Media_MediaType_name = map[int32]string{
54 0: "MEDIA_TYPE_UNSPECIFIED",
55 1: "AUDIO",
56 2: "MEDIA_STATUS_ACK",
57 }
58 Media_MediaType_value = map[string]int32{
59 "MEDIA_TYPE_UNSPECIFIED": 0,
60 "AUDIO": 1,
61 "MEDIA_STATUS_ACK": 2,
62 }
63 )
64
65 func (x Media_MediaType) Enum() *Media_MediaType {
66 p := new(Media_MediaType)
67 *p = x
68 return p
69 }
70
71 func (x Media_MediaType) String() string {
72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73 }
74
75 func (Media_MediaType) Descriptor() protoreflect.EnumDescriptor {
76 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_enumTypes[0].Descriptor()
77 }
78
79 func (Media_MediaType) Type() protoreflect.EnumType {
80 return &file_google_actions_sdk_v2_conversation_prompt_content_media_proto_enumTypes[0]
81 }
82
83 func (x Media_MediaType) Number() protoreflect.EnumNumber {
84 return protoreflect.EnumNumber(x)
85 }
86
87 // Deprecated: Use Media_MediaType.Descriptor instead.
88 func (Media_MediaType) EnumDescriptor() ([]byte, []int) {
89 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescGZIP(), []int{0, 0}
90 }
91
92 // Optional media control types the media response can support
93 type Media_OptionalMediaControls int32
94
95 const (
96 // Unspecified value
97 Media_OPTIONAL_MEDIA_CONTROLS_UNSPECIFIED Media_OptionalMediaControls = 0
98 // Paused event. Triggered when user pauses the media.
99 Media_PAUSED Media_OptionalMediaControls = 1
100 // Stopped event. Triggered when user exits out of 3p session during media
101 // play.
102 Media_STOPPED Media_OptionalMediaControls = 2
103 )
104
105 // Enum value maps for Media_OptionalMediaControls.
106 var (
107 Media_OptionalMediaControls_name = map[int32]string{
108 0: "OPTIONAL_MEDIA_CONTROLS_UNSPECIFIED",
109 1: "PAUSED",
110 2: "STOPPED",
111 }
112 Media_OptionalMediaControls_value = map[string]int32{
113 "OPTIONAL_MEDIA_CONTROLS_UNSPECIFIED": 0,
114 "PAUSED": 1,
115 "STOPPED": 2,
116 }
117 )
118
119 func (x Media_OptionalMediaControls) Enum() *Media_OptionalMediaControls {
120 p := new(Media_OptionalMediaControls)
121 *p = x
122 return p
123 }
124
125 func (x Media_OptionalMediaControls) String() string {
126 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
127 }
128
129 func (Media_OptionalMediaControls) Descriptor() protoreflect.EnumDescriptor {
130 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_enumTypes[1].Descriptor()
131 }
132
133 func (Media_OptionalMediaControls) Type() protoreflect.EnumType {
134 return &file_google_actions_sdk_v2_conversation_prompt_content_media_proto_enumTypes[1]
135 }
136
137 func (x Media_OptionalMediaControls) Number() protoreflect.EnumNumber {
138 return protoreflect.EnumNumber(x)
139 }
140
141 // Deprecated: Use Media_OptionalMediaControls.Descriptor instead.
142 func (Media_OptionalMediaControls) EnumDescriptor() ([]byte, []int) {
143 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescGZIP(), []int{0, 1}
144 }
145
146 // Represents one media object.
147 // Contains information about the media, such as name, description, url, etc.
148 type Media struct {
149 state protoimpl.MessageState
150 sizeCache protoimpl.SizeCache
151 unknownFields protoimpl.UnknownFields
152
153 // Media type.
154 MediaType Media_MediaType `protobuf:"varint,8,opt,name=media_type,json=mediaType,proto3,enum=google.actions.sdk.v2.conversation.Media_MediaType" json:"media_type,omitempty"`
155 // Start offset of the first media object.
156 StartOffset *durationpb.Duration `protobuf:"bytes,5,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
157 // Optional media control types this media response session can support.
158 // If set, request will be made to 3p when a certain media event happens.
159 // If not set, 3p must still handle two default control type, FINISHED and
160 // FAILED.
161 OptionalMediaControls []Media_OptionalMediaControls `protobuf:"varint,6,rep,packed,name=optional_media_controls,json=optionalMediaControls,proto3,enum=google.actions.sdk.v2.conversation.Media_OptionalMediaControls" json:"optional_media_controls,omitempty"`
162 // List of Media Objects
163 MediaObjects []*MediaObject `protobuf:"bytes,7,rep,name=media_objects,json=mediaObjects,proto3" json:"media_objects,omitempty"`
164 }
165
166 func (x *Media) Reset() {
167 *x = Media{}
168 if protoimpl.UnsafeEnabled {
169 mi := &file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[0]
170 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
171 ms.StoreMessageInfo(mi)
172 }
173 }
174
175 func (x *Media) String() string {
176 return protoimpl.X.MessageStringOf(x)
177 }
178
179 func (*Media) ProtoMessage() {}
180
181 func (x *Media) ProtoReflect() protoreflect.Message {
182 mi := &file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[0]
183 if protoimpl.UnsafeEnabled && x != nil {
184 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
185 if ms.LoadMessageInfo() == nil {
186 ms.StoreMessageInfo(mi)
187 }
188 return ms
189 }
190 return mi.MessageOf(x)
191 }
192
193 // Deprecated: Use Media.ProtoReflect.Descriptor instead.
194 func (*Media) Descriptor() ([]byte, []int) {
195 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescGZIP(), []int{0}
196 }
197
198 func (x *Media) GetMediaType() Media_MediaType {
199 if x != nil {
200 return x.MediaType
201 }
202 return Media_MEDIA_TYPE_UNSPECIFIED
203 }
204
205 func (x *Media) GetStartOffset() *durationpb.Duration {
206 if x != nil {
207 return x.StartOffset
208 }
209 return nil
210 }
211
212 func (x *Media) GetOptionalMediaControls() []Media_OptionalMediaControls {
213 if x != nil {
214 return x.OptionalMediaControls
215 }
216 return nil
217 }
218
219 func (x *Media) GetMediaObjects() []*MediaObject {
220 if x != nil {
221 return x.MediaObjects
222 }
223 return nil
224 }
225
226 // Represents a single media object
227 type MediaObject struct {
228 state protoimpl.MessageState
229 sizeCache protoimpl.SizeCache
230 unknownFields protoimpl.UnknownFields
231
232 // Name of this media object.
233 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
234 // Description of this media object.
235 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
236 // The url pointing to the media content.
237 Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
238 // Image to show with the media card.
239 Image *MediaImage `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
240 }
241
242 func (x *MediaObject) Reset() {
243 *x = MediaObject{}
244 if protoimpl.UnsafeEnabled {
245 mi := &file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[1]
246 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
247 ms.StoreMessageInfo(mi)
248 }
249 }
250
251 func (x *MediaObject) String() string {
252 return protoimpl.X.MessageStringOf(x)
253 }
254
255 func (*MediaObject) ProtoMessage() {}
256
257 func (x *MediaObject) ProtoReflect() protoreflect.Message {
258 mi := &file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[1]
259 if protoimpl.UnsafeEnabled && x != nil {
260 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
261 if ms.LoadMessageInfo() == nil {
262 ms.StoreMessageInfo(mi)
263 }
264 return ms
265 }
266 return mi.MessageOf(x)
267 }
268
269 // Deprecated: Use MediaObject.ProtoReflect.Descriptor instead.
270 func (*MediaObject) Descriptor() ([]byte, []int) {
271 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescGZIP(), []int{1}
272 }
273
274 func (x *MediaObject) GetName() string {
275 if x != nil {
276 return x.Name
277 }
278 return ""
279 }
280
281 func (x *MediaObject) GetDescription() string {
282 if x != nil {
283 return x.Description
284 }
285 return ""
286 }
287
288 func (x *MediaObject) GetUrl() string {
289 if x != nil {
290 return x.Url
291 }
292 return ""
293 }
294
295 func (x *MediaObject) GetImage() *MediaImage {
296 if x != nil {
297 return x.Image
298 }
299 return nil
300 }
301
302 // Image to show with the media card.
303 type MediaImage struct {
304 state protoimpl.MessageState
305 sizeCache protoimpl.SizeCache
306 unknownFields protoimpl.UnknownFields
307
308 // Image.
309 //
310 // Types that are assignable to Image:
311 //
312 // *MediaImage_Large
313 // *MediaImage_Icon
314 Image isMediaImage_Image `protobuf_oneof:"image"`
315 }
316
317 func (x *MediaImage) Reset() {
318 *x = MediaImage{}
319 if protoimpl.UnsafeEnabled {
320 mi := &file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[2]
321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322 ms.StoreMessageInfo(mi)
323 }
324 }
325
326 func (x *MediaImage) String() string {
327 return protoimpl.X.MessageStringOf(x)
328 }
329
330 func (*MediaImage) ProtoMessage() {}
331
332 func (x *MediaImage) ProtoReflect() protoreflect.Message {
333 mi := &file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[2]
334 if protoimpl.UnsafeEnabled && x != nil {
335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
336 if ms.LoadMessageInfo() == nil {
337 ms.StoreMessageInfo(mi)
338 }
339 return ms
340 }
341 return mi.MessageOf(x)
342 }
343
344 // Deprecated: Use MediaImage.ProtoReflect.Descriptor instead.
345 func (*MediaImage) Descriptor() ([]byte, []int) {
346 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescGZIP(), []int{2}
347 }
348
349 func (m *MediaImage) GetImage() isMediaImage_Image {
350 if m != nil {
351 return m.Image
352 }
353 return nil
354 }
355
356 func (x *MediaImage) GetLarge() *Image {
357 if x, ok := x.GetImage().(*MediaImage_Large); ok {
358 return x.Large
359 }
360 return nil
361 }
362
363 func (x *MediaImage) GetIcon() *Image {
364 if x, ok := x.GetImage().(*MediaImage_Icon); ok {
365 return x.Icon
366 }
367 return nil
368 }
369
370 type isMediaImage_Image interface {
371 isMediaImage_Image()
372 }
373
374 type MediaImage_Large struct {
375 // A large image, such as the cover of the album, etc.
376 Large *Image `protobuf:"bytes,1,opt,name=large,proto3,oneof"`
377 }
378
379 type MediaImage_Icon struct {
380 // A small image icon displayed on the right from the title.
381 // It's resized to 36x36 dp.
382 Icon *Image `protobuf:"bytes,2,opt,name=icon,proto3,oneof"`
383 }
384
385 func (*MediaImage_Large) isMediaImage_Image() {}
386
387 func (*MediaImage_Icon) isMediaImage_Image() {}
388
389 var File_google_actions_sdk_v2_conversation_prompt_content_media_proto protoreflect.FileDescriptor
390
391 var file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDesc = []byte{
392 0x0a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
393 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
394 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74,
395 0x65, 0x6e, 0x74, 0x2f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
396 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
397 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74,
398 0x69, 0x6f, 0x6e, 0x1a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69,
399 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65,
400 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63,
401 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f,
402 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
403 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
404 0x74, 0x6f, 0x22, 0x8d, 0x04, 0x0a, 0x05, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x52, 0x0a, 0x0a,
405 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e,
406 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
407 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
408 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x4d, 0x65, 0x64, 0x69,
409 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65,
410 0x12, 0x3c, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
411 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
412 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
413 0x6e, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x77,
414 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x61,
415 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32,
416 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
417 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
418 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f,
419 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73,
420 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x43,
421 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x12, 0x54, 0x0a, 0x0d, 0x6d, 0x65, 0x64, 0x69, 0x61,
422 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f,
423 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
424 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74,
425 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52,
426 0x0c, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x22, 0x48, 0x0a,
427 0x09, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x45,
428 0x44, 0x49, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
429 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10,
430 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55,
431 0x53, 0x5f, 0x41, 0x43, 0x4b, 0x10, 0x02, 0x22, 0x59, 0x0a, 0x15, 0x4f, 0x70, 0x74, 0x69, 0x6f,
432 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73,
433 0x12, 0x27, 0x0a, 0x23, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x5f, 0x4d, 0x45, 0x44,
434 0x49, 0x41, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50,
435 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x55,
436 0x53, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x45, 0x44,
437 0x10, 0x02, 0x22, 0x9b, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x4f, 0x62, 0x6a, 0x65,
438 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
439 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
440 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
441 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18,
442 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x44, 0x0a, 0x05, 0x69, 0x6d,
443 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
444 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76,
445 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d,
446 0x65, 0x64, 0x69, 0x61, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65,
447 0x22, 0x99, 0x01, 0x0a, 0x0a, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12,
448 0x41, 0x0a, 0x05, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29,
449 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
450 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74,
451 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x61, 0x72,
452 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
453 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
454 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
455 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x69,
456 0x63, 0x6f, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x86, 0x01, 0x0a,
457 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69,
458 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65,
459 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x50, 0x72,
460 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
461 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74,
462 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74,
463 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76,
464 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
465 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
466 }
467
468 var (
469 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescOnce sync.Once
470 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescData = file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDesc
471 )
472
473 func file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescGZIP() []byte {
474 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescOnce.Do(func() {
475 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescData)
476 })
477 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescData
478 }
479
480 var file_google_actions_sdk_v2_conversation_prompt_content_media_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
481 var file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
482 var file_google_actions_sdk_v2_conversation_prompt_content_media_proto_goTypes = []interface{}{
483 (Media_MediaType)(0), // 0: google.actions.sdk.v2.conversation.Media.MediaType
484 (Media_OptionalMediaControls)(0), // 1: google.actions.sdk.v2.conversation.Media.OptionalMediaControls
485 (*Media)(nil), // 2: google.actions.sdk.v2.conversation.Media
486 (*MediaObject)(nil), // 3: google.actions.sdk.v2.conversation.MediaObject
487 (*MediaImage)(nil), // 4: google.actions.sdk.v2.conversation.MediaImage
488 (*durationpb.Duration)(nil), // 5: google.protobuf.Duration
489 (*Image)(nil), // 6: google.actions.sdk.v2.conversation.Image
490 }
491 var file_google_actions_sdk_v2_conversation_prompt_content_media_proto_depIdxs = []int32{
492 0, // 0: google.actions.sdk.v2.conversation.Media.media_type:type_name -> google.actions.sdk.v2.conversation.Media.MediaType
493 5, // 1: google.actions.sdk.v2.conversation.Media.start_offset:type_name -> google.protobuf.Duration
494 1, // 2: google.actions.sdk.v2.conversation.Media.optional_media_controls:type_name -> google.actions.sdk.v2.conversation.Media.OptionalMediaControls
495 3, // 3: google.actions.sdk.v2.conversation.Media.media_objects:type_name -> google.actions.sdk.v2.conversation.MediaObject
496 4, // 4: google.actions.sdk.v2.conversation.MediaObject.image:type_name -> google.actions.sdk.v2.conversation.MediaImage
497 6, // 5: google.actions.sdk.v2.conversation.MediaImage.large:type_name -> google.actions.sdk.v2.conversation.Image
498 6, // 6: google.actions.sdk.v2.conversation.MediaImage.icon:type_name -> google.actions.sdk.v2.conversation.Image
499 7, // [7:7] is the sub-list for method output_type
500 7, // [7:7] is the sub-list for method input_type
501 7, // [7:7] is the sub-list for extension type_name
502 7, // [7:7] is the sub-list for extension extendee
503 0, // [0:7] is the sub-list for field type_name
504 }
505
506 func init() { file_google_actions_sdk_v2_conversation_prompt_content_media_proto_init() }
507 func file_google_actions_sdk_v2_conversation_prompt_content_media_proto_init() {
508 if File_google_actions_sdk_v2_conversation_prompt_content_media_proto != nil {
509 return
510 }
511 file_google_actions_sdk_v2_conversation_prompt_content_image_proto_init()
512 if !protoimpl.UnsafeEnabled {
513 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
514 switch v := v.(*Media); i {
515 case 0:
516 return &v.state
517 case 1:
518 return &v.sizeCache
519 case 2:
520 return &v.unknownFields
521 default:
522 return nil
523 }
524 }
525 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
526 switch v := v.(*MediaObject); i {
527 case 0:
528 return &v.state
529 case 1:
530 return &v.sizeCache
531 case 2:
532 return &v.unknownFields
533 default:
534 return nil
535 }
536 }
537 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
538 switch v := v.(*MediaImage); i {
539 case 0:
540 return &v.state
541 case 1:
542 return &v.sizeCache
543 case 2:
544 return &v.unknownFields
545 default:
546 return nil
547 }
548 }
549 }
550 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[2].OneofWrappers = []interface{}{
551 (*MediaImage_Large)(nil),
552 (*MediaImage_Icon)(nil),
553 }
554 type x struct{}
555 out := protoimpl.TypeBuilder{
556 File: protoimpl.DescBuilder{
557 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
558 RawDescriptor: file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDesc,
559 NumEnums: 2,
560 NumMessages: 3,
561 NumExtensions: 0,
562 NumServices: 0,
563 },
564 GoTypes: file_google_actions_sdk_v2_conversation_prompt_content_media_proto_goTypes,
565 DependencyIndexes: file_google_actions_sdk_v2_conversation_prompt_content_media_proto_depIdxs,
566 EnumInfos: file_google_actions_sdk_v2_conversation_prompt_content_media_proto_enumTypes,
567 MessageInfos: file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes,
568 }.Build()
569 File_google_actions_sdk_v2_conversation_prompt_content_media_proto = out.File
570 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDesc = nil
571 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_goTypes = nil
572 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_depIdxs = nil
573 }