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 628 629 630 631 632 633 634 635 636 637 638
|
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/resources/feed.proto
package resources
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
// 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_90b38030e9747922, []int{2, 0}
}
// A feed.
type Feed struct {
// Immutable. 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"`
// Output only. The ID of the feed.
// This field is read-only.
Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Immutable. 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, unless
// system_feed_generation_data is provided, in which case Google Ads will
// update the feed with the correct attributes.
// 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"`
// Immutable. Specifies who manages the FeedAttributes for the Feed.
Origin enums.FeedOriginEnum_FeedOrigin `protobuf:"varint,5,opt,name=origin,proto3,enum=google.ads.googleads.v1.enums.FeedOriginEnum_FeedOrigin" json:"origin,omitempty"`
// Output only. Status of the feed.
// This field is read-only.
Status enums.FeedStatusEnum_FeedStatus `protobuf:"varint,8,opt,name=status,proto3,enum=google.ads.googleads.v1.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_90b38030e9747922, []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 {
// Immutable. 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_90b38030e9747922, []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_90b38030e9747922, []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.v1.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_90b38030e9747922, []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.v1.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_90b38030e9747922, []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 {
// Output only. Type of list operation to perform.
Operator FeedAttributeOperation_Operator `protobuf:"varint,1,opt,name=operator,proto3,enum=google.ads.googleads.v1.resources.FeedAttributeOperation_Operator" json:"operator,omitempty"`
// Output only. 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_90b38030e9747922, []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.v1.resources.FeedAttributeOperation_Operator", FeedAttributeOperation_Operator_name, FeedAttributeOperation_Operator_value)
proto.RegisterType((*Feed)(nil), "google.ads.googleads.v1.resources.Feed")
proto.RegisterType((*Feed_PlacesLocationFeedData)(nil), "google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData")
proto.RegisterType((*Feed_PlacesLocationFeedData_OAuthInfo)(nil), "google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.OAuthInfo")
proto.RegisterType((*Feed_AffiliateLocationFeedData)(nil), "google.ads.googleads.v1.resources.Feed.AffiliateLocationFeedData")
proto.RegisterType((*FeedAttribute)(nil), "google.ads.googleads.v1.resources.FeedAttribute")
proto.RegisterType((*FeedAttributeOperation)(nil), "google.ads.googleads.v1.resources.FeedAttributeOperation")
}
func init() {
proto.RegisterFile("google/ads/googleads/v1/resources/feed.proto", fileDescriptor_90b38030e9747922)
}
var fileDescriptor_90b38030e9747922 = []byte{
// 1133 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0x4f, 0x6f, 0xdb, 0xb6,
0x1b, 0xc7, 0x2b, 0x3b, 0x4e, 0x63, 0xba, 0x71, 0x5d, 0xb6, 0xc8, 0xcf, 0x71, 0xd3, 0x5f, 0x93,
0x00, 0x01, 0x02, 0x6c, 0x90, 0x62, 0xef, 0x5f, 0xe7, 0x61, 0x1b, 0xe4, 0xe5, 0x9f, 0x9b, 0xd6,
0x36, 0x94, 0x25, 0x1b, 0x8a, 0x00, 0x02, 0x2d, 0xd1, 0x36, 0x31, 0x59, 0xd4, 0x48, 0x2a, 0x83,
0x17, 0xf4, 0xb6, 0xdb, 0x5e, 0xc2, 0x6e, 0x3b, 0xee, 0xa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