forked from googleapis/java-spanner
/
ad_asset.pb.go
242 lines (213 loc) · 10 KB
/
ad_asset.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/common/ad_asset.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 text asset used inside an ad.
type AdTextAsset struct {
// Asset text.
Text *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// The pinned field of the asset. This restricts the asset to only serve
// within this field. Multiple assets can be pinned to the same field. An
// asset that is unpinned or pinned to a different field will not serve in a
// field where some other asset has been pinned.
PinnedField enums.ServedAssetFieldTypeEnum_ServedAssetFieldType `protobuf:"varint,2,opt,name=pinned_field,json=pinnedField,proto3,enum=google.ads.googleads.v1.enums.ServedAssetFieldTypeEnum_ServedAssetFieldType" json:"pinned_field,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AdTextAsset) Reset() { *m = AdTextAsset{} }
func (m *AdTextAsset) String() string { return proto.CompactTextString(m) }
func (*AdTextAsset) ProtoMessage() {}
func (*AdTextAsset) Descriptor() ([]byte, []int) {
return fileDescriptor_a1e7a8010a4d26a5, []int{0}
}
func (m *AdTextAsset) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AdTextAsset.Unmarshal(m, b)
}
func (m *AdTextAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AdTextAsset.Marshal(b, m, deterministic)
}
func (m *AdTextAsset) XXX_Merge(src proto.Message) {
xxx_messageInfo_AdTextAsset.Merge(m, src)
}
func (m *AdTextAsset) XXX_Size() int {
return xxx_messageInfo_AdTextAsset.Size(m)
}
func (m *AdTextAsset) XXX_DiscardUnknown() {
xxx_messageInfo_AdTextAsset.DiscardUnknown(m)
}
var xxx_messageInfo_AdTextAsset proto.InternalMessageInfo
func (m *AdTextAsset) GetText() *wrappers.StringValue {
if m != nil {
return m.Text
}
return nil
}
func (m *AdTextAsset) GetPinnedField() enums.ServedAssetFieldTypeEnum_ServedAssetFieldType {
if m != nil {
return m.PinnedField
}
return enums.ServedAssetFieldTypeEnum_UNSPECIFIED
}
// An image asset used inside an ad.
type AdImageAsset struct {
// The Asset resource name of this image.
Asset *wrappers.StringValue `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AdImageAsset) Reset() { *m = AdImageAsset{} }
func (m *AdImageAsset) String() string { return proto.CompactTextString(m) }
func (*AdImageAsset) ProtoMessage() {}
func (*AdImageAsset) Descriptor() ([]byte, []int) {
return fileDescriptor_a1e7a8010a4d26a5, []int{1}
}
func (m *AdImageAsset) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AdImageAsset.Unmarshal(m, b)
}
func (m *AdImageAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AdImageAsset.Marshal(b, m, deterministic)
}
func (m *AdImageAsset) XXX_Merge(src proto.Message) {
xxx_messageInfo_AdImageAsset.Merge(m, src)
}
func (m *AdImageAsset) XXX_Size() int {
return xxx_messageInfo_AdImageAsset.Size(m)
}
func (m *AdImageAsset) XXX_DiscardUnknown() {
xxx_messageInfo_AdImageAsset.DiscardUnknown(m)
}
var xxx_messageInfo_AdImageAsset proto.InternalMessageInfo
func (m *AdImageAsset) GetAsset() *wrappers.StringValue {
if m != nil {
return m.Asset
}
return nil
}
// A video asset used inside an ad.
type AdVideoAsset struct {
// The Asset resource name of this video.
Asset *wrappers.StringValue `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AdVideoAsset) Reset() { *m = AdVideoAsset{} }
func (m *AdVideoAsset) String() string { return proto.CompactTextString(m) }
func (*AdVideoAsset) ProtoMessage() {}
func (*AdVideoAsset) Descriptor() ([]byte, []int) {
return fileDescriptor_a1e7a8010a4d26a5, []int{2}
}
func (m *AdVideoAsset) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AdVideoAsset.Unmarshal(m, b)
}
func (m *AdVideoAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AdVideoAsset.Marshal(b, m, deterministic)
}
func (m *AdVideoAsset) XXX_Merge(src proto.Message) {
xxx_messageInfo_AdVideoAsset.Merge(m, src)
}
func (m *AdVideoAsset) XXX_Size() int {
return xxx_messageInfo_AdVideoAsset.Size(m)
}
func (m *AdVideoAsset) XXX_DiscardUnknown() {
xxx_messageInfo_AdVideoAsset.DiscardUnknown(m)
}
var xxx_messageInfo_AdVideoAsset proto.InternalMessageInfo
func (m *AdVideoAsset) GetAsset() *wrappers.StringValue {
if m != nil {
return m.Asset
}
return nil
}
// A media bundle asset used inside an ad.
type AdMediaBundleAsset struct {
// The Asset resource name of this media bundle.
Asset *wrappers.StringValue `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AdMediaBundleAsset) Reset() { *m = AdMediaBundleAsset{} }
func (m *AdMediaBundleAsset) String() string { return proto.CompactTextString(m) }
func (*AdMediaBundleAsset) ProtoMessage() {}
func (*AdMediaBundleAsset) Descriptor() ([]byte, []int) {
return fileDescriptor_a1e7a8010a4d26a5, []int{3}
}
func (m *AdMediaBundleAsset) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AdMediaBundleAsset.Unmarshal(m, b)
}
func (m *AdMediaBundleAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AdMediaBundleAsset.Marshal(b, m, deterministic)
}
func (m *AdMediaBundleAsset) XXX_Merge(src proto.Message) {
xxx_messageInfo_AdMediaBundleAsset.Merge(m, src)
}
func (m *AdMediaBundleAsset) XXX_Size() int {
return xxx_messageInfo_AdMediaBundleAsset.Size(m)
}
func (m *AdMediaBundleAsset) XXX_DiscardUnknown() {
xxx_messageInfo_AdMediaBundleAsset.DiscardUnknown(m)
}
var xxx_messageInfo_AdMediaBundleAsset proto.InternalMessageInfo
func (m *AdMediaBundleAsset) GetAsset() *wrappers.StringValue {
if m != nil {
return m.Asset
}
return nil
}
func init() {
proto.RegisterType((*AdTextAsset)(nil), "google.ads.googleads.v1.common.AdTextAsset")
proto.RegisterType((*AdImageAsset)(nil), "google.ads.googleads.v1.common.AdImageAsset")
proto.RegisterType((*AdVideoAsset)(nil), "google.ads.googleads.v1.common.AdVideoAsset")
proto.RegisterType((*AdMediaBundleAsset)(nil), "google.ads.googleads.v1.common.AdMediaBundleAsset")
}
func init() {
proto.RegisterFile("google/ads/googleads/v1/common/ad_asset.proto", fileDescriptor_a1e7a8010a4d26a5)
}
var fileDescriptor_a1e7a8010a4d26a5 = []byte{
// 401 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcd, 0x6a, 0xdc, 0x30,
0x10, 0xc7, 0xf1, 0xf6, 0xe3, 0xa0, 0x5d, 0x7a, 0xf0, 0x29, 0x84, 0x10, 0x82, 0x4f, 0xb9, 0x54,
0xaa, 0xb7, 0x37, 0xe5, 0x24, 0xf7, 0x23, 0x2d, 0xb4, 0x10, 0x92, 0xe0, 0x43, 0x31, 0x2c, 0x4a,
0x34, 0x11, 0x02, 0x5b, 0x12, 0x96, 0xbc, 0x4d, 0x5e, 0xa7, 0xc7, 0x9e, 0xfa, 0x1c, 0x7d, 0x91,
0x42, 0x9f, 0xa2, 0x58, 0x63, 0xef, 0xa9, 0x5b, 0x4a, 0x4e, 0x3b, 0x2b, 0xfd, 0xfc, 0x9b, 0xff,
0x88, 0x21, 0x2f, 0xb5, 0x73, 0xba, 0x05, 0x26, 0x55, 0x60, 0x58, 0x8e, 0xd5, 0xb6, 0x64, 0xb7,
0xae, 0xeb, 0x9c, 0x65, 0x52, 0x6d, 0x64, 0x08, 0x10, 0xa9, 0xef, 0x5d, 0x74, 0xf9, 0x31, 0x32,
0x54, 0xaa, 0x40, 0x77, 0x38, 0xdd, 0x96, 0x14, 0xf1, 0xc3, 0xb3, 0x7d, 0x3a, 0xb0, 0x43, 0x17,
0x58, 0x80, 0x7e, 0x0b, 0x93, 0x71, 0x73, 0x67, 0xa0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