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