blob: 5956617f9f2b48e6f888606126c4f8dd4fbeff88 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/resources/feed_mapping.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
// A feed mapping.
type FeedMapping struct {
// The resource name of the feed mapping.
// Feed mapping resource names have the form:
//
// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}`
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// The feed of this feed mapping.
Feed *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed,proto3" json:"feed,omitempty"`
// Feed attributes to field mappings. These mappings are a one-to-many
// relationship meaning that 1 feed attribute can be used to populate
// multiple placeholder fields, but 1 placeholder field can only draw
// data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder
// field can be mapped to multiple feed attributes. Required.
AttributeFieldMappings []*AttributeFieldMapping `protobuf:"bytes,5,rep,name=attribute_field_mappings,json=attributeFieldMappings,proto3" json:"attribute_field_mappings,omitempty"`
// Status of the feed mapping.
// This field is read-only.
Status enums.FeedMappingStatusEnum_FeedMappingStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.FeedMappingStatusEnum_FeedMappingStatus" json:"status,omitempty"`
// Feed mapping target. Can be either a placeholder or a criterion. For a
// given feed, the active FeedMappings must have unique targets. Required.
//
// Types that are valid to be assigned to Target:
// *FeedMapping_PlaceholderType
// *FeedMapping_CriterionType
Target isFeedMapping_Target `protobuf_oneof:"target"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FeedMapping) Reset() { *m = FeedMapping{} }
func (m *FeedMapping) String() string { return proto.CompactTextString(m) }
func (*FeedMapping) ProtoMessage() {}
func (*FeedMapping) Descriptor() ([]byte, []int) {
return fileDescriptor_664f64bb6423b1b2, []int{0}
}
func (m *FeedMapping) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FeedMapping.Unmarshal(m, b)
}
func (m *FeedMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FeedMapping.Marshal(b, m, deterministic)
}
func (m *FeedMapping) XXX_Merge(src proto.Message) {
xxx_messageInfo_FeedMapping.Merge(m, src)
}
func (m *FeedMapping) XXX_Size() int {
return xxx_messageInfo_FeedMapping.Size(m)
}
func (m *FeedMapping) XXX_DiscardUnknown() {
xxx_messageInfo_FeedMapping.DiscardUnknown(m)
}
var xxx_messageInfo_FeedMapping proto.InternalMessageInfo
func (m *FeedMapping) GetResourceName() string {
if m != nil {
return m.ResourceName
}
return ""
}
func (m *FeedMapping) GetFeed() *wrappers.StringValue {
if m != nil {
return m.Feed
}
return nil
}
func (m *FeedMapping) GetAttributeFieldMappings() []*AttributeFieldMapping {
if m != nil {
return m.AttributeFieldMappings
}
return nil
}
func (m *FeedMapping) GetStatus() enums.FeedMappingStatusEnum_FeedMappingStatus {
if m != nil {
return m.Status
}
return enums.FeedMappingStatusEnum_UNSPECIFIED
}
type isFeedMapping_Target interface {
isFeedMapping_Target()
}
type FeedMapping_PlaceholderType struct {
PlaceholderType enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,3,opt,name=placeholder_type,json=placeholderType,proto3,enum=google.ads.googleads.v1.enums.PlaceholderTypeEnum_PlaceholderType,oneof"`
}
type FeedMapping_CriterionType struct {
CriterionType enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType `protobuf:"varint,4,opt,name=criterion_type,json=criterionType,proto3,enum=google.ads.googleads.v1.enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType,oneof"`
}
func (*FeedMapping_PlaceholderType) isFeedMapping_Target() {}
func (*FeedMapping_CriterionType) isFeedMapping_Target() {}
func (m *FeedMapping) GetTarget() isFeedMapping_Target {
if m != nil {
return m.Target
}
return nil
}
func (m *FeedMapping) GetPlaceholderType() enums.PlaceholderTypeEnum_PlaceholderType {
if x, ok := m.GetTarget().(*FeedMapping_PlaceholderType); ok {
return x.PlaceholderType
}
return enums.PlaceholderTypeEnum_UNSPECIFIED
}
func (m *FeedMapping) GetCriterionType() enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType {
if x, ok := m.GetTarget().(*FeedMapping_CriterionType); ok {
return x.CriterionType
}
return enums.FeedMappingCriterionTypeEnum_UNSPECIFIED
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*FeedMapping) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*FeedMapping_PlaceholderType)(nil),
(*FeedMapping_CriterionType)(nil),
}
}
// Maps from feed attribute id to a placeholder or criterion field id.
type AttributeFieldMapping struct {
// Feed attribute from which to map.
FeedAttributeId *wrappers.Int64Value `protobuf:"bytes,1,opt,name=feed_attribute_id,json=feedAttributeId,proto3" json:"feed_attribute_id,omitempty"`
// The placeholder field ID. If a placeholder field enum is not published in
// the current API version, then this field will be populated and the field
// oneof will be empty.
// This field is read-only.
FieldId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"`
// Placeholder or criterion field to be populated using data from
// the above feed attribute. Required.
//
// Types that are valid to be assigned to Field:
// *AttributeFieldMapping_SitelinkField
// *AttributeFieldMapping_CallField
// *AttributeFieldMapping_AppField
// *AttributeFieldMapping_LocationField
// *AttributeFieldMapping_AffiliateLocationField
// *AttributeFieldMapping_CalloutField
// *AttributeFieldMapping_StructuredSnippetField
// *AttributeFieldMapping_MessageField
// *AttributeFieldMapping_PriceField
// *AttributeFieldMapping_PromotionField
// *AttributeFieldMapping_AdCustomizerField
// *AttributeFieldMapping_DsaPageFeedField
// *AttributeFieldMapping_LocationExtensionTargetingField
// *AttributeFieldMapping_EducationField
// *AttributeFieldMapping_FlightField
// *AttributeFieldMapping_CustomField
// *AttributeFieldMapping_HotelField
// *AttributeFieldMapping_RealEstateField
// *AttributeFieldMapping_TravelField
// *AttributeFieldMapping_LocalField
// *AttributeFieldMapping_JobField
Field isAttributeFieldMapping_Field `protobuf_oneof:"field"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AttributeFieldMapping) Reset() { *m = AttributeFieldMapping{} }
func (m *AttributeFieldMapping) String() string { return proto.CompactTextString(m) }
func (*AttributeFieldMapping) ProtoMessage() {}
func (*AttributeFieldMapping) Descriptor() ([]byte, []int) {
return fileDescriptor_664f64bb6423b1b2, []int{1}
}
func (m *AttributeFieldMapping) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AttributeFieldMapping.Unmarshal(m, b)
}
func (m *AttributeFieldMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AttributeFieldMapping.Marshal(b, m, deterministic)
}
func (m *AttributeFieldMapping) XXX_Merge(src proto.Message) {
xxx_messageInfo_AttributeFieldMapping.Merge(m, src)
}
func (m *AttributeFieldMapping) XXX_Size() int {
return xxx_messageInfo_AttributeFieldMapping.Size(m)
}
func (m *AttributeFieldMapping) XXX_DiscardUnknown() {
xxx_messageInfo_AttributeFieldMapping.DiscardUnknown(m)
}
var xxx_messageInfo_AttributeFieldMapping proto.InternalMessageInfo
func (m *AttributeFieldMapping) GetFeedAttributeId() *wrappers.Int64Value {
if m != nil {
return m.FeedAttributeId
}
return nil
}
func (m *AttributeFieldMapping) GetFieldId() *wrappers.Int64Value {
if m != nil {
return m.FieldId
}
return nil
}
type isAttributeFieldMapping_Field interface {
isAttributeFieldMapping_Field()
}
type AttributeFieldMapping_SitelinkField struct {
SitelinkField enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField `protobuf:"varint,3,opt,name=sitelink_field,json=sitelinkField,proto3,enum=google.ads.googleads.v1.enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField,oneof"`
}
type AttributeFieldMapping_CallField struct {
CallField enums.CallPlaceholderFieldEnum_CallPlaceholderField `protobuf:"varint,4,opt,name=call_field,json=callField,proto3,enum=google.ads.googleads.v1.enums.CallPlaceholderFieldEnum_CallPlaceholderField,oneof"`
}
type AttributeFieldMapping_AppField struct {
AppField enums.AppPlaceholderFieldEnum_AppPlaceholderField `protobuf:"varint,5,opt,name=app_field,json=appField,proto3,enum=google.ads.googleads.v1.enums.AppPlaceholderFieldEnum_AppPlaceholderField,oneof"`
}
type AttributeFieldMapping_LocationField struct {
LocationField enums.LocationPlaceholderFieldEnum_LocationPlaceholderField `protobuf:"varint,6,opt,name=location_field,json=locationField,proto3,enum=google.ads.googleads.v1.enums.LocationPlaceholderFieldEnum_LocationPlaceholderField,oneof"`
}
type AttributeFieldMapping_AffiliateLocationField struct {
AffiliateLocationField enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField `protobuf:"varint,7,opt,name=affiliate_location_field,json=affiliateLocationField,proto3,enum=google.ads.googleads.v1.enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField,oneof"`
}
type AttributeFieldMapping_CalloutField struct {
CalloutField enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField `protobuf:"varint,8,opt,name=callout_field,json=calloutField,proto3,enum=google.ads.googleads.v1.enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField,oneof"`
}
type AttributeFieldMapping_StructuredSnippetField struct {
StructuredSnippetField enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField `protobuf:"varint,9,opt,name=structured_snippet_field,json=structuredSnippetField,proto3,enum=google.ads.googleads.v1.enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField,oneof"`
}
type AttributeFieldMapping_MessageField struct {
MessageField enums.MessagePlaceholderFieldEnum_MessagePlaceholderField `protobuf:"varint,10,opt,name=message_field,json=messageField,proto3,enum=google.ads.googleads.v1.enums.MessagePlaceholderFieldEnum_MessagePlaceholderField,oneof"`
}
type AttributeFieldMapping_PriceField struct {
PriceField enums.PricePlaceholderFieldEnum_PricePlaceholderField `protobuf:"varint,11,opt,name=price_field,json=priceField,proto3,enum=google.ads.googleads.v1.enums.PricePlaceholderFieldEnum_PricePlaceholderField,oneof"`
}
type AttributeFieldMapping_PromotionField struct {
PromotionField enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField `protobuf:"varint,12,opt,name=promotion_field,json=promotionField,proto3,enum=google.ads.googleads.v1.enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField,oneof"`
}
type AttributeFieldMapping_AdCustomizerField struct {
AdCustomizerField enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField `protobuf:"varint,13,opt,name=ad_customizer_field,json=adCustomizerField,proto3,enum=google.ads.googleads.v1.enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField,oneof"`
}
type AttributeFieldMapping_DsaPageFeedField struct {
DsaPageFeedField enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField `protobuf:"varint,14,opt,name=dsa_page_feed_field,json=dsaPageFeedField,proto3,enum=google.ads.googleads.v1.enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField,oneof"`
}
type AttributeFieldMapping_LocationExtensionTargetingField struct {
LocationExtensionTargetingField enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField `protobuf:"varint,15,opt,name=location_extension_targeting_field,json=locationExtensionTargetingField,proto3,enum=google.ads.googleads.v1.enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField,oneof"`
}
type AttributeFieldMapping_EducationField struct {
EducationField enums.EducationPlaceholderFieldEnum_EducationPlaceholderField `protobuf:"varint,16,opt,name=education_field,json=educationField,proto3,enum=google.ads.googleads.v1.enums.EducationPlaceholderFieldEnum_EducationPlaceholderField,oneof"`
}
type AttributeFieldMapping_FlightField struct {
FlightField enums.FlightPlaceholderFieldEnum_FlightPlaceholderField `protobuf:"varint,17,opt,name=flight_field,json=flightField,proto3,enum=google.ads.googleads.v1.enums.FlightPlaceholderFieldEnum_FlightPlaceholderField,oneof"`
}
type AttributeFieldMapping_CustomField struct {
CustomField enums.CustomPlaceholderFieldEnum_CustomPlaceholderField `protobuf:"varint,18,opt,name=custom_field,json=customField,proto3,enum=google.ads.googleads.v1.enums.CustomPlaceholderFieldEnum_CustomPlaceholderField,oneof"`
}
type AttributeFieldMapping_HotelField struct {
HotelField enums.HotelPlaceholderFieldEnum_HotelPlaceholderField `protobuf:"varint,19,opt,name=hotel_field,json=hotelField,proto3,enum=google.ads.googleads.v1.enums.HotelPlaceholderFieldEnum_HotelPlaceholderField,oneof"`
}
type AttributeFieldMapping_RealEstateField struct {
RealEstateField enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField `protobuf:"varint,20,opt,name=real_estate_field,json=realEstateField,proto3,enum=google.ads.googleads.v1.enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField,oneof"`
}
type AttributeFieldMapping_TravelField struct {
TravelField enums.TravelPlaceholderFieldEnum_TravelPlaceholderField `protobuf:"varint,21,opt,name=travel_field,json=travelField,proto3,enum=google.ads.googleads.v1.enums.TravelPlaceholderFieldEnum_TravelPlaceholderField,oneof"`
}
type AttributeFieldMapping_LocalField struct {
LocalField enums.LocalPlaceholderFieldEnum_LocalPlaceholderField `protobuf:"varint,22,opt,name=local_field,json=localField,proto3,enum=google.ads.googleads.v1.enums.LocalPlaceholderFieldEnum_LocalPlaceholderField,oneof"`
}
type AttributeFieldMapping_JobField struct {
JobField enums.JobPlaceholderFieldEnum_JobPlaceholderField `protobuf:"varint,23,opt,name=job_field,json=jobField,proto3,enum=google.ads.googleads.v1.enums.JobPlaceholderFieldEnum_JobPlaceholderField,oneof"`
}
func (*AttributeFieldMapping_SitelinkField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_CallField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_AppField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_LocationField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_AffiliateLocationField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_CalloutField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_StructuredSnippetField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_MessageField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_PriceField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_PromotionField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_AdCustomizerField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_DsaPageFeedField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_LocationExtensionTargetingField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_EducationField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_FlightField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_CustomField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_HotelField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_RealEstateField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_TravelField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_LocalField) isAttributeFieldMapping_Field() {}
func (*AttributeFieldMapping_JobField) isAttributeFieldMapping_Field() {}
func (m *AttributeFieldMapping) GetField() isAttributeFieldMapping_Field {
if m != nil {
return m.Field
}
return nil
}
func (m *AttributeFieldMapping) GetSitelinkField() enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_SitelinkField); ok {
return x.SitelinkField
}
return enums.SitelinkPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetCallField() enums.CallPlaceholderFieldEnum_CallPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_CallField); ok {
return x.CallField
}
return enums.CallPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetAppField() enums.AppPlaceholderFieldEnum_AppPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_AppField); ok {
return x.AppField
}
return enums.AppPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetLocationField() enums.LocationPlaceholderFieldEnum_LocationPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_LocationField); ok {
return x.LocationField
}
return enums.LocationPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetAffiliateLocationField() enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_AffiliateLocationField); ok {
return x.AffiliateLocationField
}
return enums.AffiliateLocationPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetCalloutField() enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_CalloutField); ok {
return x.CalloutField
}
return enums.CalloutPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetStructuredSnippetField() enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_StructuredSnippetField); ok {
return x.StructuredSnippetField
}
return enums.StructuredSnippetPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetMessageField() enums.MessagePlaceholderFieldEnum_MessagePlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_MessageField); ok {
return x.MessageField
}
return enums.MessagePlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetPriceField() enums.PricePlaceholderFieldEnum_PricePlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_PriceField); ok {
return x.PriceField
}
return enums.PricePlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetPromotionField() enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_PromotionField); ok {
return x.PromotionField
}
return enums.PromotionPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetAdCustomizerField() enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_AdCustomizerField); ok {
return x.AdCustomizerField
}
return enums.AdCustomizerPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetDsaPageFeedField() enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField {
if x, ok := m.GetField().(*AttributeFieldMapping_DsaPageFeedField); ok {
return x.DsaPageFeedField
}
return enums.DsaPageFeedCriterionFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetLocationExtensionTargetingField() enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField {
if x, ok := m.GetField().(*AttributeFieldMapping_LocationExtensionTargetingField); ok {
return x.LocationExtensionTargetingField
}
return enums.LocationExtensionTargetingCriterionFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetEducationField() enums.EducationPlaceholderFieldEnum_EducationPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_EducationField); ok {
return x.EducationField
}
return enums.EducationPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetFlightField() enums.FlightPlaceholderFieldEnum_FlightPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_FlightField); ok {
return x.FlightField
}
return enums.FlightPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetCustomField() enums.CustomPlaceholderFieldEnum_CustomPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_CustomField); ok {
return x.CustomField
}
return enums.CustomPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetHotelField() enums.HotelPlaceholderFieldEnum_HotelPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_HotelField); ok {
return x.HotelField
}
return enums.HotelPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetRealEstateField() enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_RealEstateField); ok {
return x.RealEstateField
}
return enums.RealEstatePlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetTravelField() enums.TravelPlaceholderFieldEnum_TravelPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_TravelField); ok {
return x.TravelField
}
return enums.TravelPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetLocalField() enums.LocalPlaceholderFieldEnum_LocalPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_LocalField); ok {
return x.LocalField
}
return enums.LocalPlaceholderFieldEnum_UNSPECIFIED
}
func (m *AttributeFieldMapping) GetJobField() enums.JobPlaceholderFieldEnum_JobPlaceholderField {
if x, ok := m.GetField().(*AttributeFieldMapping_JobField); ok {
return x.JobField
}
return enums.JobPlaceholderFieldEnum_UNSPECIFIED
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*AttributeFieldMapping) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*AttributeFieldMapping_SitelinkField)(nil),
(*AttributeFieldMapping_CallField)(nil),
(*AttributeFieldMapping_AppField)(nil),
(*AttributeFieldMapping_LocationField)(nil),
(*AttributeFieldMapping_AffiliateLocationField)(nil),
(*AttributeFieldMapping_CalloutField)(nil),
(*AttributeFieldMapping_StructuredSnippetField)(nil),
(*AttributeFieldMapping_MessageField)(nil),
(*AttributeFieldMapping_PriceField)(nil),
(*AttributeFieldMapping_PromotionField)(nil),
(*AttributeFieldMapping_AdCustomizerField)(nil),
(*AttributeFieldMapping_DsaPageFeedField)(nil),
(*AttributeFieldMapping_LocationExtensionTargetingField)(nil),
(*AttributeFieldMapping_EducationField)(nil),
(*AttributeFieldMapping_FlightField)(nil),
(*AttributeFieldMapping_CustomField)(nil),
(*AttributeFieldMapping_HotelField)(nil),
(*AttributeFieldMapping_RealEstateField)(nil),
(*AttributeFieldMapping_TravelField)(nil),
(*AttributeFieldMapping_LocalField)(nil),
(*AttributeFieldMapping_JobField)(nil),
}
}
func init() {
proto.RegisterType((*FeedMapping)(nil), "google.ads.googleads.v1.resources.FeedMapping")
proto.RegisterType((*AttributeFieldMapping)(nil), "google.ads.googleads.v1.resources.AttributeFieldMapping")
}
func init() {
proto.RegisterFile("google/ads/googleads/v1/resources/feed_mapping.proto", fileDescriptor_664f64bb6423b1b2)
}
var fileDescriptor_664f64bb6423b1b2 = []byte{
// 1316 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x98, 0x4d, 0x6f, 0xe4, 0x44,
0x13, 0xc7, 0xed, 0x6c, 0x5e, 0x7b, 0xf2, 0x3a, 0x79, 0x36, 0xcf, 0x68, 0x59, 0x41, 0x36, 0x68,
0xa5, 0x9c, 0x3c, 0x24, 0x44, 0x0b, 0xcc, 0xf2, 0xa2, 0x49, 0x48, 0xe2, 0x44, 0xbb, 0xab, 0x91,
0x13, 0x45, 0x08, 0x45, 0x8c, 0x7a, 0xc6, 0x3d, 0x13, 0x07, 0x8f, 0x6d, 0xec, 0x76, 0x20, 0x48,
0x7b, 0xe0, 0x02, 0x37, 0x3e, 0xc4, 0x1e, 0x39, 0xf2, 0x15, 0xb8, 0x71, 0xe6, 0x53, 0xf0, 0x1d,
0x90, 0x50, 0x77, 0xd9, 0x3d, 0x4e, 0xb6, 0xdb, 0x6d, 0xe6, 0xe6, 0x74, 0xd5, 0xbf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