| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/common/asset_types.proto |
| |
| package common |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // A YouTube asset. |
| type YoutubeVideoAsset struct { |
| // YouTube video id. This is the 11 character string value used in the |
| // YouTube video URL. |
| YoutubeVideoId *wrappers.StringValue `protobuf:"bytes,1,opt,name=youtube_video_id,json=youtubeVideoId,proto3" json:"youtube_video_id,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *YoutubeVideoAsset) Reset() { *m = YoutubeVideoAsset{} } |
| func (m *YoutubeVideoAsset) String() string { return proto.CompactTextString(m) } |
| func (*YoutubeVideoAsset) ProtoMessage() {} |
| func (*YoutubeVideoAsset) Descriptor() ([]byte, []int) { |
| return fileDescriptor_07f28a97711f0ef9, []int{0} |
| } |
| |
| func (m *YoutubeVideoAsset) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_YoutubeVideoAsset.Unmarshal(m, b) |
| } |
| func (m *YoutubeVideoAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_YoutubeVideoAsset.Marshal(b, m, deterministic) |
| } |
| func (m *YoutubeVideoAsset) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_YoutubeVideoAsset.Merge(m, src) |
| } |
| func (m *YoutubeVideoAsset) XXX_Size() int { |
| return xxx_messageInfo_YoutubeVideoAsset.Size(m) |
| } |
| func (m *YoutubeVideoAsset) XXX_DiscardUnknown() { |
| xxx_messageInfo_YoutubeVideoAsset.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_YoutubeVideoAsset proto.InternalMessageInfo |
| |
| func (m *YoutubeVideoAsset) GetYoutubeVideoId() *wrappers.StringValue { |
| if m != nil { |
| return m.YoutubeVideoId |
| } |
| return nil |
| } |
| |
| // A MediaBundle asset. |
| type MediaBundleAsset struct { |
| // Media bundle (ZIP file) asset data. The format of the uploaded ZIP file |
| // depends on the ad field where it will be used. For more information on the |
| // format, see the documentation of the ad field where you plan on using the |
| // MediaBundleAsset. This field is mutate only. |
| Data *wrappers.BytesValue `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MediaBundleAsset) Reset() { *m = MediaBundleAsset{} } |
| func (m *MediaBundleAsset) String() string { return proto.CompactTextString(m) } |
| func (*MediaBundleAsset) ProtoMessage() {} |
| func (*MediaBundleAsset) Descriptor() ([]byte, []int) { |
| return fileDescriptor_07f28a97711f0ef9, []int{1} |
| } |
| |
| func (m *MediaBundleAsset) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MediaBundleAsset.Unmarshal(m, b) |
| } |
| func (m *MediaBundleAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MediaBundleAsset.Marshal(b, m, deterministic) |
| } |
| func (m *MediaBundleAsset) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MediaBundleAsset.Merge(m, src) |
| } |
| func (m *MediaBundleAsset) XXX_Size() int { |
| return xxx_messageInfo_MediaBundleAsset.Size(m) |
| } |
| func (m *MediaBundleAsset) XXX_DiscardUnknown() { |
| xxx_messageInfo_MediaBundleAsset.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MediaBundleAsset proto.InternalMessageInfo |
| |
| func (m *MediaBundleAsset) GetData() *wrappers.BytesValue { |
| if m != nil { |
| return m.Data |
| } |
| return nil |
| } |
| |
| // An Image asset. |
| type ImageAsset struct { |
| // The raw bytes data of an image. This field is mutate only. |
| Data *wrappers.BytesValue `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` |
| // File size of the image asset in bytes. |
| FileSize *wrappers.Int64Value `protobuf:"bytes,2,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` |
| // MIME type of the image asset. |
| MimeType enums.MimeTypeEnum_MimeType `protobuf:"varint,3,opt,name=mime_type,json=mimeType,proto3,enum=google.ads.googleads.v3.enums.MimeTypeEnum_MimeType" json:"mime_type,omitempty"` |
| // Metadata for this image at its original size. |
| FullSize *ImageDimension `protobuf:"bytes,4,opt,name=full_size,json=fullSize,proto3" json:"full_size,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ImageAsset) Reset() { *m = ImageAsset{} } |
| func (m *ImageAsset) String() string { return proto.CompactTextString(m) } |
| func (*ImageAsset) ProtoMessage() {} |
| func (*ImageAsset) Descriptor() ([]byte, []int) { |
| return fileDescriptor_07f28a97711f0ef9, []int{2} |
| } |
| |
| func (m *ImageAsset) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ImageAsset.Unmarshal(m, b) |
| } |
| func (m *ImageAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ImageAsset.Marshal(b, m, deterministic) |
| } |
| func (m *ImageAsset) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ImageAsset.Merge(m, src) |
| } |
| func (m *ImageAsset) XXX_Size() int { |
| return xxx_messageInfo_ImageAsset.Size(m) |
| } |
| func (m *ImageAsset) XXX_DiscardUnknown() { |
| xxx_messageInfo_ImageAsset.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ImageAsset proto.InternalMessageInfo |
| |
| func (m *ImageAsset) GetData() *wrappers.BytesValue { |
| if m != nil { |
| return m.Data |
| } |
| return nil |
| } |
| |
| func (m *ImageAsset) GetFileSize() *wrappers.Int64Value { |
| if m != nil { |
| return m.FileSize |
| } |
| return nil |
| } |
| |
| func (m *ImageAsset) GetMimeType() enums.MimeTypeEnum_MimeType { |
| if m != nil { |
| return m.MimeType |
| } |
| return enums.MimeTypeEnum_UNSPECIFIED |
| } |
| |
| func (m *ImageAsset) GetFullSize() *ImageDimension { |
| if m != nil { |
| return m.FullSize |
| } |
| return nil |
| } |
| |
| // Metadata for an image at a certain size, either original or resized. |
| type ImageDimension struct { |
| // Height of the image. |
| HeightPixels *wrappers.Int64Value `protobuf:"bytes,1,opt,name=height_pixels,json=heightPixels,proto3" json:"height_pixels,omitempty"` |
| // Width of the image. |
| WidthPixels *wrappers.Int64Value `protobuf:"bytes,2,opt,name=width_pixels,json=widthPixels,proto3" json:"width_pixels,omitempty"` |
| // A URL that returns the image with this height and width. |
| Url *wrappers.StringValue `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ImageDimension) Reset() { *m = ImageDimension{} } |
| func (m *ImageDimension) String() string { return proto.CompactTextString(m) } |
| func (*ImageDimension) ProtoMessage() {} |
| func (*ImageDimension) Descriptor() ([]byte, []int) { |
| return fileDescriptor_07f28a97711f0ef9, []int{3} |
| } |
| |
| func (m *ImageDimension) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ImageDimension.Unmarshal(m, b) |
| } |
| func (m *ImageDimension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ImageDimension.Marshal(b, m, deterministic) |
| } |
| func (m *ImageDimension) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ImageDimension.Merge(m, src) |
| } |
| func (m *ImageDimension) XXX_Size() int { |
| return xxx_messageInfo_ImageDimension.Size(m) |
| } |
| func (m *ImageDimension) XXX_DiscardUnknown() { |
| xxx_messageInfo_ImageDimension.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ImageDimension proto.InternalMessageInfo |
| |
| func (m *ImageDimension) GetHeightPixels() *wrappers.Int64Value { |
| if m != nil { |
| return m.HeightPixels |
| } |
| return nil |
| } |
| |
| func (m *ImageDimension) GetWidthPixels() *wrappers.Int64Value { |
| if m != nil { |
| return m.WidthPixels |
| } |
| return nil |
| } |
| |
| func (m *ImageDimension) GetUrl() *wrappers.StringValue { |
| if m != nil { |
| return m.Url |
| } |
| return nil |
| } |
| |
| // A Text asset. |
| type TextAsset struct { |
| // Text content of the text asset. |
| Text *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *TextAsset) Reset() { *m = TextAsset{} } |
| func (m *TextAsset) String() string { return proto.CompactTextString(m) } |
| func (*TextAsset) ProtoMessage() {} |
| func (*TextAsset) Descriptor() ([]byte, []int) { |
| return fileDescriptor_07f28a97711f0ef9, []int{4} |
| } |
| |
| func (m *TextAsset) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_TextAsset.Unmarshal(m, b) |
| } |
| func (m *TextAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_TextAsset.Marshal(b, m, deterministic) |
| } |
| func (m *TextAsset) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_TextAsset.Merge(m, src) |
| } |
| func (m *TextAsset) XXX_Size() int { |
| return xxx_messageInfo_TextAsset.Size(m) |
| } |
| func (m *TextAsset) XXX_DiscardUnknown() { |
| xxx_messageInfo_TextAsset.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_TextAsset proto.InternalMessageInfo |
| |
| func (m *TextAsset) GetText() *wrappers.StringValue { |
| if m != nil { |
| return m.Text |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*YoutubeVideoAsset)(nil), "google.ads.googleads.v3.common.YoutubeVideoAsset") |
| proto.RegisterType((*MediaBundleAsset)(nil), "google.ads.googleads.v3.common.MediaBundleAsset") |
| proto.RegisterType((*ImageAsset)(nil), "google.ads.googleads.v3.common.ImageAsset") |
| proto.RegisterType((*ImageDimension)(nil), "google.ads.googleads.v3.common.ImageDimension") |
| proto.RegisterType((*TextAsset)(nil), "google.ads.googleads.v3.common.TextAsset") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/common/asset_types.proto", fileDescriptor_07f28a97711f0ef9) |
| } |
| |
| var fileDescriptor_07f28a97711f0ef9 = []byte{ |
| // 537 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x41, 0x6b, 0xdb, 0x30, |
| 0x14, 0xc7, 0x71, 0x12, 0x46, 0xa2, 0x76, 0x59, 0xe7, 0x53, 0xc8, 0x4a, 0x29, 0x3e, 0xf5, 0x32, |
| 0xb9, 0xd4, 0x65, 0x0c, 0x8f, 0x8d, 0x39, 0xed, 0x56, 0xc2, 0x28, 0x64, 0x69, 0x09, 0x6c, 0x0b, |
| 0x04, 0xa5, 0x7a, 0x71, 0x04, 0x96, 0x64, 0x2c, 0x39, 0x4d, 0xfa, 0x45, 0x76, 0xdf, 0x71, 0x1f, |
| 0x63, 0xc7, 0x7d, 0x94, 0x7e, 0x8a, 0x61, 0xc9, 0x09, 0x1d, 0xc3, 0x6b, 0xe9, 0xc9, 0xcf, 0xd2, |
| 0xff, 0xff, 0xd3, 0xd3, 0x7b, 0x4f, 0xe8, 0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