forked from kritzware/google-ads-go
/
feed.pb.go
627 lines (557 loc) · 27.9 KB
/
feed.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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v0/resources/feed.proto
package resources
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
enums "github.com/kritzware/google-ads-go/enums"
math "math"
)
// 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
// The operator.
type FeedAttributeOperation_Operator int32
const (
// Unspecified.
FeedAttributeOperation_UNSPECIFIED FeedAttributeOperation_Operator = 0
// Used for return value only. Represents value unknown in this version.
FeedAttributeOperation_UNKNOWN FeedAttributeOperation_Operator = 1
// Add the attribute to the existing attributes.
FeedAttributeOperation_ADD FeedAttributeOperation_Operator = 2
)
var FeedAttributeOperation_Operator_name = map[int32]string{
0: "UNSPECIFIED",
1: "UNKNOWN",
2: "ADD",
}
var FeedAttributeOperation_Operator_value = map[string]int32{
"UNSPECIFIED": 0,
"UNKNOWN": 1,
"ADD": 2,
}
func (x FeedAttributeOperation_Operator) String() string {
return proto.EnumName(FeedAttributeOperation_Operator_name, int32(x))
}
func (FeedAttributeOperation_Operator) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_2c643952ce3ba14f, []int{2, 0}
}
// A feed.
type Feed struct {
// The resource name of the feed.
// Feed resource names have the form:
//
// `customers/{customer_id}/feeds/{feed_id}`
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// The ID of the feed.
// This field is read-only.
Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Name of the feed. Required.
Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// The Feed's attributes. Required on CREATE.
// Disallowed on UPDATE. Use attribute_operations to add new attributes.
Attributes []*FeedAttribute `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"`
// The list of operations changing the feed attributes. Attributes can only
// be added, not removed.
AttributeOperations []*FeedAttributeOperation `protobuf:"bytes,9,rep,name=attribute_operations,json=attributeOperations,proto3" json:"attribute_operations,omitempty"`
// Specifies who manages the FeedAttributes for the Feed.
Origin enums.FeedOriginEnum_FeedOrigin `protobuf:"varint,5,opt,name=origin,proto3,enum=google.ads.googleads.v0.enums.FeedOriginEnum_FeedOrigin" json:"origin,omitempty"`
// Status of the feed.
// This field is read-only.
Status enums.FeedStatusEnum_FeedStatus `protobuf:"varint,8,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.FeedStatusEnum_FeedStatus" json:"status,omitempty"`
// The system data for the Feed. This data specifies information for
// generating the feed items of the system generated feed.
//
// Types that are valid to be assigned to SystemFeedGenerationData:
// *Feed_PlacesLocationFeedData_
// *Feed_AffiliateLocationFeedData_
SystemFeedGenerationData isFeed_SystemFeedGenerationData `protobuf_oneof:"system_feed_generation_data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Feed) Reset() { *m = Feed{} }
func (m *Feed) String() string { return proto.CompactTextString(m) }
func (*Feed) ProtoMessage() {}
func (*Feed) Descriptor() ([]byte, []int) {
return fileDescriptor_2c643952ce3ba14f, []int{0}
}
func (m *Feed) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Feed.Unmarshal(m, b)
}
func (m *Feed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Feed.Marshal(b, m, deterministic)
}
func (m *Feed) XXX_Merge(src proto.Message) {
xxx_messageInfo_Feed.Merge(m, src)
}
func (m *Feed) XXX_Size() int {
return xxx_messageInfo_Feed.Size(m)
}
func (m *Feed) XXX_DiscardUnknown() {
xxx_messageInfo_Feed.DiscardUnknown(m)
}
var xxx_messageInfo_Feed proto.InternalMessageInfo
func (m *Feed) GetResourceName() string {
if m != nil {
return m.ResourceName
}
return ""
}
func (m *Feed) GetId() *wrappers.Int64Value {
if m != nil {
return m.Id
}
return nil
}
func (m *Feed) GetName() *wrappers.StringValue {
if m != nil {
return m.Name
}
return nil
}
func (m *Feed) GetAttributes() []*FeedAttribute {
if m != nil {
return m.Attributes
}
return nil
}
func (m *Feed) GetAttributeOperations() []*FeedAttributeOperation {
if m != nil {
return m.AttributeOperations
}
return nil
}
func (m *Feed) GetOrigin() enums.FeedOriginEnum_FeedOrigin {
if m != nil {
return m.Origin
}
return enums.FeedOriginEnum_UNSPECIFIED
}
func (m *Feed) GetStatus() enums.FeedStatusEnum_FeedStatus {
if m != nil {
return m.Status
}
return enums.FeedStatusEnum_UNSPECIFIED
}
type isFeed_SystemFeedGenerationData interface {
isFeed_SystemFeedGenerationData()
}
type Feed_PlacesLocationFeedData_ struct {
PlacesLocationFeedData *Feed_PlacesLocationFeedData `protobuf:"bytes,6,opt,name=places_location_feed_data,json=placesLocationFeedData,proto3,oneof"`
}
type Feed_AffiliateLocationFeedData_ struct {
AffiliateLocationFeedData *Feed_AffiliateLocationFeedData `protobuf:"bytes,7,opt,name=affiliate_location_feed_data,json=affiliateLocationFeedData,proto3,oneof"`
}
func (*Feed_PlacesLocationFeedData_) isFeed_SystemFeedGenerationData() {}
func (*Feed_AffiliateLocationFeedData_) isFeed_SystemFeedGenerationData() {}
func (m *Feed) GetSystemFeedGenerationData() isFeed_SystemFeedGenerationData {
if m != nil {
return m.SystemFeedGenerationData
}
return nil
}
func (m *Feed) GetPlacesLocationFeedData() *Feed_PlacesLocationFeedData {
if x, ok := m.GetSystemFeedGenerationData().(*Feed_PlacesLocationFeedData_); ok {
return x.PlacesLocationFeedData
}
return nil
}
func (m *Feed) GetAffiliateLocationFeedData() *Feed_AffiliateLocationFeedData {
if x, ok := m.GetSystemFeedGenerationData().(*Feed_AffiliateLocationFeedData_); ok {
return x.AffiliateLocationFeedData
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*Feed) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*Feed_PlacesLocationFeedData_)(nil),
(*Feed_AffiliateLocationFeedData_)(nil),
}
}
// Data used to configure a location feed populated from Google My Business
// Locations.
type Feed_PlacesLocationFeedData struct {
// Required authentication token (from OAuth API) for the email.
// This field can only be specified in a create request. All its subfields
// are not selectable.
OauthInfo *Feed_PlacesLocationFeedData_OAuthInfo `protobuf:"bytes,1,opt,name=oauth_info,json=oauthInfo,proto3" json:"oauth_info,omitempty"`
// Email address of a Google My Business account or email address of a
// manager of the Google My Business account. Required.
EmailAddress *wrappers.StringValue `protobuf:"bytes,2,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
// Plus page ID of the managed business whose locations should be used. If
// this field is not set, then all businesses accessible by the user
// (specified by email_address) are used.
// This field is mutate-only and is not selectable.
BusinessAccountId *wrappers.StringValue `protobuf:"bytes,10,opt,name=business_account_id,json=businessAccountId,proto3" json:"business_account_id,omitempty"`
// Used to filter Google My Business listings by business name. If
// business_name_filter is set, only listings with a matching business name
// are candidates to be sync'd into FeedItems.
BusinessNameFilter *wrappers.StringValue `protobuf:"bytes,4,opt,name=business_name_filter,json=businessNameFilter,proto3" json:"business_name_filter,omitempty"`
// Used to filter Google My Business listings by categories. If entries
// exist in category_filters, only listings that belong to any of the
// categories are candidates to be sync'd into FeedItems. If no entries
// exist in category_filters, then all listings are candidates for syncing.
CategoryFilters []*wrappers.StringValue `protobuf:"bytes,5,rep,name=category_filters,json=categoryFilters,proto3" json:"category_filters,omitempty"`
// Used to filter Google My Business listings by labels. If entries exist in
// label_filters, only listings that has any of the labels set are
// candidates to be synchronized into FeedItems. If no entries exist in
// label_filters, then all listings are candidates for syncing.
LabelFilters []*wrappers.StringValue `protobuf:"bytes,6,rep,name=label_filters,json=labelFilters,proto3" json:"label_filters,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Feed_PlacesLocationFeedData) Reset() { *m = Feed_PlacesLocationFeedData{} }
func (m *Feed_PlacesLocationFeedData) String() string { return proto.CompactTextString(m) }
func (*Feed_PlacesLocationFeedData) ProtoMessage() {}
func (*Feed_PlacesLocationFeedData) Descriptor() ([]byte, []int) {
return fileDescriptor_2c643952ce3ba14f, []int{0, 0}
}
func (m *Feed_PlacesLocationFeedData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Feed_PlacesLocationFeedData.Unmarshal(m, b)
}
func (m *Feed_PlacesLocationFeedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Feed_PlacesLocationFeedData.Marshal(b, m, deterministic)
}
func (m *Feed_PlacesLocationFeedData) XXX_Merge(src proto.Message) {
xxx_messageInfo_Feed_PlacesLocationFeedData.Merge(m, src)
}
func (m *Feed_PlacesLocationFeedData) XXX_Size() int {
return xxx_messageInfo_Feed_PlacesLocationFeedData.Size(m)
}
func (m *Feed_PlacesLocationFeedData) XXX_DiscardUnknown() {
xxx_messageInfo_Feed_PlacesLocationFeedData.DiscardUnknown(m)
}
var xxx_messageInfo_Feed_PlacesLocationFeedData proto.InternalMessageInfo
func (m *Feed_PlacesLocationFeedData) GetOauthInfo() *Feed_PlacesLocationFeedData_OAuthInfo {
if m != nil {
return m.OauthInfo
}
return nil
}
func (m *Feed_PlacesLocationFeedData) GetEmailAddress() *wrappers.StringValue {
if m != nil {
return m.EmailAddress
}
return nil
}
func (m *Feed_PlacesLocationFeedData) GetBusinessAccountId() *wrappers.StringValue {
if m != nil {
return m.BusinessAccountId
}
return nil
}
func (m *Feed_PlacesLocationFeedData) GetBusinessNameFilter() *wrappers.StringValue {
if m != nil {
return m.BusinessNameFilter
}
return nil
}
func (m *Feed_PlacesLocationFeedData) GetCategoryFilters() []*wrappers.StringValue {
if m != nil {
return m.CategoryFilters
}
return nil
}
func (m *Feed_PlacesLocationFeedData) GetLabelFilters() []*wrappers.StringValue {
if m != nil {
return m.LabelFilters
}
return nil
}
// Data used for authorization using OAuth.
type Feed_PlacesLocationFeedData_OAuthInfo struct {
// The HTTP method used to obtain authorization.
HttpMethod *wrappers.StringValue `protobuf:"bytes,1,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"`
// The HTTP request URL used to obtain authorization.
HttpRequestUrl *wrappers.StringValue `protobuf:"bytes,2,opt,name=http_request_url,json=httpRequestUrl,proto3" json:"http_request_url,omitempty"`
// The HTTP authorization header used to obtain authorization.
HttpAuthorizationHeader *wrappers.StringValue `protobuf:"bytes,3,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Feed_PlacesLocationFeedData_OAuthInfo) Reset() { *m = Feed_PlacesLocationFeedData_OAuthInfo{} }
func (m *Feed_PlacesLocationFeedData_OAuthInfo) String() string { return proto.CompactTextString(m) }
func (*Feed_PlacesLocationFeedData_OAuthInfo) ProtoMessage() {}
func (*Feed_PlacesLocationFeedData_OAuthInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_2c643952ce3ba14f, []int{0, 0, 0}
}
func (m *Feed_PlacesLocationFeedData_OAuthInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo.Unmarshal(m, b)
}
func (m *Feed_PlacesLocationFeedData_OAuthInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo.Marshal(b, m, deterministic)
}
func (m *Feed_PlacesLocationFeedData_OAuthInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo.Merge(m, src)
}
func (m *Feed_PlacesLocationFeedData_OAuthInfo) XXX_Size() int {
return xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo.Size(m)
}
func (m *Feed_PlacesLocationFeedData_OAuthInfo) XXX_DiscardUnknown() {
xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo.DiscardUnknown(m)
}
var xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo proto.InternalMessageInfo
func (m *Feed_PlacesLocationFeedData_OAuthInfo) GetHttpMethod() *wrappers.StringValue {
if m != nil {
return m.HttpMethod
}
return nil
}
func (m *Feed_PlacesLocationFeedData_OAuthInfo) GetHttpRequestUrl() *wrappers.StringValue {
if m != nil {
return m.HttpRequestUrl
}
return nil
}
func (m *Feed_PlacesLocationFeedData_OAuthInfo) GetHttpAuthorizationHeader() *wrappers.StringValue {
if m != nil {
return m.HttpAuthorizationHeader
}
return nil
}
// Data used to configure an affiliate location feed populated with the
// specified chains.
type Feed_AffiliateLocationFeedData struct {
// The list of chains that the affiliate location feed will sync the
// locations from.
ChainIds []*wrappers.Int64Value `protobuf:"bytes,1,rep,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"`
// The relationship the chains have with the advertiser.
RelationshipType enums.AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType `protobuf:"varint,2,opt,name=relationship_type,json=relationshipType,proto3,enum=google.ads.googleads.v0.enums.AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType" json:"relationship_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Feed_AffiliateLocationFeedData) Reset() { *m = Feed_AffiliateLocationFeedData{} }
func (m *Feed_AffiliateLocationFeedData) String() string { return proto.CompactTextString(m) }
func (*Feed_AffiliateLocationFeedData) ProtoMessage() {}
func (*Feed_AffiliateLocationFeedData) Descriptor() ([]byte, []int) {
return fileDescriptor_2c643952ce3ba14f, []int{0, 1}
}
func (m *Feed_AffiliateLocationFeedData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Feed_AffiliateLocationFeedData.Unmarshal(m, b)
}
func (m *Feed_AffiliateLocationFeedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Feed_AffiliateLocationFeedData.Marshal(b, m, deterministic)
}
func (m *Feed_AffiliateLocationFeedData) XXX_Merge(src proto.Message) {
xxx_messageInfo_Feed_AffiliateLocationFeedData.Merge(m, src)
}
func (m *Feed_AffiliateLocationFeedData) XXX_Size() int {
return xxx_messageInfo_Feed_AffiliateLocationFeedData.Size(m)
}
func (m *Feed_AffiliateLocationFeedData) XXX_DiscardUnknown() {
xxx_messageInfo_Feed_AffiliateLocationFeedData.DiscardUnknown(m)
}
var xxx_messageInfo_Feed_AffiliateLocationFeedData proto.InternalMessageInfo
func (m *Feed_AffiliateLocationFeedData) GetChainIds() []*wrappers.Int64Value {
if m != nil {
return m.ChainIds
}
return nil
}
func (m *Feed_AffiliateLocationFeedData) GetRelationshipType() enums.AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType {
if m != nil {
return m.RelationshipType
}
return enums.AffiliateLocationFeedRelationshipTypeEnum_UNSPECIFIED
}
// FeedAttributes define the types of data expected to be present in a Feed. A
// single FeedAttribute specifies the expected type of the FeedItemAttributes
// with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as
// being part of a FeedItem's unique key.
type FeedAttribute struct {
// ID of the attribute.
Id *wrappers.Int64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The name of the attribute. Required.
Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Data type for feed attribute. Required.
Type enums.FeedAttributeTypeEnum_FeedAttributeType `protobuf:"varint,3,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.FeedAttributeTypeEnum_FeedAttributeType" json:"type,omitempty"`
// Indicates that data corresponding to this attribute is part of a
// FeedItem's unique key. It defaults to false if it is unspecified. Note
// that a unique key is not required in a Feed's schema, in which case the
// FeedItems must be referenced by their feed_item_id.
IsPartOfKey *wrappers.BoolValue `protobuf:"bytes,4,opt,name=is_part_of_key,json=isPartOfKey,proto3" json:"is_part_of_key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FeedAttribute) Reset() { *m = FeedAttribute{} }
func (m *FeedAttribute) String() string { return proto.CompactTextString(m) }
func (*FeedAttribute) ProtoMessage() {}
func (*FeedAttribute) Descriptor() ([]byte, []int) {
return fileDescriptor_2c643952ce3ba14f, []int{1}
}
func (m *FeedAttribute) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FeedAttribute.Unmarshal(m, b)
}
func (m *FeedAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FeedAttribute.Marshal(b, m, deterministic)
}
func (m *FeedAttribute) XXX_Merge(src proto.Message) {
xxx_messageInfo_FeedAttribute.Merge(m, src)
}
func (m *FeedAttribute) XXX_Size() int {
return xxx_messageInfo_FeedAttribute.Size(m)
}
func (m *FeedAttribute) XXX_DiscardUnknown() {
xxx_messageInfo_FeedAttribute.DiscardUnknown(m)
}
var xxx_messageInfo_FeedAttribute proto.InternalMessageInfo
func (m *FeedAttribute) GetId() *wrappers.Int64Value {
if m != nil {
return m.Id
}
return nil
}
func (m *FeedAttribute) GetName() *wrappers.StringValue {
if m != nil {
return m.Name
}
return nil
}
func (m *FeedAttribute) GetType() enums.FeedAttributeTypeEnum_FeedAttributeType {
if m != nil {
return m.Type
}
return enums.FeedAttributeTypeEnum_UNSPECIFIED
}
func (m *FeedAttribute) GetIsPartOfKey() *wrappers.BoolValue {
if m != nil {
return m.IsPartOfKey
}
return nil
}
// Operation to be performed on a feed attribute list in a mutate.
type FeedAttributeOperation struct {
// Type of list operation to perform.
Operator FeedAttributeOperation_Operator `protobuf:"varint,1,opt,name=operator,proto3,enum=google.ads.googleads.v0.resources.FeedAttributeOperation_Operator" json:"operator,omitempty"`
// The feed attribute being added to the list.
Value *FeedAttribute `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FeedAttributeOperation) Reset() { *m = FeedAttributeOperation{} }
func (m *FeedAttributeOperation) String() string { return proto.CompactTextString(m) }
func (*FeedAttributeOperation) ProtoMessage() {}
func (*FeedAttributeOperation) Descriptor() ([]byte, []int) {
return fileDescriptor_2c643952ce3ba14f, []int{2}
}
func (m *FeedAttributeOperation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FeedAttributeOperation.Unmarshal(m, b)
}
func (m *FeedAttributeOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FeedAttributeOperation.Marshal(b, m, deterministic)
}
func (m *FeedAttributeOperation) XXX_Merge(src proto.Message) {
xxx_messageInfo_FeedAttributeOperation.Merge(m, src)
}
func (m *FeedAttributeOperation) XXX_Size() int {
return xxx_messageInfo_FeedAttributeOperation.Size(m)
}
func (m *FeedAttributeOperation) XXX_DiscardUnknown() {
xxx_messageInfo_FeedAttributeOperation.DiscardUnknown(m)
}
var xxx_messageInfo_FeedAttributeOperation proto.InternalMessageInfo
func (m *FeedAttributeOperation) GetOperator() FeedAttributeOperation_Operator {
if m != nil {
return m.Operator
}
return FeedAttributeOperation_UNSPECIFIED
}
func (m *FeedAttributeOperation) GetValue() *FeedAttribute {
if m != nil {
return m.Value
}
return nil
}
func init() {
proto.RegisterEnum("google.ads.googleads.v0.resources.FeedAttributeOperation_Operator", FeedAttributeOperation_Operator_name, FeedAttributeOperation_Operator_value)
proto.RegisterType((*Feed)(nil), "google.ads.googleads.v0.resources.Feed")
proto.RegisterType((*Feed_PlacesLocationFeedData)(nil), "google.ads.googleads.v0.resources.Feed.PlacesLocationFeedData")
proto.RegisterType((*Feed_PlacesLocationFeedData_OAuthInfo)(nil), "google.ads.googleads.v0.resources.Feed.PlacesLocationFeedData.OAuthInfo")
proto.RegisterType((*Feed_AffiliateLocationFeedData)(nil), "google.ads.googleads.v0.resources.Feed.AffiliateLocationFeedData")
proto.RegisterType((*FeedAttribute)(nil), "google.ads.googleads.v0.resources.FeedAttribute")
proto.RegisterType((*FeedAttributeOperation)(nil), "google.ads.googleads.v0.resources.FeedAttributeOperation")
}
func init() {
proto.RegisterFile("google/ads/googleads/v0/resources/feed.proto", fileDescriptor_2c643952ce3ba14f)
}
var fileDescriptor_2c643952ce3ba14f = []byte{
// 1018 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0xcf, 0x6f, 0xe3, 0x44,
0x14, 0xc7, 0xd7, 0xe9, 0xcf, 0xbc, 0xb4, 0xdd, 0xec, 0xec, 0xaa, 0xb8, 0xd9, 0x05, 0x75, 0x8b,
0x56, 0xaa, 0x04, 0x72, 0x42, 0x40, 0xb0, 0x04, 0x01, 0x72, 0x69, 0xd3, 0x86, 0xdd, 0x4d, 0x22,
0x97, 0x16, 0xb4, 0xaa, 0xb0, 0xa6, 0xf1, 0xc4, 0x19, 0xe1, 0x78, 0xcc, 0xcc, 0xb8, 0x28, 0x70,
0xe5, 0xc6, 0x9f, 0xc0, 0x8d, 0x23, 0x7f, 0x0a, 0xff, 0x03, 0x67, 0x24, 0xc4, 0x6d, 0x25, 0xce,
0xc8, 0x33, 0xb6, 0x29, 0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