blob: ed91eb5e358c80975cd5603c751a36217faed67d [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/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/v1/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_f84b8dff1cc51362, []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_f84b8dff1cc51362, []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.v1.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_f84b8dff1cc51362, []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_f84b8dff1cc51362, []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_f84b8dff1cc51362, []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.v1.common.YoutubeVideoAsset")
proto.RegisterType((*MediaBundleAsset)(nil), "google.ads.googleads.v1.common.MediaBundleAsset")
proto.RegisterType((*ImageAsset)(nil), "google.ads.googleads.v1.common.ImageAsset")
proto.RegisterType((*ImageDimension)(nil), "google.ads.googleads.v1.common.ImageDimension")
proto.RegisterType((*TextAsset)(nil), "google.ads.googleads.v1.common.TextAsset")
}
func init() {
proto.RegisterFile("google/ads/googleads/v1/common/asset_types.proto", fileDescriptor_f84b8dff1cc51362)
}
var fileDescriptor_f84b8dff1cc51362 = []byte{
// 537 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0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