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.25.0 18// protoc v3.13.0 19// source: google/ads/googleads/v6/resources/media_file.proto 20 21package resources 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 enums "google.golang.org/genproto/googleapis/ads/googleads/v6/enums" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 31 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 32) 33 34const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39) 40 41// This is a compile-time assertion that a sufficiently up-to-date version 42// of the legacy proto package is being used. 43const _ = proto.ProtoPackageIsVersion4 44 45// A media file. 46type MediaFile struct { 47 state protoimpl.MessageState 48 sizeCache protoimpl.SizeCache 49 unknownFields protoimpl.UnknownFields 50 51 // Immutable. The resource name of the media file. 52 // Media file resource names have the form: 53 // 54 // `customers/{customer_id}/mediaFiles/{media_file_id}` 55 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 56 // Output only. The ID of the media file. 57 Id *int64 `protobuf:"varint,12,opt,name=id,proto3,oneof" json:"id,omitempty"` 58 // Immutable. Type of the media file. 59 Type enums.MediaTypeEnum_MediaType `protobuf:"varint,5,opt,name=type,proto3,enum=google.ads.googleads.v6.enums.MediaTypeEnum_MediaType" json:"type,omitempty"` 60 // Output only. The mime type of the media file. 61 MimeType enums.MimeTypeEnum_MimeType `protobuf:"varint,6,opt,name=mime_type,json=mimeType,proto3,enum=google.ads.googleads.v6.enums.MimeTypeEnum_MimeType" json:"mime_type,omitempty"` 62 // Immutable. The URL of where the original media file was downloaded from (or a file 63 // name). Only used for media of type AUDIO and IMAGE. 64 SourceUrl *string `protobuf:"bytes,13,opt,name=source_url,json=sourceUrl,proto3,oneof" json:"source_url,omitempty"` 65 // Immutable. The name of the media file. The name can be used by clients to help 66 // identify previously uploaded media. 67 Name *string `protobuf:"bytes,14,opt,name=name,proto3,oneof" json:"name,omitempty"` 68 // Output only. The size of the media file in bytes. 69 FileSize *int64 `protobuf:"varint,15,opt,name=file_size,json=fileSize,proto3,oneof" json:"file_size,omitempty"` 70 // The specific type of the media file. 71 // 72 // Types that are assignable to Mediatype: 73 // *MediaFile_Image 74 // *MediaFile_MediaBundle 75 // *MediaFile_Audio 76 // *MediaFile_Video 77 Mediatype isMediaFile_Mediatype `protobuf_oneof:"mediatype"` 78} 79 80func (x *MediaFile) Reset() { 81 *x = MediaFile{} 82 if protoimpl.UnsafeEnabled { 83 mi := &file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[0] 84 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 85 ms.StoreMessageInfo(mi) 86 } 87} 88 89func (x *MediaFile) String() string { 90 return protoimpl.X.MessageStringOf(x) 91} 92 93func (*MediaFile) ProtoMessage() {} 94 95func (x *MediaFile) ProtoReflect() protoreflect.Message { 96 mi := &file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[0] 97 if protoimpl.UnsafeEnabled && x != nil { 98 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 99 if ms.LoadMessageInfo() == nil { 100 ms.StoreMessageInfo(mi) 101 } 102 return ms 103 } 104 return mi.MessageOf(x) 105} 106 107// Deprecated: Use MediaFile.ProtoReflect.Descriptor instead. 108func (*MediaFile) Descriptor() ([]byte, []int) { 109 return file_google_ads_googleads_v6_resources_media_file_proto_rawDescGZIP(), []int{0} 110} 111 112func (x *MediaFile) GetResourceName() string { 113 if x != nil { 114 return x.ResourceName 115 } 116 return "" 117} 118 119func (x *MediaFile) GetId() int64 { 120 if x != nil && x.Id != nil { 121 return *x.Id 122 } 123 return 0 124} 125 126func (x *MediaFile) GetType() enums.MediaTypeEnum_MediaType { 127 if x != nil { 128 return x.Type 129 } 130 return enums.MediaTypeEnum_UNSPECIFIED 131} 132 133func (x *MediaFile) GetMimeType() enums.MimeTypeEnum_MimeType { 134 if x != nil { 135 return x.MimeType 136 } 137 return enums.MimeTypeEnum_UNSPECIFIED 138} 139 140func (x *MediaFile) GetSourceUrl() string { 141 if x != nil && x.SourceUrl != nil { 142 return *x.SourceUrl 143 } 144 return "" 145} 146 147func (x *MediaFile) GetName() string { 148 if x != nil && x.Name != nil { 149 return *x.Name 150 } 151 return "" 152} 153 154func (x *MediaFile) GetFileSize() int64 { 155 if x != nil && x.FileSize != nil { 156 return *x.FileSize 157 } 158 return 0 159} 160 161func (m *MediaFile) GetMediatype() isMediaFile_Mediatype { 162 if m != nil { 163 return m.Mediatype 164 } 165 return nil 166} 167 168func (x *MediaFile) GetImage() *MediaImage { 169 if x, ok := x.GetMediatype().(*MediaFile_Image); ok { 170 return x.Image 171 } 172 return nil 173} 174 175func (x *MediaFile) GetMediaBundle() *MediaBundle { 176 if x, ok := x.GetMediatype().(*MediaFile_MediaBundle); ok { 177 return x.MediaBundle 178 } 179 return nil 180} 181 182func (x *MediaFile) GetAudio() *MediaAudio { 183 if x, ok := x.GetMediatype().(*MediaFile_Audio); ok { 184 return x.Audio 185 } 186 return nil 187} 188 189func (x *MediaFile) GetVideo() *MediaVideo { 190 if x, ok := x.GetMediatype().(*MediaFile_Video); ok { 191 return x.Video 192 } 193 return nil 194} 195 196type isMediaFile_Mediatype interface { 197 isMediaFile_Mediatype() 198} 199 200type MediaFile_Image struct { 201 // Immutable. Encapsulates an Image. 202 Image *MediaImage `protobuf:"bytes,3,opt,name=image,proto3,oneof"` 203} 204 205type MediaFile_MediaBundle struct { 206 // Immutable. A ZIP archive media the content of which contains HTML5 assets. 207 MediaBundle *MediaBundle `protobuf:"bytes,4,opt,name=media_bundle,json=mediaBundle,proto3,oneof"` 208} 209 210type MediaFile_Audio struct { 211 // Output only. Encapsulates an Audio. 212 Audio *MediaAudio `protobuf:"bytes,10,opt,name=audio,proto3,oneof"` 213} 214 215type MediaFile_Video struct { 216 // Immutable. Encapsulates a Video. 217 Video *MediaVideo `protobuf:"bytes,11,opt,name=video,proto3,oneof"` 218} 219 220func (*MediaFile_Image) isMediaFile_Mediatype() {} 221 222func (*MediaFile_MediaBundle) isMediaFile_Mediatype() {} 223 224func (*MediaFile_Audio) isMediaFile_Mediatype() {} 225 226func (*MediaFile_Video) isMediaFile_Mediatype() {} 227 228// Encapsulates an Image. 229type MediaImage struct { 230 state protoimpl.MessageState 231 sizeCache protoimpl.SizeCache 232 unknownFields protoimpl.UnknownFields 233 234 // Immutable. Raw image data. 235 Data []byte `protobuf:"bytes,4,opt,name=data,proto3,oneof" json:"data,omitempty"` 236 // Output only. The url to the full size version of the image. 237 FullSizeImageUrl *string `protobuf:"bytes,2,opt,name=full_size_image_url,json=fullSizeImageUrl,proto3,oneof" json:"full_size_image_url,omitempty"` 238 // Output only. The url to the preview size version of the image. 239 PreviewSizeImageUrl *string `protobuf:"bytes,3,opt,name=preview_size_image_url,json=previewSizeImageUrl,proto3,oneof" json:"preview_size_image_url,omitempty"` 240} 241 242func (x *MediaImage) Reset() { 243 *x = MediaImage{} 244 if protoimpl.UnsafeEnabled { 245 mi := &file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[1] 246 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 247 ms.StoreMessageInfo(mi) 248 } 249} 250 251func (x *MediaImage) String() string { 252 return protoimpl.X.MessageStringOf(x) 253} 254 255func (*MediaImage) ProtoMessage() {} 256 257func (x *MediaImage) ProtoReflect() protoreflect.Message { 258 mi := &file_google_ads_googleads_v6_resources_media_file_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 MediaImage.ProtoReflect.Descriptor instead. 270func (*MediaImage) Descriptor() ([]byte, []int) { 271 return file_google_ads_googleads_v6_resources_media_file_proto_rawDescGZIP(), []int{1} 272} 273 274func (x *MediaImage) GetData() []byte { 275 if x != nil { 276 return x.Data 277 } 278 return nil 279} 280 281func (x *MediaImage) GetFullSizeImageUrl() string { 282 if x != nil && x.FullSizeImageUrl != nil { 283 return *x.FullSizeImageUrl 284 } 285 return "" 286} 287 288func (x *MediaImage) GetPreviewSizeImageUrl() string { 289 if x != nil && x.PreviewSizeImageUrl != nil { 290 return *x.PreviewSizeImageUrl 291 } 292 return "" 293} 294 295// Represents a ZIP archive media the content of which contains HTML5 assets. 296type MediaBundle struct { 297 state protoimpl.MessageState 298 sizeCache protoimpl.SizeCache 299 unknownFields protoimpl.UnknownFields 300 301 // Immutable. Raw zipped data. 302 Data []byte `protobuf:"bytes,3,opt,name=data,proto3,oneof" json:"data,omitempty"` 303 // Output only. The url to access the uploaded zipped data. 304 // E.g. https://tpc.googlesyndication.com/simgad/123 305 // This field is read-only. 306 Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"` 307} 308 309func (x *MediaBundle) Reset() { 310 *x = MediaBundle{} 311 if protoimpl.UnsafeEnabled { 312 mi := &file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[2] 313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 314 ms.StoreMessageInfo(mi) 315 } 316} 317 318func (x *MediaBundle) String() string { 319 return protoimpl.X.MessageStringOf(x) 320} 321 322func (*MediaBundle) ProtoMessage() {} 323 324func (x *MediaBundle) ProtoReflect() protoreflect.Message { 325 mi := &file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[2] 326 if protoimpl.UnsafeEnabled && x != nil { 327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 328 if ms.LoadMessageInfo() == nil { 329 ms.StoreMessageInfo(mi) 330 } 331 return ms 332 } 333 return mi.MessageOf(x) 334} 335 336// Deprecated: Use MediaBundle.ProtoReflect.Descriptor instead. 337func (*MediaBundle) Descriptor() ([]byte, []int) { 338 return file_google_ads_googleads_v6_resources_media_file_proto_rawDescGZIP(), []int{2} 339} 340 341func (x *MediaBundle) GetData() []byte { 342 if x != nil { 343 return x.Data 344 } 345 return nil 346} 347 348func (x *MediaBundle) GetUrl() string { 349 if x != nil && x.Url != nil { 350 return *x.Url 351 } 352 return "" 353} 354 355// Encapsulates an Audio. 356type MediaAudio struct { 357 state protoimpl.MessageState 358 sizeCache protoimpl.SizeCache 359 unknownFields protoimpl.UnknownFields 360 361 // Output only. The duration of the Audio in milliseconds. 362 AdDurationMillis *int64 `protobuf:"varint,2,opt,name=ad_duration_millis,json=adDurationMillis,proto3,oneof" json:"ad_duration_millis,omitempty"` 363} 364 365func (x *MediaAudio) Reset() { 366 *x = MediaAudio{} 367 if protoimpl.UnsafeEnabled { 368 mi := &file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[3] 369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 370 ms.StoreMessageInfo(mi) 371 } 372} 373 374func (x *MediaAudio) String() string { 375 return protoimpl.X.MessageStringOf(x) 376} 377 378func (*MediaAudio) ProtoMessage() {} 379 380func (x *MediaAudio) ProtoReflect() protoreflect.Message { 381 mi := &file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[3] 382 if protoimpl.UnsafeEnabled && x != nil { 383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 384 if ms.LoadMessageInfo() == nil { 385 ms.StoreMessageInfo(mi) 386 } 387 return ms 388 } 389 return mi.MessageOf(x) 390} 391 392// Deprecated: Use MediaAudio.ProtoReflect.Descriptor instead. 393func (*MediaAudio) Descriptor() ([]byte, []int) { 394 return file_google_ads_googleads_v6_resources_media_file_proto_rawDescGZIP(), []int{3} 395} 396 397func (x *MediaAudio) GetAdDurationMillis() int64 { 398 if x != nil && x.AdDurationMillis != nil { 399 return *x.AdDurationMillis 400 } 401 return 0 402} 403 404// Encapsulates a Video. 405type MediaVideo struct { 406 state protoimpl.MessageState 407 sizeCache protoimpl.SizeCache 408 unknownFields protoimpl.UnknownFields 409 410 // Output only. The duration of the Video in milliseconds. 411 AdDurationMillis *int64 `protobuf:"varint,5,opt,name=ad_duration_millis,json=adDurationMillis,proto3,oneof" json:"ad_duration_millis,omitempty"` 412 // Immutable. The YouTube video ID (as seen in YouTube URLs). 413 YoutubeVideoId *string `protobuf:"bytes,6,opt,name=youtube_video_id,json=youtubeVideoId,proto3,oneof" json:"youtube_video_id,omitempty"` 414 // Output only. The Advertising Digital Identification code for this video, as defined by 415 // the American Association of Advertising Agencies, used mainly for 416 // television commercials. 417 AdvertisingIdCode *string `protobuf:"bytes,7,opt,name=advertising_id_code,json=advertisingIdCode,proto3,oneof" json:"advertising_id_code,omitempty"` 418 // Output only. The Industry Standard Commercial Identifier code for this video, used 419 // mainly for television commercials. 420 IsciCode *string `protobuf:"bytes,8,opt,name=isci_code,json=isciCode,proto3,oneof" json:"isci_code,omitempty"` 421} 422 423func (x *MediaVideo) Reset() { 424 *x = MediaVideo{} 425 if protoimpl.UnsafeEnabled { 426 mi := &file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[4] 427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 428 ms.StoreMessageInfo(mi) 429 } 430} 431 432func (x *MediaVideo) String() string { 433 return protoimpl.X.MessageStringOf(x) 434} 435 436func (*MediaVideo) ProtoMessage() {} 437 438func (x *MediaVideo) ProtoReflect() protoreflect.Message { 439 mi := &file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[4] 440 if protoimpl.UnsafeEnabled && x != nil { 441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 442 if ms.LoadMessageInfo() == nil { 443 ms.StoreMessageInfo(mi) 444 } 445 return ms 446 } 447 return mi.MessageOf(x) 448} 449 450// Deprecated: Use MediaVideo.ProtoReflect.Descriptor instead. 451func (*MediaVideo) Descriptor() ([]byte, []int) { 452 return file_google_ads_googleads_v6_resources_media_file_proto_rawDescGZIP(), []int{4} 453} 454 455func (x *MediaVideo) GetAdDurationMillis() int64 { 456 if x != nil && x.AdDurationMillis != nil { 457 return *x.AdDurationMillis 458 } 459 return 0 460} 461 462func (x *MediaVideo) GetYoutubeVideoId() string { 463 if x != nil && x.YoutubeVideoId != nil { 464 return *x.YoutubeVideoId 465 } 466 return "" 467} 468 469func (x *MediaVideo) GetAdvertisingIdCode() string { 470 if x != nil && x.AdvertisingIdCode != nil { 471 return *x.AdvertisingIdCode 472 } 473 return "" 474} 475 476func (x *MediaVideo) GetIsciCode() string { 477 if x != nil && x.IsciCode != nil { 478 return *x.IsciCode 479 } 480 return "" 481} 482 483var File_google_ads_googleads_v6_resources_media_file_proto protoreflect.FileDescriptor 484 485var file_google_ads_googleads_v6_resources_media_file_proto_rawDesc = []byte{ 486 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 487 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x36, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 488 0x63, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 489 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 490 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x36, 0x2e, 0x72, 0x65, 491 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 492 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x36, 493 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x74, 0x79, 0x70, 494 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 495 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x36, 496 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2f, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 497 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 498 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 499 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 500 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 501 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 502 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 503 0x22, 0xe2, 0x06, 0x0a, 0x09, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x4f, 504 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 505 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x67, 506 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 507 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x46, 0x69, 0x6c, 508 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 509 0x18, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 510 0x48, 0x01, 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, 0x01, 0x12, 0x4f, 0x0a, 0x04, 0x74, 0x79, 0x70, 511 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 512 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 513 0x36, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 514 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x42, 515 0x03, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x56, 0x0a, 0x09, 0x6d, 0x69, 516 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 517 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 518 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x36, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4d, 0x69, 519 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x2e, 0x4d, 0x69, 0x6d, 0x65, 0x54, 520 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 521 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x6c, 522 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x02, 0x52, 0x09, 0x73, 523 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x04, 0x6e, 524 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x03, 525 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x09, 0x66, 0x69, 0x6c, 526 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 527 0x03, 0x48, 0x04, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x88, 0x01, 0x01, 528 0x12, 0x4a, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 529 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 530 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x36, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 531 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x03, 532 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x58, 0x0a, 0x0c, 533 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 534 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 535 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x36, 0x2e, 0x72, 0x65, 0x73, 536 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x42, 0x75, 0x6e, 0x64, 537 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x0b, 0x6d, 0x65, 0x64, 0x69, 0x61, 538 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x4a, 0x0a, 0x05, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x18, 539 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 540 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x36, 0x2e, 541 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x41, 542 0x75, 0x64, 0x69, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 0x05, 0x61, 0x75, 0x64, 543 0x69, 0x6f, 0x12, 0x4a, 0x0a, 0x05, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 544 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 545 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x36, 0x2e, 0x72, 0x65, 0x73, 0x6f, 546 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x56, 0x69, 0x64, 0x65, 0x6f, 547 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x05, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x3a, 0x5b, 548 0xea, 0x41, 0x58, 0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 549 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x65, 550 0x64, 0x69, 0x61, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x32, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 551 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 552 0x2f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x6d, 0x65, 0x64, 553 0x69, 0x61, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x42, 0x0b, 0x0a, 0x09, 0x6d, 554 0x65, 0x64, 0x69, 0x61, 0x74, 0x79, 0x70, 0x65, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x69, 0x64, 0x42, 555 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x42, 0x07, 556 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x6c, 0x65, 557 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x22, 0xde, 0x01, 0x0a, 0x0a, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 558 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 559 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x88, 560 0x01, 0x01, 0x12, 0x37, 0x0a, 0x13, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 561 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 562 0x03, 0xe0, 0x41, 0x03, 0x48, 0x01, 0x52, 0x10, 0x66, 0x75, 0x6c, 0x6c, 0x53, 0x69, 0x7a, 0x65, 563 0x49, 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x3d, 0x0a, 0x16, 0x70, 564 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 565 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 566 0x48, 0x02, 0x52, 0x13, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x69, 0x7a, 0x65, 0x49, 567 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x64, 568 0x61, 0x74, 0x61, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 569 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x42, 0x19, 0x0a, 0x17, 0x5f, 570 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x69, 0x6d, 0x61, 571 0x67, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x58, 0x0a, 0x0b, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x42, 572 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 573 0x01, 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 574 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 575 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x01, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 576 0x07, 0x0a, 0x05, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 577 0x22, 0x5b, 0x0a, 0x0a, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x12, 0x36, 578 0x0a, 0x12, 0x61, 0x64, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x69, 579 0x6c, 0x6c, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 580 0x00, 0x52, 0x10, 0x61, 0x64, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6c, 581 0x6c, 0x69, 0x73, 0x88, 0x01, 0x01, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x61, 0x64, 0x5f, 0x64, 0x75, 582 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x22, 0xab, 0x02, 583 0x0a, 0x0a, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x12, 0x36, 0x0a, 0x12, 584 0x61, 0x64, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 585 0x69, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 586 0x10, 0x61, 0x64, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 587 0x73, 0x88, 0x01, 0x01, 0x12, 0x32, 0x0a, 0x10, 0x79, 0x6f, 0x75, 0x74, 0x75, 0x62, 0x65, 0x5f, 588 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 589 0xe0, 0x41, 0x05, 0x48, 0x01, 0x52, 0x0e, 0x79, 0x6f, 0x75, 0x74, 0x75, 0x62, 0x65, 0x56, 0x69, 590 0x64, 0x65, 0x6f, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x38, 0x0a, 0x13, 0x61, 0x64, 0x76, 0x65, 591 0x72, 0x74, 0x69, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 592 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x02, 0x52, 0x11, 0x61, 0x64, 593 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x88, 594 0x01, 0x01, 0x12, 0x25, 0x0a, 0x09, 0x69, 0x73, 0x63, 0x69, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 595 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x03, 0x52, 0x08, 0x69, 0x73, 596 0x63, 0x69, 0x43, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x61, 0x64, 597 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 598 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x79, 0x6f, 0x75, 0x74, 0x75, 0x62, 0x65, 0x5f, 0x76, 0x69, 0x64, 599 0x65, 0x6f, 0x5f, 0x69, 0x64, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 600 0x69, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0c, 0x0a, 601 0x0a, 0x5f, 0x69, 0x73, 0x63, 0x69, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x42, 0xfb, 0x01, 0x0a, 0x25, 602 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 603 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x36, 0x2e, 0x72, 0x65, 0x73, 0x6f, 604 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x0e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x46, 0x69, 0x6c, 0x65, 605 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 606 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 607 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 608 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x36, 0x2f, 609 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x3b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 610 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 611 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 612 0x2e, 0x56, 0x36, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xca, 0x02, 0x21, 613 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 614 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x36, 0x5c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 615 0x73, 0xea, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x73, 0x3a, 616 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56, 0x36, 0x3a, 0x3a, 617 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 618 0x33, 619} 620 621var ( 622 file_google_ads_googleads_v6_resources_media_file_proto_rawDescOnce sync.Once 623 file_google_ads_googleads_v6_resources_media_file_proto_rawDescData = file_google_ads_googleads_v6_resources_media_file_proto_rawDesc 624) 625 626func file_google_ads_googleads_v6_resources_media_file_proto_rawDescGZIP() []byte { 627 file_google_ads_googleads_v6_resources_media_file_proto_rawDescOnce.Do(func() { 628 file_google_ads_googleads_v6_resources_media_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v6_resources_media_file_proto_rawDescData) 629 }) 630 return file_google_ads_googleads_v6_resources_media_file_proto_rawDescData 631} 632 633var file_google_ads_googleads_v6_resources_media_file_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 634var file_google_ads_googleads_v6_resources_media_file_proto_goTypes = []interface{}{ 635 (*MediaFile)(nil), // 0: google.ads.googleads.v6.resources.MediaFile 636 (*MediaImage)(nil), // 1: google.ads.googleads.v6.resources.MediaImage 637 (*MediaBundle)(nil), // 2: google.ads.googleads.v6.resources.MediaBundle 638 (*MediaAudio)(nil), // 3: google.ads.googleads.v6.resources.MediaAudio 639 (*MediaVideo)(nil), // 4: google.ads.googleads.v6.resources.MediaVideo 640 (enums.MediaTypeEnum_MediaType)(0), // 5: google.ads.googleads.v6.enums.MediaTypeEnum.MediaType 641 (enums.MimeTypeEnum_MimeType)(0), // 6: google.ads.googleads.v6.enums.MimeTypeEnum.MimeType 642} 643var file_google_ads_googleads_v6_resources_media_file_proto_depIdxs = []int32{ 644 5, // 0: google.ads.googleads.v6.resources.MediaFile.type:type_name -> google.ads.googleads.v6.enums.MediaTypeEnum.MediaType 645 6, // 1: google.ads.googleads.v6.resources.MediaFile.mime_type:type_name -> google.ads.googleads.v6.enums.MimeTypeEnum.MimeType 646 1, // 2: google.ads.googleads.v6.resources.MediaFile.image:type_name -> google.ads.googleads.v6.resources.MediaImage 647 2, // 3: google.ads.googleads.v6.resources.MediaFile.media_bundle:type_name -> google.ads.googleads.v6.resources.MediaBundle 648 3, // 4: google.ads.googleads.v6.resources.MediaFile.audio:type_name -> google.ads.googleads.v6.resources.MediaAudio 649 4, // 5: google.ads.googleads.v6.resources.MediaFile.video:type_name -> google.ads.googleads.v6.resources.MediaVideo 650 6, // [6:6] is the sub-list for method output_type 651 6, // [6:6] is the sub-list for method input_type 652 6, // [6:6] is the sub-list for extension type_name 653 6, // [6:6] is the sub-list for extension extendee 654 0, // [0:6] is the sub-list for field type_name 655} 656 657func init() { file_google_ads_googleads_v6_resources_media_file_proto_init() } 658func file_google_ads_googleads_v6_resources_media_file_proto_init() { 659 if File_google_ads_googleads_v6_resources_media_file_proto != nil { 660 return 661 } 662 if !protoimpl.UnsafeEnabled { 663 file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 664 switch v := v.(*MediaFile); i { 665 case 0: 666 return &v.state 667 case 1: 668 return &v.sizeCache 669 case 2: 670 return &v.unknownFields 671 default: 672 return nil 673 } 674 } 675 file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 676 switch v := v.(*MediaImage); i { 677 case 0: 678 return &v.state 679 case 1: 680 return &v.sizeCache 681 case 2: 682 return &v.unknownFields 683 default: 684 return nil 685 } 686 } 687 file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 688 switch v := v.(*MediaBundle); i { 689 case 0: 690 return &v.state 691 case 1: 692 return &v.sizeCache 693 case 2: 694 return &v.unknownFields 695 default: 696 return nil 697 } 698 } 699 file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 700 switch v := v.(*MediaAudio); i { 701 case 0: 702 return &v.state 703 case 1: 704 return &v.sizeCache 705 case 2: 706 return &v.unknownFields 707 default: 708 return nil 709 } 710 } 711 file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 712 switch v := v.(*MediaVideo); i { 713 case 0: 714 return &v.state 715 case 1: 716 return &v.sizeCache 717 case 2: 718 return &v.unknownFields 719 default: 720 return nil 721 } 722 } 723 } 724 file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[0].OneofWrappers = []interface{}{ 725 (*MediaFile_Image)(nil), 726 (*MediaFile_MediaBundle)(nil), 727 (*MediaFile_Audio)(nil), 728 (*MediaFile_Video)(nil), 729 } 730 file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[1].OneofWrappers = []interface{}{} 731 file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[2].OneofWrappers = []interface{}{} 732 file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[3].OneofWrappers = []interface{}{} 733 file_google_ads_googleads_v6_resources_media_file_proto_msgTypes[4].OneofWrappers = []interface{}{} 734 type x struct{} 735 out := protoimpl.TypeBuilder{ 736 File: protoimpl.DescBuilder{ 737 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 738 RawDescriptor: file_google_ads_googleads_v6_resources_media_file_proto_rawDesc, 739 NumEnums: 0, 740 NumMessages: 5, 741 NumExtensions: 0, 742 NumServices: 0, 743 }, 744 GoTypes: file_google_ads_googleads_v6_resources_media_file_proto_goTypes, 745 DependencyIndexes: file_google_ads_googleads_v6_resources_media_file_proto_depIdxs, 746 MessageInfos: file_google_ads_googleads_v6_resources_media_file_proto_msgTypes, 747 }.Build() 748 File_google_ads_googleads_v6_resources_media_file_proto = out.File 749 file_google_ads_googleads_v6_resources_media_file_proto_rawDesc = nil 750 file_google_ads_googleads_v6_resources_media_file_proto_goTypes = nil 751 file_google_ads_googleads_v6_resources_media_file_proto_depIdxs = nil 752} 753