1// Copyright 2020 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 v3.12.2 19// source: google/actions/sdk/v2/conversation/prompt/content/media.proto 20 21package conversation 22 23import ( 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 32const ( 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. 40type Media_MediaType int32 41 42const ( 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. 52var ( 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 65func (x Media_MediaType) Enum() *Media_MediaType { 66 p := new(Media_MediaType) 67 *p = x 68 return p 69} 70 71func (x Media_MediaType) String() string { 72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 73} 74 75func (Media_MediaType) Descriptor() protoreflect.EnumDescriptor { 76 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_enumTypes[0].Descriptor() 77} 78 79func (Media_MediaType) Type() protoreflect.EnumType { 80 return &file_google_actions_sdk_v2_conversation_prompt_content_media_proto_enumTypes[0] 81} 82 83func (x Media_MediaType) Number() protoreflect.EnumNumber { 84 return protoreflect.EnumNumber(x) 85} 86 87// Deprecated: Use Media_MediaType.Descriptor instead. 88func (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 93type Media_OptionalMediaControls int32 94 95const ( 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. 106var ( 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 119func (x Media_OptionalMediaControls) Enum() *Media_OptionalMediaControls { 120 p := new(Media_OptionalMediaControls) 121 *p = x 122 return p 123} 124 125func (x Media_OptionalMediaControls) String() string { 126 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 127} 128 129func (Media_OptionalMediaControls) Descriptor() protoreflect.EnumDescriptor { 130 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_enumTypes[1].Descriptor() 131} 132 133func (Media_OptionalMediaControls) Type() protoreflect.EnumType { 134 return &file_google_actions_sdk_v2_conversation_prompt_content_media_proto_enumTypes[1] 135} 136 137func (x Media_OptionalMediaControls) Number() protoreflect.EnumNumber { 138 return protoreflect.EnumNumber(x) 139} 140 141// Deprecated: Use Media_OptionalMediaControls.Descriptor instead. 142func (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. 148type 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 166func (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 175func (x *Media) String() string { 176 return protoimpl.X.MessageStringOf(x) 177} 178 179func (*Media) ProtoMessage() {} 180 181func (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. 194func (*Media) Descriptor() ([]byte, []int) { 195 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescGZIP(), []int{0} 196} 197 198func (x *Media) GetMediaType() Media_MediaType { 199 if x != nil { 200 return x.MediaType 201 } 202 return Media_MEDIA_TYPE_UNSPECIFIED 203} 204 205func (x *Media) GetStartOffset() *durationpb.Duration { 206 if x != nil { 207 return x.StartOffset 208 } 209 return nil 210} 211 212func (x *Media) GetOptionalMediaControls() []Media_OptionalMediaControls { 213 if x != nil { 214 return x.OptionalMediaControls 215 } 216 return nil 217} 218 219func (x *Media) GetMediaObjects() []*MediaObject { 220 if x != nil { 221 return x.MediaObjects 222 } 223 return nil 224} 225 226// Represents a single media object 227type 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 242func (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 251func (x *MediaObject) String() string { 252 return protoimpl.X.MessageStringOf(x) 253} 254 255func (*MediaObject) ProtoMessage() {} 256 257func (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. 270func (*MediaObject) Descriptor() ([]byte, []int) { 271 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescGZIP(), []int{1} 272} 273 274func (x *MediaObject) GetName() string { 275 if x != nil { 276 return x.Name 277 } 278 return "" 279} 280 281func (x *MediaObject) GetDescription() string { 282 if x != nil { 283 return x.Description 284 } 285 return "" 286} 287 288func (x *MediaObject) GetUrl() string { 289 if x != nil { 290 return x.Url 291 } 292 return "" 293} 294 295func (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. 303type 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 // *MediaImage_Large 312 // *MediaImage_Icon 313 Image isMediaImage_Image `protobuf_oneof:"image"` 314} 315 316func (x *MediaImage) Reset() { 317 *x = MediaImage{} 318 if protoimpl.UnsafeEnabled { 319 mi := &file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[2] 320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 321 ms.StoreMessageInfo(mi) 322 } 323} 324 325func (x *MediaImage) String() string { 326 return protoimpl.X.MessageStringOf(x) 327} 328 329func (*MediaImage) ProtoMessage() {} 330 331func (x *MediaImage) ProtoReflect() protoreflect.Message { 332 mi := &file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[2] 333 if protoimpl.UnsafeEnabled && x != nil { 334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 335 if ms.LoadMessageInfo() == nil { 336 ms.StoreMessageInfo(mi) 337 } 338 return ms 339 } 340 return mi.MessageOf(x) 341} 342 343// Deprecated: Use MediaImage.ProtoReflect.Descriptor instead. 344func (*MediaImage) Descriptor() ([]byte, []int) { 345 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescGZIP(), []int{2} 346} 347 348func (m *MediaImage) GetImage() isMediaImage_Image { 349 if m != nil { 350 return m.Image 351 } 352 return nil 353} 354 355func (x *MediaImage) GetLarge() *Image { 356 if x, ok := x.GetImage().(*MediaImage_Large); ok { 357 return x.Large 358 } 359 return nil 360} 361 362func (x *MediaImage) GetIcon() *Image { 363 if x, ok := x.GetImage().(*MediaImage_Icon); ok { 364 return x.Icon 365 } 366 return nil 367} 368 369type isMediaImage_Image interface { 370 isMediaImage_Image() 371} 372 373type MediaImage_Large struct { 374 // A large image, such as the cover of the album, etc. 375 Large *Image `protobuf:"bytes,1,opt,name=large,proto3,oneof"` 376} 377 378type MediaImage_Icon struct { 379 // A small image icon displayed on the right from the title. 380 // It's resized to 36x36 dp. 381 Icon *Image `protobuf:"bytes,2,opt,name=icon,proto3,oneof"` 382} 383 384func (*MediaImage_Large) isMediaImage_Image() {} 385 386func (*MediaImage_Icon) isMediaImage_Image() {} 387 388var File_google_actions_sdk_v2_conversation_prompt_content_media_proto protoreflect.FileDescriptor 389 390var file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDesc = []byte{ 391 0x0a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 392 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 393 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 394 0x65, 0x6e, 0x74, 0x2f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 395 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 396 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 397 0x69, 0x6f, 0x6e, 0x1a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 398 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 399 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63, 400 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 401 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 402 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 403 0x74, 0x6f, 0x22, 0x8d, 0x04, 0x0a, 0x05, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x52, 0x0a, 0x0a, 404 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 405 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 406 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 407 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x4d, 0x65, 0x64, 0x69, 408 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 409 0x12, 0x3c, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 410 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 411 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 412 0x6e, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x77, 413 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x61, 414 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 415 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 416 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 417 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 418 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 419 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x43, 420 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x12, 0x54, 0x0a, 0x0d, 0x6d, 0x65, 0x64, 0x69, 0x61, 421 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 422 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 423 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 424 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 425 0x0c, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x22, 0x48, 0x0a, 426 0x09, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x45, 427 0x44, 0x49, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 428 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, 429 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 430 0x53, 0x5f, 0x41, 0x43, 0x4b, 0x10, 0x02, 0x22, 0x59, 0x0a, 0x15, 0x4f, 0x70, 0x74, 0x69, 0x6f, 431 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 432 0x12, 0x27, 0x0a, 0x23, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x5f, 0x4d, 0x45, 0x44, 433 0x49, 0x41, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 434 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x55, 435 0x53, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x45, 0x44, 436 0x10, 0x02, 0x22, 0x9b, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x4f, 0x62, 0x6a, 0x65, 437 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 438 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 439 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 440 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 441 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x44, 0x0a, 0x05, 0x69, 0x6d, 442 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 443 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 444 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 445 0x65, 0x64, 0x69, 0x61, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 446 0x22, 0x99, 0x01, 0x0a, 0x0a, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 447 0x41, 0x0a, 0x05, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 448 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 449 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 450 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x61, 0x72, 451 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 452 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 453 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 454 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x69, 455 0x63, 0x6f, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x86, 0x01, 0x0a, 456 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 457 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 458 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x50, 0x72, 459 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 460 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 461 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 462 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 463 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 464 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 465} 466 467var ( 468 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescOnce sync.Once 469 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescData = file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDesc 470) 471 472func file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescGZIP() []byte { 473 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescOnce.Do(func() { 474 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) 475 }) 476 return file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDescData 477} 478 479var file_google_actions_sdk_v2_conversation_prompt_content_media_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 480var file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 481var file_google_actions_sdk_v2_conversation_prompt_content_media_proto_goTypes = []interface{}{ 482 (Media_MediaType)(0), // 0: google.actions.sdk.v2.conversation.Media.MediaType 483 (Media_OptionalMediaControls)(0), // 1: google.actions.sdk.v2.conversation.Media.OptionalMediaControls 484 (*Media)(nil), // 2: google.actions.sdk.v2.conversation.Media 485 (*MediaObject)(nil), // 3: google.actions.sdk.v2.conversation.MediaObject 486 (*MediaImage)(nil), // 4: google.actions.sdk.v2.conversation.MediaImage 487 (*durationpb.Duration)(nil), // 5: google.protobuf.Duration 488 (*Image)(nil), // 6: google.actions.sdk.v2.conversation.Image 489} 490var file_google_actions_sdk_v2_conversation_prompt_content_media_proto_depIdxs = []int32{ 491 0, // 0: google.actions.sdk.v2.conversation.Media.media_type:type_name -> google.actions.sdk.v2.conversation.Media.MediaType 492 5, // 1: google.actions.sdk.v2.conversation.Media.start_offset:type_name -> google.protobuf.Duration 493 1, // 2: google.actions.sdk.v2.conversation.Media.optional_media_controls:type_name -> google.actions.sdk.v2.conversation.Media.OptionalMediaControls 494 3, // 3: google.actions.sdk.v2.conversation.Media.media_objects:type_name -> google.actions.sdk.v2.conversation.MediaObject 495 4, // 4: google.actions.sdk.v2.conversation.MediaObject.image:type_name -> google.actions.sdk.v2.conversation.MediaImage 496 6, // 5: google.actions.sdk.v2.conversation.MediaImage.large:type_name -> google.actions.sdk.v2.conversation.Image 497 6, // 6: google.actions.sdk.v2.conversation.MediaImage.icon:type_name -> google.actions.sdk.v2.conversation.Image 498 7, // [7:7] is the sub-list for method output_type 499 7, // [7:7] is the sub-list for method input_type 500 7, // [7:7] is the sub-list for extension type_name 501 7, // [7:7] is the sub-list for extension extendee 502 0, // [0:7] is the sub-list for field type_name 503} 504 505func init() { file_google_actions_sdk_v2_conversation_prompt_content_media_proto_init() } 506func file_google_actions_sdk_v2_conversation_prompt_content_media_proto_init() { 507 if File_google_actions_sdk_v2_conversation_prompt_content_media_proto != nil { 508 return 509 } 510 file_google_actions_sdk_v2_conversation_prompt_content_image_proto_init() 511 if !protoimpl.UnsafeEnabled { 512 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 513 switch v := v.(*Media); i { 514 case 0: 515 return &v.state 516 case 1: 517 return &v.sizeCache 518 case 2: 519 return &v.unknownFields 520 default: 521 return nil 522 } 523 } 524 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 525 switch v := v.(*MediaObject); i { 526 case 0: 527 return &v.state 528 case 1: 529 return &v.sizeCache 530 case 2: 531 return &v.unknownFields 532 default: 533 return nil 534 } 535 } 536 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 537 switch v := v.(*MediaImage); i { 538 case 0: 539 return &v.state 540 case 1: 541 return &v.sizeCache 542 case 2: 543 return &v.unknownFields 544 default: 545 return nil 546 } 547 } 548 } 549 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes[2].OneofWrappers = []interface{}{ 550 (*MediaImage_Large)(nil), 551 (*MediaImage_Icon)(nil), 552 } 553 type x struct{} 554 out := protoimpl.TypeBuilder{ 555 File: protoimpl.DescBuilder{ 556 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 557 RawDescriptor: file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDesc, 558 NumEnums: 2, 559 NumMessages: 3, 560 NumExtensions: 0, 561 NumServices: 0, 562 }, 563 GoTypes: file_google_actions_sdk_v2_conversation_prompt_content_media_proto_goTypes, 564 DependencyIndexes: file_google_actions_sdk_v2_conversation_prompt_content_media_proto_depIdxs, 565 EnumInfos: file_google_actions_sdk_v2_conversation_prompt_content_media_proto_enumTypes, 566 MessageInfos: file_google_actions_sdk_v2_conversation_prompt_content_media_proto_msgTypes, 567 }.Build() 568 File_google_actions_sdk_v2_conversation_prompt_content_media_proto = out.File 569 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_rawDesc = nil 570 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_goTypes = nil 571 file_google_actions_sdk_v2_conversation_prompt_content_media_proto_depIdxs = nil 572} 573