1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v1/common/asset_types.proto
3
4package common
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	wrappers "github.com/golang/protobuf/ptypes/wrappers"
12	enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14)
15
16// Reference imports to suppress errors if they are not otherwise used.
17var _ = proto.Marshal
18var _ = fmt.Errorf
19var _ = math.Inf
20
21// This is a compile-time assertion to ensure that this generated file
22// is compatible with the proto package it is being compiled against.
23// A compilation error at this line likely means your copy of the
24// proto package needs to be updated.
25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
26
27// A YouTube asset.
28type YoutubeVideoAsset struct {
29	// YouTube video id. This is the 11 character string value used in the
30	// YouTube video URL.
31	YoutubeVideoId       *wrappers.StringValue `protobuf:"bytes,1,opt,name=youtube_video_id,json=youtubeVideoId,proto3" json:"youtube_video_id,omitempty"`
32	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
33	XXX_unrecognized     []byte                `json:"-"`
34	XXX_sizecache        int32                 `json:"-"`
35}
36
37func (m *YoutubeVideoAsset) Reset()         { *m = YoutubeVideoAsset{} }
38func (m *YoutubeVideoAsset) String() string { return proto.CompactTextString(m) }
39func (*YoutubeVideoAsset) ProtoMessage()    {}
40func (*YoutubeVideoAsset) Descriptor() ([]byte, []int) {
41	return fileDescriptor_f84b8dff1cc51362, []int{0}
42}
43
44func (m *YoutubeVideoAsset) XXX_Unmarshal(b []byte) error {
45	return xxx_messageInfo_YoutubeVideoAsset.Unmarshal(m, b)
46}
47func (m *YoutubeVideoAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
48	return xxx_messageInfo_YoutubeVideoAsset.Marshal(b, m, deterministic)
49}
50func (m *YoutubeVideoAsset) XXX_Merge(src proto.Message) {
51	xxx_messageInfo_YoutubeVideoAsset.Merge(m, src)
52}
53func (m *YoutubeVideoAsset) XXX_Size() int {
54	return xxx_messageInfo_YoutubeVideoAsset.Size(m)
55}
56func (m *YoutubeVideoAsset) XXX_DiscardUnknown() {
57	xxx_messageInfo_YoutubeVideoAsset.DiscardUnknown(m)
58}
59
60var xxx_messageInfo_YoutubeVideoAsset proto.InternalMessageInfo
61
62func (m *YoutubeVideoAsset) GetYoutubeVideoId() *wrappers.StringValue {
63	if m != nil {
64		return m.YoutubeVideoId
65	}
66	return nil
67}
68
69// A MediaBundle asset.
70type MediaBundleAsset struct {
71	// Media bundle (ZIP file) asset data. The format of the uploaded ZIP file
72	// depends on the ad field where it will be used. For more information on the
73	// format, see the documentation of the ad field where you plan on using the
74	// MediaBundleAsset. This field is mutate only.
75	Data                 *wrappers.BytesValue `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
76	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
77	XXX_unrecognized     []byte               `json:"-"`
78	XXX_sizecache        int32                `json:"-"`
79}
80
81func (m *MediaBundleAsset) Reset()         { *m = MediaBundleAsset{} }
82func (m *MediaBundleAsset) String() string { return proto.CompactTextString(m) }
83func (*MediaBundleAsset) ProtoMessage()    {}
84func (*MediaBundleAsset) Descriptor() ([]byte, []int) {
85	return fileDescriptor_f84b8dff1cc51362, []int{1}
86}
87
88func (m *MediaBundleAsset) XXX_Unmarshal(b []byte) error {
89	return xxx_messageInfo_MediaBundleAsset.Unmarshal(m, b)
90}
91func (m *MediaBundleAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
92	return xxx_messageInfo_MediaBundleAsset.Marshal(b, m, deterministic)
93}
94func (m *MediaBundleAsset) XXX_Merge(src proto.Message) {
95	xxx_messageInfo_MediaBundleAsset.Merge(m, src)
96}
97func (m *MediaBundleAsset) XXX_Size() int {
98	return xxx_messageInfo_MediaBundleAsset.Size(m)
99}
100func (m *MediaBundleAsset) XXX_DiscardUnknown() {
101	xxx_messageInfo_MediaBundleAsset.DiscardUnknown(m)
102}
103
104var xxx_messageInfo_MediaBundleAsset proto.InternalMessageInfo
105
106func (m *MediaBundleAsset) GetData() *wrappers.BytesValue {
107	if m != nil {
108		return m.Data
109	}
110	return nil
111}
112
113// An Image asset.
114type ImageAsset struct {
115	// The raw bytes data of an image. This field is mutate only.
116	Data *wrappers.BytesValue `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
117	// File size of the image asset in bytes.
118	FileSize *wrappers.Int64Value `protobuf:"bytes,2,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
119	// MIME type of the image asset.
120	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"`
121	// Metadata for this image at its original size.
122	FullSize             *ImageDimension `protobuf:"bytes,4,opt,name=full_size,json=fullSize,proto3" json:"full_size,omitempty"`
123	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
124	XXX_unrecognized     []byte          `json:"-"`
125	XXX_sizecache        int32           `json:"-"`
126}
127
128func (m *ImageAsset) Reset()         { *m = ImageAsset{} }
129func (m *ImageAsset) String() string { return proto.CompactTextString(m) }
130func (*ImageAsset) ProtoMessage()    {}
131func (*ImageAsset) Descriptor() ([]byte, []int) {
132	return fileDescriptor_f84b8dff1cc51362, []int{2}
133}
134
135func (m *ImageAsset) XXX_Unmarshal(b []byte) error {
136	return xxx_messageInfo_ImageAsset.Unmarshal(m, b)
137}
138func (m *ImageAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
139	return xxx_messageInfo_ImageAsset.Marshal(b, m, deterministic)
140}
141func (m *ImageAsset) XXX_Merge(src proto.Message) {
142	xxx_messageInfo_ImageAsset.Merge(m, src)
143}
144func (m *ImageAsset) XXX_Size() int {
145	return xxx_messageInfo_ImageAsset.Size(m)
146}
147func (m *ImageAsset) XXX_DiscardUnknown() {
148	xxx_messageInfo_ImageAsset.DiscardUnknown(m)
149}
150
151var xxx_messageInfo_ImageAsset proto.InternalMessageInfo
152
153func (m *ImageAsset) GetData() *wrappers.BytesValue {
154	if m != nil {
155		return m.Data
156	}
157	return nil
158}
159
160func (m *ImageAsset) GetFileSize() *wrappers.Int64Value {
161	if m != nil {
162		return m.FileSize
163	}
164	return nil
165}
166
167func (m *ImageAsset) GetMimeType() enums.MimeTypeEnum_MimeType {
168	if m != nil {
169		return m.MimeType
170	}
171	return enums.MimeTypeEnum_UNSPECIFIED
172}
173
174func (m *ImageAsset) GetFullSize() *ImageDimension {
175	if m != nil {
176		return m.FullSize
177	}
178	return nil
179}
180
181// Metadata for an image at a certain size, either original or resized.
182type ImageDimension struct {
183	// Height of the image.
184	HeightPixels *wrappers.Int64Value `protobuf:"bytes,1,opt,name=height_pixels,json=heightPixels,proto3" json:"height_pixels,omitempty"`
185	// Width of the image.
186	WidthPixels *wrappers.Int64Value `protobuf:"bytes,2,opt,name=width_pixels,json=widthPixels,proto3" json:"width_pixels,omitempty"`
187	// A URL that returns the image with this height and width.
188	Url                  *wrappers.StringValue `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
189	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
190	XXX_unrecognized     []byte                `json:"-"`
191	XXX_sizecache        int32                 `json:"-"`
192}
193
194func (m *ImageDimension) Reset()         { *m = ImageDimension{} }
195func (m *ImageDimension) String() string { return proto.CompactTextString(m) }
196func (*ImageDimension) ProtoMessage()    {}
197func (*ImageDimension) Descriptor() ([]byte, []int) {
198	return fileDescriptor_f84b8dff1cc51362, []int{3}
199}
200
201func (m *ImageDimension) XXX_Unmarshal(b []byte) error {
202	return xxx_messageInfo_ImageDimension.Unmarshal(m, b)
203}
204func (m *ImageDimension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
205	return xxx_messageInfo_ImageDimension.Marshal(b, m, deterministic)
206}
207func (m *ImageDimension) XXX_Merge(src proto.Message) {
208	xxx_messageInfo_ImageDimension.Merge(m, src)
209}
210func (m *ImageDimension) XXX_Size() int {
211	return xxx_messageInfo_ImageDimension.Size(m)
212}
213func (m *ImageDimension) XXX_DiscardUnknown() {
214	xxx_messageInfo_ImageDimension.DiscardUnknown(m)
215}
216
217var xxx_messageInfo_ImageDimension proto.InternalMessageInfo
218
219func (m *ImageDimension) GetHeightPixels() *wrappers.Int64Value {
220	if m != nil {
221		return m.HeightPixels
222	}
223	return nil
224}
225
226func (m *ImageDimension) GetWidthPixels() *wrappers.Int64Value {
227	if m != nil {
228		return m.WidthPixels
229	}
230	return nil
231}
232
233func (m *ImageDimension) GetUrl() *wrappers.StringValue {
234	if m != nil {
235		return m.Url
236	}
237	return nil
238}
239
240// A Text asset.
241type TextAsset struct {
242	// Text content of the text asset.
243	Text                 *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
244	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
245	XXX_unrecognized     []byte                `json:"-"`
246	XXX_sizecache        int32                 `json:"-"`
247}
248
249func (m *TextAsset) Reset()         { *m = TextAsset{} }
250func (m *TextAsset) String() string { return proto.CompactTextString(m) }
251func (*TextAsset) ProtoMessage()    {}
252func (*TextAsset) Descriptor() ([]byte, []int) {
253	return fileDescriptor_f84b8dff1cc51362, []int{4}
254}
255
256func (m *TextAsset) XXX_Unmarshal(b []byte) error {
257	return xxx_messageInfo_TextAsset.Unmarshal(m, b)
258}
259func (m *TextAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
260	return xxx_messageInfo_TextAsset.Marshal(b, m, deterministic)
261}
262func (m *TextAsset) XXX_Merge(src proto.Message) {
263	xxx_messageInfo_TextAsset.Merge(m, src)
264}
265func (m *TextAsset) XXX_Size() int {
266	return xxx_messageInfo_TextAsset.Size(m)
267}
268func (m *TextAsset) XXX_DiscardUnknown() {
269	xxx_messageInfo_TextAsset.DiscardUnknown(m)
270}
271
272var xxx_messageInfo_TextAsset proto.InternalMessageInfo
273
274func (m *TextAsset) GetText() *wrappers.StringValue {
275	if m != nil {
276		return m.Text
277	}
278	return nil
279}
280
281func init() {
282	proto.RegisterType((*YoutubeVideoAsset)(nil), "google.ads.googleads.v1.common.YoutubeVideoAsset")
283	proto.RegisterType((*MediaBundleAsset)(nil), "google.ads.googleads.v1.common.MediaBundleAsset")
284	proto.RegisterType((*ImageAsset)(nil), "google.ads.googleads.v1.common.ImageAsset")
285	proto.RegisterType((*ImageDimension)(nil), "google.ads.googleads.v1.common.ImageDimension")
286	proto.RegisterType((*TextAsset)(nil), "google.ads.googleads.v1.common.TextAsset")
287}
288
289func init() {
290	proto.RegisterFile("google/ads/googleads/v1/common/asset_types.proto", fileDescriptor_f84b8dff1cc51362)
291}
292
293var fileDescriptor_f84b8dff1cc51362 = []byte{
294	// 537 bytes of a gzipped FileDescriptorProto
295	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x41, 0x6b, 0xdb, 0x30,
296	0x14, 0xc7, 0x71, 0x12, 0x46, 0xa2, 0x76, 0x59, 0xe7, 0x53, 0xc8, 0x4a, 0x29, 0x3e, 0xf5, 0x32,
297	0xb9, 0xe9, 0xca, 0x18, 0x1e, 0x1b, 0x73, 0xda, 0xad, 0x84, 0x51, 0xc8, 0xd2, 0x12, 0xd8, 0x16,
298	0x08, 0x4a, 0xf5, 0xe2, 0x08, 0x2c, 0xc9, 0x58, 0x72, 0x9a, 0xf4, 0x8b, 0xec, 0xbe, 0xe3, 0x3e,
299	0xc6, 0x8e, 0xfb, 0x28, 0xfd, 0x14, 0x43, 0x92, 0x13, 0x3a, 0x46, 0xd6, 0xb2, 0x93, 0x9f, 0xa5,
300	0xff, 0xff, 0xa7, 0xa7, 0xf7, 0x9e, 0xd0, 0x61, 0x22, 0x65, 0x92, 0x42, 0x48, 0xa8, 0x0a, 0x5d,
301	0x68, 0xa2, 0x79, 0x27, 0xbc, 0x92, 0x9c, 0x4b, 0x11, 0x12, 0xa5, 0x40, 0x8f, 0xf5, 0x32, 0x03,
302	0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