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/v2/common/asset_types.proto 20 21package common 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/v2/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 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" 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 YouTube asset. 47type YoutubeVideoAsset struct { 48 state protoimpl.MessageState 49 sizeCache protoimpl.SizeCache 50 unknownFields protoimpl.UnknownFields 51 52 // YouTube video id. This is the 11 character string value used in the 53 // YouTube video URL. 54 YoutubeVideoId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=youtube_video_id,json=youtubeVideoId,proto3" json:"youtube_video_id,omitempty"` 55} 56 57func (x *YoutubeVideoAsset) Reset() { 58 *x = YoutubeVideoAsset{} 59 if protoimpl.UnsafeEnabled { 60 mi := &file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[0] 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 62 ms.StoreMessageInfo(mi) 63 } 64} 65 66func (x *YoutubeVideoAsset) String() string { 67 return protoimpl.X.MessageStringOf(x) 68} 69 70func (*YoutubeVideoAsset) ProtoMessage() {} 71 72func (x *YoutubeVideoAsset) ProtoReflect() protoreflect.Message { 73 mi := &file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[0] 74 if protoimpl.UnsafeEnabled && x != nil { 75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 76 if ms.LoadMessageInfo() == nil { 77 ms.StoreMessageInfo(mi) 78 } 79 return ms 80 } 81 return mi.MessageOf(x) 82} 83 84// Deprecated: Use YoutubeVideoAsset.ProtoReflect.Descriptor instead. 85func (*YoutubeVideoAsset) Descriptor() ([]byte, []int) { 86 return file_google_ads_googleads_v2_common_asset_types_proto_rawDescGZIP(), []int{0} 87} 88 89func (x *YoutubeVideoAsset) GetYoutubeVideoId() *wrapperspb.StringValue { 90 if x != nil { 91 return x.YoutubeVideoId 92 } 93 return nil 94} 95 96// A MediaBundle asset. 97type MediaBundleAsset struct { 98 state protoimpl.MessageState 99 sizeCache protoimpl.SizeCache 100 unknownFields protoimpl.UnknownFields 101 102 // Media bundle (ZIP file) asset data. The format of the uploaded ZIP file 103 // depends on the ad field where it will be used. For more information on the 104 // format, see the documentation of the ad field where you plan on using the 105 // MediaBundleAsset. This field is mutate only. 106 Data *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 107} 108 109func (x *MediaBundleAsset) Reset() { 110 *x = MediaBundleAsset{} 111 if protoimpl.UnsafeEnabled { 112 mi := &file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[1] 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 ms.StoreMessageInfo(mi) 115 } 116} 117 118func (x *MediaBundleAsset) String() string { 119 return protoimpl.X.MessageStringOf(x) 120} 121 122func (*MediaBundleAsset) ProtoMessage() {} 123 124func (x *MediaBundleAsset) ProtoReflect() protoreflect.Message { 125 mi := &file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[1] 126 if protoimpl.UnsafeEnabled && x != nil { 127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 128 if ms.LoadMessageInfo() == nil { 129 ms.StoreMessageInfo(mi) 130 } 131 return ms 132 } 133 return mi.MessageOf(x) 134} 135 136// Deprecated: Use MediaBundleAsset.ProtoReflect.Descriptor instead. 137func (*MediaBundleAsset) Descriptor() ([]byte, []int) { 138 return file_google_ads_googleads_v2_common_asset_types_proto_rawDescGZIP(), []int{1} 139} 140 141func (x *MediaBundleAsset) GetData() *wrapperspb.BytesValue { 142 if x != nil { 143 return x.Data 144 } 145 return nil 146} 147 148// An Image asset. 149type ImageAsset struct { 150 state protoimpl.MessageState 151 sizeCache protoimpl.SizeCache 152 unknownFields protoimpl.UnknownFields 153 154 // The raw bytes data of an image. This field is mutate only. 155 Data *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 156 // File size of the image asset in bytes. 157 FileSize *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` 158 // MIME type of the image asset. 159 MimeType enums.MimeTypeEnum_MimeType `protobuf:"varint,3,opt,name=mime_type,json=mimeType,proto3,enum=google.ads.googleads.v2.enums.MimeTypeEnum_MimeType" json:"mime_type,omitempty"` 160 // Metadata for this image at its original size. 161 FullSize *ImageDimension `protobuf:"bytes,4,opt,name=full_size,json=fullSize,proto3" json:"full_size,omitempty"` 162} 163 164func (x *ImageAsset) Reset() { 165 *x = ImageAsset{} 166 if protoimpl.UnsafeEnabled { 167 mi := &file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[2] 168 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 169 ms.StoreMessageInfo(mi) 170 } 171} 172 173func (x *ImageAsset) String() string { 174 return protoimpl.X.MessageStringOf(x) 175} 176 177func (*ImageAsset) ProtoMessage() {} 178 179func (x *ImageAsset) ProtoReflect() protoreflect.Message { 180 mi := &file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[2] 181 if protoimpl.UnsafeEnabled && x != nil { 182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 183 if ms.LoadMessageInfo() == nil { 184 ms.StoreMessageInfo(mi) 185 } 186 return ms 187 } 188 return mi.MessageOf(x) 189} 190 191// Deprecated: Use ImageAsset.ProtoReflect.Descriptor instead. 192func (*ImageAsset) Descriptor() ([]byte, []int) { 193 return file_google_ads_googleads_v2_common_asset_types_proto_rawDescGZIP(), []int{2} 194} 195 196func (x *ImageAsset) GetData() *wrapperspb.BytesValue { 197 if x != nil { 198 return x.Data 199 } 200 return nil 201} 202 203func (x *ImageAsset) GetFileSize() *wrapperspb.Int64Value { 204 if x != nil { 205 return x.FileSize 206 } 207 return nil 208} 209 210func (x *ImageAsset) GetMimeType() enums.MimeTypeEnum_MimeType { 211 if x != nil { 212 return x.MimeType 213 } 214 return enums.MimeTypeEnum_UNSPECIFIED 215} 216 217func (x *ImageAsset) GetFullSize() *ImageDimension { 218 if x != nil { 219 return x.FullSize 220 } 221 return nil 222} 223 224// Metadata for an image at a certain size, either original or resized. 225type ImageDimension struct { 226 state protoimpl.MessageState 227 sizeCache protoimpl.SizeCache 228 unknownFields protoimpl.UnknownFields 229 230 // Height of the image. 231 HeightPixels *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=height_pixels,json=heightPixels,proto3" json:"height_pixels,omitempty"` 232 // Width of the image. 233 WidthPixels *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=width_pixels,json=widthPixels,proto3" json:"width_pixels,omitempty"` 234 // A URL that returns the image with this height and width. 235 Url *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` 236} 237 238func (x *ImageDimension) Reset() { 239 *x = ImageDimension{} 240 if protoimpl.UnsafeEnabled { 241 mi := &file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[3] 242 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 243 ms.StoreMessageInfo(mi) 244 } 245} 246 247func (x *ImageDimension) String() string { 248 return protoimpl.X.MessageStringOf(x) 249} 250 251func (*ImageDimension) ProtoMessage() {} 252 253func (x *ImageDimension) ProtoReflect() protoreflect.Message { 254 mi := &file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[3] 255 if protoimpl.UnsafeEnabled && x != nil { 256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 257 if ms.LoadMessageInfo() == nil { 258 ms.StoreMessageInfo(mi) 259 } 260 return ms 261 } 262 return mi.MessageOf(x) 263} 264 265// Deprecated: Use ImageDimension.ProtoReflect.Descriptor instead. 266func (*ImageDimension) Descriptor() ([]byte, []int) { 267 return file_google_ads_googleads_v2_common_asset_types_proto_rawDescGZIP(), []int{3} 268} 269 270func (x *ImageDimension) GetHeightPixels() *wrapperspb.Int64Value { 271 if x != nil { 272 return x.HeightPixels 273 } 274 return nil 275} 276 277func (x *ImageDimension) GetWidthPixels() *wrapperspb.Int64Value { 278 if x != nil { 279 return x.WidthPixels 280 } 281 return nil 282} 283 284func (x *ImageDimension) GetUrl() *wrapperspb.StringValue { 285 if x != nil { 286 return x.Url 287 } 288 return nil 289} 290 291// A Text asset. 292type TextAsset struct { 293 state protoimpl.MessageState 294 sizeCache protoimpl.SizeCache 295 unknownFields protoimpl.UnknownFields 296 297 // Text content of the text asset. 298 Text *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 299} 300 301func (x *TextAsset) Reset() { 302 *x = TextAsset{} 303 if protoimpl.UnsafeEnabled { 304 mi := &file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[4] 305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 306 ms.StoreMessageInfo(mi) 307 } 308} 309 310func (x *TextAsset) String() string { 311 return protoimpl.X.MessageStringOf(x) 312} 313 314func (*TextAsset) ProtoMessage() {} 315 316func (x *TextAsset) ProtoReflect() protoreflect.Message { 317 mi := &file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[4] 318 if protoimpl.UnsafeEnabled && x != nil { 319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 320 if ms.LoadMessageInfo() == nil { 321 ms.StoreMessageInfo(mi) 322 } 323 return ms 324 } 325 return mi.MessageOf(x) 326} 327 328// Deprecated: Use TextAsset.ProtoReflect.Descriptor instead. 329func (*TextAsset) Descriptor() ([]byte, []int) { 330 return file_google_ads_googleads_v2_common_asset_types_proto_rawDescGZIP(), []int{4} 331} 332 333func (x *TextAsset) GetText() *wrapperspb.StringValue { 334 if x != nil { 335 return x.Text 336 } 337 return nil 338} 339 340var File_google_ads_googleads_v2_common_asset_types_proto protoreflect.FileDescriptor 341 342var file_google_ads_googleads_v2_common_asset_types_proto_rawDesc = []byte{ 343 0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 344 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 345 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 346 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 347 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 348 0x6f, 0x6e, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 349 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 350 0x73, 0x2f, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 351 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 352 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 353 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 354 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 355 0x5b, 0x0a, 0x11, 0x59, 0x6f, 0x75, 0x74, 0x75, 0x62, 0x65, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 356 0x73, 0x73, 0x65, 0x74, 0x12, 0x46, 0x0a, 0x10, 0x79, 0x6f, 0x75, 0x74, 0x75, 0x62, 0x65, 0x5f, 357 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 358 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 359 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x79, 0x6f, 360 0x75, 0x74, 0x75, 0x62, 0x65, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x49, 0x64, 0x22, 0x43, 0x0a, 0x10, 361 0x4d, 0x65, 0x64, 0x69, 0x61, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 362 0x12, 0x2f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 363 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 364 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 365 0x61, 0x22, 0x97, 0x02, 0x0a, 0x0a, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 366 0x12, 0x2f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 367 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 368 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 369 0x61, 0x12, 0x38, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 370 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 371 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 372 0x65, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x51, 0x0a, 0x09, 0x6d, 373 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 374 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 375 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4d, 376 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x2e, 0x4d, 0x69, 0x6d, 0x65, 377 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4b, 378 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 379 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 380 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 381 0x6f, 0x6e, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 382 0x6e, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xc2, 0x01, 0x0a, 0x0e, 383 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 384 0x0a, 0x0d, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x70, 0x69, 0x78, 0x65, 0x6c, 0x73, 0x18, 385 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 386 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 387 0x75, 0x65, 0x52, 0x0c, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x50, 0x69, 0x78, 0x65, 0x6c, 0x73, 388 0x12, 0x3e, 0x0a, 0x0c, 0x77, 0x69, 0x64, 0x74, 0x68, 0x5f, 0x70, 0x69, 0x78, 0x65, 0x6c, 0x73, 389 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 390 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 391 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x77, 0x69, 0x64, 0x74, 0x68, 0x50, 0x69, 0x78, 0x65, 0x6c, 0x73, 392 0x12, 0x2e, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 393 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 394 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x03, 0x75, 0x72, 0x6c, 395 0x22, 0x3d, 0x0a, 0x09, 0x54, 0x65, 0x78, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x30, 0x0a, 396 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 397 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 398 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x42, 399 0xea, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 400 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x32, 0x2e, 401 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x42, 0x0f, 0x41, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 402 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 403 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 404 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 405 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 406 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0xa2, 407 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 408 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x2e, 0x56, 0x32, 0x2e, 409 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 410 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x32, 411 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 412 0x3a, 0x3a, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 413 0x3a, 0x3a, 0x56, 0x32, 0x3a, 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 414 0x6f, 0x74, 0x6f, 0x33, 415} 416 417var ( 418 file_google_ads_googleads_v2_common_asset_types_proto_rawDescOnce sync.Once 419 file_google_ads_googleads_v2_common_asset_types_proto_rawDescData = file_google_ads_googleads_v2_common_asset_types_proto_rawDesc 420) 421 422func file_google_ads_googleads_v2_common_asset_types_proto_rawDescGZIP() []byte { 423 file_google_ads_googleads_v2_common_asset_types_proto_rawDescOnce.Do(func() { 424 file_google_ads_googleads_v2_common_asset_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v2_common_asset_types_proto_rawDescData) 425 }) 426 return file_google_ads_googleads_v2_common_asset_types_proto_rawDescData 427} 428 429var file_google_ads_googleads_v2_common_asset_types_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 430var file_google_ads_googleads_v2_common_asset_types_proto_goTypes = []interface{}{ 431 (*YoutubeVideoAsset)(nil), // 0: google.ads.googleads.v2.common.YoutubeVideoAsset 432 (*MediaBundleAsset)(nil), // 1: google.ads.googleads.v2.common.MediaBundleAsset 433 (*ImageAsset)(nil), // 2: google.ads.googleads.v2.common.ImageAsset 434 (*ImageDimension)(nil), // 3: google.ads.googleads.v2.common.ImageDimension 435 (*TextAsset)(nil), // 4: google.ads.googleads.v2.common.TextAsset 436 (*wrapperspb.StringValue)(nil), // 5: google.protobuf.StringValue 437 (*wrapperspb.BytesValue)(nil), // 6: google.protobuf.BytesValue 438 (*wrapperspb.Int64Value)(nil), // 7: google.protobuf.Int64Value 439 (enums.MimeTypeEnum_MimeType)(0), // 8: google.ads.googleads.v2.enums.MimeTypeEnum.MimeType 440} 441var file_google_ads_googleads_v2_common_asset_types_proto_depIdxs = []int32{ 442 5, // 0: google.ads.googleads.v2.common.YoutubeVideoAsset.youtube_video_id:type_name -> google.protobuf.StringValue 443 6, // 1: google.ads.googleads.v2.common.MediaBundleAsset.data:type_name -> google.protobuf.BytesValue 444 6, // 2: google.ads.googleads.v2.common.ImageAsset.data:type_name -> google.protobuf.BytesValue 445 7, // 3: google.ads.googleads.v2.common.ImageAsset.file_size:type_name -> google.protobuf.Int64Value 446 8, // 4: google.ads.googleads.v2.common.ImageAsset.mime_type:type_name -> google.ads.googleads.v2.enums.MimeTypeEnum.MimeType 447 3, // 5: google.ads.googleads.v2.common.ImageAsset.full_size:type_name -> google.ads.googleads.v2.common.ImageDimension 448 7, // 6: google.ads.googleads.v2.common.ImageDimension.height_pixels:type_name -> google.protobuf.Int64Value 449 7, // 7: google.ads.googleads.v2.common.ImageDimension.width_pixels:type_name -> google.protobuf.Int64Value 450 5, // 8: google.ads.googleads.v2.common.ImageDimension.url:type_name -> google.protobuf.StringValue 451 5, // 9: google.ads.googleads.v2.common.TextAsset.text:type_name -> google.protobuf.StringValue 452 10, // [10:10] is the sub-list for method output_type 453 10, // [10:10] is the sub-list for method input_type 454 10, // [10:10] is the sub-list for extension type_name 455 10, // [10:10] is the sub-list for extension extendee 456 0, // [0:10] is the sub-list for field type_name 457} 458 459func init() { file_google_ads_googleads_v2_common_asset_types_proto_init() } 460func file_google_ads_googleads_v2_common_asset_types_proto_init() { 461 if File_google_ads_googleads_v2_common_asset_types_proto != nil { 462 return 463 } 464 if !protoimpl.UnsafeEnabled { 465 file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 466 switch v := v.(*YoutubeVideoAsset); i { 467 case 0: 468 return &v.state 469 case 1: 470 return &v.sizeCache 471 case 2: 472 return &v.unknownFields 473 default: 474 return nil 475 } 476 } 477 file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 478 switch v := v.(*MediaBundleAsset); i { 479 case 0: 480 return &v.state 481 case 1: 482 return &v.sizeCache 483 case 2: 484 return &v.unknownFields 485 default: 486 return nil 487 } 488 } 489 file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 490 switch v := v.(*ImageAsset); i { 491 case 0: 492 return &v.state 493 case 1: 494 return &v.sizeCache 495 case 2: 496 return &v.unknownFields 497 default: 498 return nil 499 } 500 } 501 file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 502 switch v := v.(*ImageDimension); i { 503 case 0: 504 return &v.state 505 case 1: 506 return &v.sizeCache 507 case 2: 508 return &v.unknownFields 509 default: 510 return nil 511 } 512 } 513 file_google_ads_googleads_v2_common_asset_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 514 switch v := v.(*TextAsset); i { 515 case 0: 516 return &v.state 517 case 1: 518 return &v.sizeCache 519 case 2: 520 return &v.unknownFields 521 default: 522 return nil 523 } 524 } 525 } 526 type x struct{} 527 out := protoimpl.TypeBuilder{ 528 File: protoimpl.DescBuilder{ 529 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 530 RawDescriptor: file_google_ads_googleads_v2_common_asset_types_proto_rawDesc, 531 NumEnums: 0, 532 NumMessages: 5, 533 NumExtensions: 0, 534 NumServices: 0, 535 }, 536 GoTypes: file_google_ads_googleads_v2_common_asset_types_proto_goTypes, 537 DependencyIndexes: file_google_ads_googleads_v2_common_asset_types_proto_depIdxs, 538 MessageInfos: file_google_ads_googleads_v2_common_asset_types_proto_msgTypes, 539 }.Build() 540 File_google_ads_googleads_v2_common_asset_types_proto = out.File 541 file_google_ads_googleads_v2_common_asset_types_proto_rawDesc = nil 542 file_google_ads_googleads_v2_common_asset_types_proto_goTypes = nil 543 file_google_ads_googleads_v2_common_asset_types_proto_depIdxs = nil 544} 545