1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v2/resources/feed_mapping.proto
3
4package resources
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/v2/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 feed mapping.
28type FeedMapping struct {
29	// The resource name of the feed mapping.
30	// Feed mapping resource names have the form:
31	//
32	// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}`
33	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
34	// The feed of this feed mapping.
35	Feed *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed,proto3" json:"feed,omitempty"`
36	// Feed attributes to field mappings. These mappings are a one-to-many
37	// relationship meaning that 1 feed attribute can be used to populate
38	// multiple placeholder fields, but 1 placeholder field can only draw
39	// data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder
40	// field can be mapped to multiple feed attributes. Required.
41	AttributeFieldMappings []*AttributeFieldMapping `protobuf:"bytes,5,rep,name=attribute_field_mappings,json=attributeFieldMappings,proto3" json:"attribute_field_mappings,omitempty"`
42	// Status of the feed mapping.
43	// This field is read-only.
44	Status enums.FeedMappingStatusEnum_FeedMappingStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.FeedMappingStatusEnum_FeedMappingStatus" json:"status,omitempty"`
45	// Feed mapping target. Can be either a placeholder or a criterion. For a
46	// given feed, the active FeedMappings must have unique targets. Required.
47	//
48	// Types that are valid to be assigned to Target:
49	//	*FeedMapping_PlaceholderType
50	//	*FeedMapping_CriterionType
51	Target               isFeedMapping_Target `protobuf_oneof:"target"`
52	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
53	XXX_unrecognized     []byte               `json:"-"`
54	XXX_sizecache        int32                `json:"-"`
55}
56
57func (m *FeedMapping) Reset()         { *m = FeedMapping{} }
58func (m *FeedMapping) String() string { return proto.CompactTextString(m) }
59func (*FeedMapping) ProtoMessage()    {}
60func (*FeedMapping) Descriptor() ([]byte, []int) {
61	return fileDescriptor_715359bad08813c0, []int{0}
62}
63
64func (m *FeedMapping) XXX_Unmarshal(b []byte) error {
65	return xxx_messageInfo_FeedMapping.Unmarshal(m, b)
66}
67func (m *FeedMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
68	return xxx_messageInfo_FeedMapping.Marshal(b, m, deterministic)
69}
70func (m *FeedMapping) XXX_Merge(src proto.Message) {
71	xxx_messageInfo_FeedMapping.Merge(m, src)
72}
73func (m *FeedMapping) XXX_Size() int {
74	return xxx_messageInfo_FeedMapping.Size(m)
75}
76func (m *FeedMapping) XXX_DiscardUnknown() {
77	xxx_messageInfo_FeedMapping.DiscardUnknown(m)
78}
79
80var xxx_messageInfo_FeedMapping proto.InternalMessageInfo
81
82func (m *FeedMapping) GetResourceName() string {
83	if m != nil {
84		return m.ResourceName
85	}
86	return ""
87}
88
89func (m *FeedMapping) GetFeed() *wrappers.StringValue {
90	if m != nil {
91		return m.Feed
92	}
93	return nil
94}
95
96func (m *FeedMapping) GetAttributeFieldMappings() []*AttributeFieldMapping {
97	if m != nil {
98		return m.AttributeFieldMappings
99	}
100	return nil
101}
102
103func (m *FeedMapping) GetStatus() enums.FeedMappingStatusEnum_FeedMappingStatus {
104	if m != nil {
105		return m.Status
106	}
107	return enums.FeedMappingStatusEnum_UNSPECIFIED
108}
109
110type isFeedMapping_Target interface {
111	isFeedMapping_Target()
112}
113
114type FeedMapping_PlaceholderType struct {
115	PlaceholderType enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,3,opt,name=placeholder_type,json=placeholderType,proto3,enum=google.ads.googleads.v2.enums.PlaceholderTypeEnum_PlaceholderType,oneof"`
116}
117
118type FeedMapping_CriterionType struct {
119	CriterionType enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType `protobuf:"varint,4,opt,name=criterion_type,json=criterionType,proto3,enum=google.ads.googleads.v2.enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType,oneof"`
120}
121
122func (*FeedMapping_PlaceholderType) isFeedMapping_Target() {}
123
124func (*FeedMapping_CriterionType) isFeedMapping_Target() {}
125
126func (m *FeedMapping) GetTarget() isFeedMapping_Target {
127	if m != nil {
128		return m.Target
129	}
130	return nil
131}
132
133func (m *FeedMapping) GetPlaceholderType() enums.PlaceholderTypeEnum_PlaceholderType {
134	if x, ok := m.GetTarget().(*FeedMapping_PlaceholderType); ok {
135		return x.PlaceholderType
136	}
137	return enums.PlaceholderTypeEnum_UNSPECIFIED
138}
139
140func (m *FeedMapping) GetCriterionType() enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType {
141	if x, ok := m.GetTarget().(*FeedMapping_CriterionType); ok {
142		return x.CriterionType
143	}
144	return enums.FeedMappingCriterionTypeEnum_UNSPECIFIED
145}
146
147// XXX_OneofWrappers is for the internal use of the proto package.
148func (*FeedMapping) XXX_OneofWrappers() []interface{} {
149	return []interface{}{
150		(*FeedMapping_PlaceholderType)(nil),
151		(*FeedMapping_CriterionType)(nil),
152	}
153}
154
155// Maps from feed attribute id to a placeholder or criterion field id.
156type AttributeFieldMapping struct {
157	// Feed attribute from which to map.
158	FeedAttributeId *wrappers.Int64Value `protobuf:"bytes,1,opt,name=feed_attribute_id,json=feedAttributeId,proto3" json:"feed_attribute_id,omitempty"`
159	// The placeholder field ID. If a placeholder field enum is not published in
160	// the current API version, then this field will be populated and the field
161	// oneof will be empty.
162	// This field is read-only.
163	FieldId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"`
164	// Placeholder or criterion field to be populated using data from
165	// the above feed attribute. Required.
166	//
167	// Types that are valid to be assigned to Field:
168	//	*AttributeFieldMapping_SitelinkField
169	//	*AttributeFieldMapping_CallField
170	//	*AttributeFieldMapping_AppField
171	//	*AttributeFieldMapping_LocationField
172	//	*AttributeFieldMapping_AffiliateLocationField
173	//	*AttributeFieldMapping_CalloutField
174	//	*AttributeFieldMapping_StructuredSnippetField
175	//	*AttributeFieldMapping_MessageField
176	//	*AttributeFieldMapping_PriceField
177	//	*AttributeFieldMapping_PromotionField
178	//	*AttributeFieldMapping_AdCustomizerField
179	//	*AttributeFieldMapping_DsaPageFeedField
180	//	*AttributeFieldMapping_LocationExtensionTargetingField
181	//	*AttributeFieldMapping_EducationField
182	//	*AttributeFieldMapping_FlightField
183	//	*AttributeFieldMapping_CustomField
184	//	*AttributeFieldMapping_HotelField
185	//	*AttributeFieldMapping_RealEstateField
186	//	*AttributeFieldMapping_TravelField
187	//	*AttributeFieldMapping_LocalField
188	//	*AttributeFieldMapping_JobField
189	Field                isAttributeFieldMapping_Field `protobuf_oneof:"field"`
190	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
191	XXX_unrecognized     []byte                        `json:"-"`
192	XXX_sizecache        int32                         `json:"-"`
193}
194
195func (m *AttributeFieldMapping) Reset()         { *m = AttributeFieldMapping{} }
196func (m *AttributeFieldMapping) String() string { return proto.CompactTextString(m) }
197func (*AttributeFieldMapping) ProtoMessage()    {}
198func (*AttributeFieldMapping) Descriptor() ([]byte, []int) {
199	return fileDescriptor_715359bad08813c0, []int{1}
200}
201
202func (m *AttributeFieldMapping) XXX_Unmarshal(b []byte) error {
203	return xxx_messageInfo_AttributeFieldMapping.Unmarshal(m, b)
204}
205func (m *AttributeFieldMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
206	return xxx_messageInfo_AttributeFieldMapping.Marshal(b, m, deterministic)
207}
208func (m *AttributeFieldMapping) XXX_Merge(src proto.Message) {
209	xxx_messageInfo_AttributeFieldMapping.Merge(m, src)
210}
211func (m *AttributeFieldMapping) XXX_Size() int {
212	return xxx_messageInfo_AttributeFieldMapping.Size(m)
213}
214func (m *AttributeFieldMapping) XXX_DiscardUnknown() {
215	xxx_messageInfo_AttributeFieldMapping.DiscardUnknown(m)
216}
217
218var xxx_messageInfo_AttributeFieldMapping proto.InternalMessageInfo
219
220func (m *AttributeFieldMapping) GetFeedAttributeId() *wrappers.Int64Value {
221	if m != nil {
222		return m.FeedAttributeId
223	}
224	return nil
225}
226
227func (m *AttributeFieldMapping) GetFieldId() *wrappers.Int64Value {
228	if m != nil {
229		return m.FieldId
230	}
231	return nil
232}
233
234type isAttributeFieldMapping_Field interface {
235	isAttributeFieldMapping_Field()
236}
237
238type AttributeFieldMapping_SitelinkField struct {
239	SitelinkField enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField `protobuf:"varint,3,opt,name=sitelink_field,json=sitelinkField,proto3,enum=google.ads.googleads.v2.enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField,oneof"`
240}
241
242type AttributeFieldMapping_CallField struct {
243	CallField enums.CallPlaceholderFieldEnum_CallPlaceholderField `protobuf:"varint,4,opt,name=call_field,json=callField,proto3,enum=google.ads.googleads.v2.enums.CallPlaceholderFieldEnum_CallPlaceholderField,oneof"`
244}
245
246type AttributeFieldMapping_AppField struct {
247	AppField enums.AppPlaceholderFieldEnum_AppPlaceholderField `protobuf:"varint,5,opt,name=app_field,json=appField,proto3,enum=google.ads.googleads.v2.enums.AppPlaceholderFieldEnum_AppPlaceholderField,oneof"`
248}
249
250type AttributeFieldMapping_LocationField struct {
251	LocationField enums.LocationPlaceholderFieldEnum_LocationPlaceholderField `protobuf:"varint,6,opt,name=location_field,json=locationField,proto3,enum=google.ads.googleads.v2.enums.LocationPlaceholderFieldEnum_LocationPlaceholderField,oneof"`
252}
253
254type AttributeFieldMapping_AffiliateLocationField struct {
255	AffiliateLocationField enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField `protobuf:"varint,7,opt,name=affiliate_location_field,json=affiliateLocationField,proto3,enum=google.ads.googleads.v2.enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField,oneof"`
256}
257
258type AttributeFieldMapping_CalloutField struct {
259	CalloutField enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField `protobuf:"varint,8,opt,name=callout_field,json=calloutField,proto3,enum=google.ads.googleads.v2.enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField,oneof"`
260}
261
262type AttributeFieldMapping_StructuredSnippetField struct {
263	StructuredSnippetField enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField `protobuf:"varint,9,opt,name=structured_snippet_field,json=structuredSnippetField,proto3,enum=google.ads.googleads.v2.enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField,oneof"`
264}
265
266type AttributeFieldMapping_MessageField struct {
267	MessageField enums.MessagePlaceholderFieldEnum_MessagePlaceholderField `protobuf:"varint,10,opt,name=message_field,json=messageField,proto3,enum=google.ads.googleads.v2.enums.MessagePlaceholderFieldEnum_MessagePlaceholderField,oneof"`
268}
269
270type AttributeFieldMapping_PriceField struct {
271	PriceField enums.PricePlaceholderFieldEnum_PricePlaceholderField `protobuf:"varint,11,opt,name=price_field,json=priceField,proto3,enum=google.ads.googleads.v2.enums.PricePlaceholderFieldEnum_PricePlaceholderField,oneof"`
272}
273
274type AttributeFieldMapping_PromotionField struct {
275	PromotionField enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField `protobuf:"varint,12,opt,name=promotion_field,json=promotionField,proto3,enum=google.ads.googleads.v2.enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField,oneof"`
276}
277
278type AttributeFieldMapping_AdCustomizerField struct {
279	AdCustomizerField enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField `protobuf:"varint,13,opt,name=ad_customizer_field,json=adCustomizerField,proto3,enum=google.ads.googleads.v2.enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField,oneof"`
280}
281
282type AttributeFieldMapping_DsaPageFeedField struct {
283	DsaPageFeedField enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField `protobuf:"varint,14,opt,name=dsa_page_feed_field,json=dsaPageFeedField,proto3,enum=google.ads.googleads.v2.enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField,oneof"`
284}
285
286type AttributeFieldMapping_LocationExtensionTargetingField struct {
287	LocationExtensionTargetingField enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField `protobuf:"varint,15,opt,name=location_extension_targeting_field,json=locationExtensionTargetingField,proto3,enum=google.ads.googleads.v2.enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField,oneof"`
288}
289
290type AttributeFieldMapping_EducationField struct {
291	EducationField enums.EducationPlaceholderFieldEnum_EducationPlaceholderField `protobuf:"varint,16,opt,name=education_field,json=educationField,proto3,enum=google.ads.googleads.v2.enums.EducationPlaceholderFieldEnum_EducationPlaceholderField,oneof"`
292}
293
294type AttributeFieldMapping_FlightField struct {
295	FlightField enums.FlightPlaceholderFieldEnum_FlightPlaceholderField `protobuf:"varint,17,opt,name=flight_field,json=flightField,proto3,enum=google.ads.googleads.v2.enums.FlightPlaceholderFieldEnum_FlightPlaceholderField,oneof"`
296}
297
298type AttributeFieldMapping_CustomField struct {
299	CustomField enums.CustomPlaceholderFieldEnum_CustomPlaceholderField `protobuf:"varint,18,opt,name=custom_field,json=customField,proto3,enum=google.ads.googleads.v2.enums.CustomPlaceholderFieldEnum_CustomPlaceholderField,oneof"`
300}
301
302type AttributeFieldMapping_HotelField struct {
303	HotelField enums.HotelPlaceholderFieldEnum_HotelPlaceholderField `protobuf:"varint,19,opt,name=hotel_field,json=hotelField,proto3,enum=google.ads.googleads.v2.enums.HotelPlaceholderFieldEnum_HotelPlaceholderField,oneof"`
304}
305
306type AttributeFieldMapping_RealEstateField struct {
307	RealEstateField enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField `protobuf:"varint,20,opt,name=real_estate_field,json=realEstateField,proto3,enum=google.ads.googleads.v2.enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField,oneof"`
308}
309
310type AttributeFieldMapping_TravelField struct {
311	TravelField enums.TravelPlaceholderFieldEnum_TravelPlaceholderField `protobuf:"varint,21,opt,name=travel_field,json=travelField,proto3,enum=google.ads.googleads.v2.enums.TravelPlaceholderFieldEnum_TravelPlaceholderField,oneof"`
312}
313
314type AttributeFieldMapping_LocalField struct {
315	LocalField enums.LocalPlaceholderFieldEnum_LocalPlaceholderField `protobuf:"varint,22,opt,name=local_field,json=localField,proto3,enum=google.ads.googleads.v2.enums.LocalPlaceholderFieldEnum_LocalPlaceholderField,oneof"`
316}
317
318type AttributeFieldMapping_JobField struct {
319	JobField enums.JobPlaceholderFieldEnum_JobPlaceholderField `protobuf:"varint,23,opt,name=job_field,json=jobField,proto3,enum=google.ads.googleads.v2.enums.JobPlaceholderFieldEnum_JobPlaceholderField,oneof"`
320}
321
322func (*AttributeFieldMapping_SitelinkField) isAttributeFieldMapping_Field() {}
323
324func (*AttributeFieldMapping_CallField) isAttributeFieldMapping_Field() {}
325
326func (*AttributeFieldMapping_AppField) isAttributeFieldMapping_Field() {}
327
328func (*AttributeFieldMapping_LocationField) isAttributeFieldMapping_Field() {}
329
330func (*AttributeFieldMapping_AffiliateLocationField) isAttributeFieldMapping_Field() {}
331
332func (*AttributeFieldMapping_CalloutField) isAttributeFieldMapping_Field() {}
333
334func (*AttributeFieldMapping_StructuredSnippetField) isAttributeFieldMapping_Field() {}
335
336func (*AttributeFieldMapping_MessageField) isAttributeFieldMapping_Field() {}
337
338func (*AttributeFieldMapping_PriceField) isAttributeFieldMapping_Field() {}
339
340func (*AttributeFieldMapping_PromotionField) isAttributeFieldMapping_Field() {}
341
342func (*AttributeFieldMapping_AdCustomizerField) isAttributeFieldMapping_Field() {}
343
344func (*AttributeFieldMapping_DsaPageFeedField) isAttributeFieldMapping_Field() {}
345
346func (*AttributeFieldMapping_LocationExtensionTargetingField) isAttributeFieldMapping_Field() {}
347
348func (*AttributeFieldMapping_EducationField) isAttributeFieldMapping_Field() {}
349
350func (*AttributeFieldMapping_FlightField) isAttributeFieldMapping_Field() {}
351
352func (*AttributeFieldMapping_CustomField) isAttributeFieldMapping_Field() {}
353
354func (*AttributeFieldMapping_HotelField) isAttributeFieldMapping_Field() {}
355
356func (*AttributeFieldMapping_RealEstateField) isAttributeFieldMapping_Field() {}
357
358func (*AttributeFieldMapping_TravelField) isAttributeFieldMapping_Field() {}
359
360func (*AttributeFieldMapping_LocalField) isAttributeFieldMapping_Field() {}
361
362func (*AttributeFieldMapping_JobField) isAttributeFieldMapping_Field() {}
363
364func (m *AttributeFieldMapping) GetField() isAttributeFieldMapping_Field {
365	if m != nil {
366		return m.Field
367	}
368	return nil
369}
370
371func (m *AttributeFieldMapping) GetSitelinkField() enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField {
372	if x, ok := m.GetField().(*AttributeFieldMapping_SitelinkField); ok {
373		return x.SitelinkField
374	}
375	return enums.SitelinkPlaceholderFieldEnum_UNSPECIFIED
376}
377
378func (m *AttributeFieldMapping) GetCallField() enums.CallPlaceholderFieldEnum_CallPlaceholderField {
379	if x, ok := m.GetField().(*AttributeFieldMapping_CallField); ok {
380		return x.CallField
381	}
382	return enums.CallPlaceholderFieldEnum_UNSPECIFIED
383}
384
385func (m *AttributeFieldMapping) GetAppField() enums.AppPlaceholderFieldEnum_AppPlaceholderField {
386	if x, ok := m.GetField().(*AttributeFieldMapping_AppField); ok {
387		return x.AppField
388	}
389	return enums.AppPlaceholderFieldEnum_UNSPECIFIED
390}
391
392func (m *AttributeFieldMapping) GetLocationField() enums.LocationPlaceholderFieldEnum_LocationPlaceholderField {
393	if x, ok := m.GetField().(*AttributeFieldMapping_LocationField); ok {
394		return x.LocationField
395	}
396	return enums.LocationPlaceholderFieldEnum_UNSPECIFIED
397}
398
399func (m *AttributeFieldMapping) GetAffiliateLocationField() enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField {
400	if x, ok := m.GetField().(*AttributeFieldMapping_AffiliateLocationField); ok {
401		return x.AffiliateLocationField
402	}
403	return enums.AffiliateLocationPlaceholderFieldEnum_UNSPECIFIED
404}
405
406func (m *AttributeFieldMapping) GetCalloutField() enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField {
407	if x, ok := m.GetField().(*AttributeFieldMapping_CalloutField); ok {
408		return x.CalloutField
409	}
410	return enums.CalloutPlaceholderFieldEnum_UNSPECIFIED
411}
412
413func (m *AttributeFieldMapping) GetStructuredSnippetField() enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField {
414	if x, ok := m.GetField().(*AttributeFieldMapping_StructuredSnippetField); ok {
415		return x.StructuredSnippetField
416	}
417	return enums.StructuredSnippetPlaceholderFieldEnum_UNSPECIFIED
418}
419
420func (m *AttributeFieldMapping) GetMessageField() enums.MessagePlaceholderFieldEnum_MessagePlaceholderField {
421	if x, ok := m.GetField().(*AttributeFieldMapping_MessageField); ok {
422		return x.MessageField
423	}
424	return enums.MessagePlaceholderFieldEnum_UNSPECIFIED
425}
426
427func (m *AttributeFieldMapping) GetPriceField() enums.PricePlaceholderFieldEnum_PricePlaceholderField {
428	if x, ok := m.GetField().(*AttributeFieldMapping_PriceField); ok {
429		return x.PriceField
430	}
431	return enums.PricePlaceholderFieldEnum_UNSPECIFIED
432}
433
434func (m *AttributeFieldMapping) GetPromotionField() enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField {
435	if x, ok := m.GetField().(*AttributeFieldMapping_PromotionField); ok {
436		return x.PromotionField
437	}
438	return enums.PromotionPlaceholderFieldEnum_UNSPECIFIED
439}
440
441func (m *AttributeFieldMapping) GetAdCustomizerField() enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField {
442	if x, ok := m.GetField().(*AttributeFieldMapping_AdCustomizerField); ok {
443		return x.AdCustomizerField
444	}
445	return enums.AdCustomizerPlaceholderFieldEnum_UNSPECIFIED
446}
447
448func (m *AttributeFieldMapping) GetDsaPageFeedField() enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField {
449	if x, ok := m.GetField().(*AttributeFieldMapping_DsaPageFeedField); ok {
450		return x.DsaPageFeedField
451	}
452	return enums.DsaPageFeedCriterionFieldEnum_UNSPECIFIED
453}
454
455func (m *AttributeFieldMapping) GetLocationExtensionTargetingField() enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField {
456	if x, ok := m.GetField().(*AttributeFieldMapping_LocationExtensionTargetingField); ok {
457		return x.LocationExtensionTargetingField
458	}
459	return enums.LocationExtensionTargetingCriterionFieldEnum_UNSPECIFIED
460}
461
462func (m *AttributeFieldMapping) GetEducationField() enums.EducationPlaceholderFieldEnum_EducationPlaceholderField {
463	if x, ok := m.GetField().(*AttributeFieldMapping_EducationField); ok {
464		return x.EducationField
465	}
466	return enums.EducationPlaceholderFieldEnum_UNSPECIFIED
467}
468
469func (m *AttributeFieldMapping) GetFlightField() enums.FlightPlaceholderFieldEnum_FlightPlaceholderField {
470	if x, ok := m.GetField().(*AttributeFieldMapping_FlightField); ok {
471		return x.FlightField
472	}
473	return enums.FlightPlaceholderFieldEnum_UNSPECIFIED
474}
475
476func (m *AttributeFieldMapping) GetCustomField() enums.CustomPlaceholderFieldEnum_CustomPlaceholderField {
477	if x, ok := m.GetField().(*AttributeFieldMapping_CustomField); ok {
478		return x.CustomField
479	}
480	return enums.CustomPlaceholderFieldEnum_UNSPECIFIED
481}
482
483func (m *AttributeFieldMapping) GetHotelField() enums.HotelPlaceholderFieldEnum_HotelPlaceholderField {
484	if x, ok := m.GetField().(*AttributeFieldMapping_HotelField); ok {
485		return x.HotelField
486	}
487	return enums.HotelPlaceholderFieldEnum_UNSPECIFIED
488}
489
490func (m *AttributeFieldMapping) GetRealEstateField() enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField {
491	if x, ok := m.GetField().(*AttributeFieldMapping_RealEstateField); ok {
492		return x.RealEstateField
493	}
494	return enums.RealEstatePlaceholderFieldEnum_UNSPECIFIED
495}
496
497func (m *AttributeFieldMapping) GetTravelField() enums.TravelPlaceholderFieldEnum_TravelPlaceholderField {
498	if x, ok := m.GetField().(*AttributeFieldMapping_TravelField); ok {
499		return x.TravelField
500	}
501	return enums.TravelPlaceholderFieldEnum_UNSPECIFIED
502}
503
504func (m *AttributeFieldMapping) GetLocalField() enums.LocalPlaceholderFieldEnum_LocalPlaceholderField {
505	if x, ok := m.GetField().(*AttributeFieldMapping_LocalField); ok {
506		return x.LocalField
507	}
508	return enums.LocalPlaceholderFieldEnum_UNSPECIFIED
509}
510
511func (m *AttributeFieldMapping) GetJobField() enums.JobPlaceholderFieldEnum_JobPlaceholderField {
512	if x, ok := m.GetField().(*AttributeFieldMapping_JobField); ok {
513		return x.JobField
514	}
515	return enums.JobPlaceholderFieldEnum_UNSPECIFIED
516}
517
518// XXX_OneofWrappers is for the internal use of the proto package.
519func (*AttributeFieldMapping) XXX_OneofWrappers() []interface{} {
520	return []interface{}{
521		(*AttributeFieldMapping_SitelinkField)(nil),
522		(*AttributeFieldMapping_CallField)(nil),
523		(*AttributeFieldMapping_AppField)(nil),
524		(*AttributeFieldMapping_LocationField)(nil),
525		(*AttributeFieldMapping_AffiliateLocationField)(nil),
526		(*AttributeFieldMapping_CalloutField)(nil),
527		(*AttributeFieldMapping_StructuredSnippetField)(nil),
528		(*AttributeFieldMapping_MessageField)(nil),
529		(*AttributeFieldMapping_PriceField)(nil),
530		(*AttributeFieldMapping_PromotionField)(nil),
531		(*AttributeFieldMapping_AdCustomizerField)(nil),
532		(*AttributeFieldMapping_DsaPageFeedField)(nil),
533		(*AttributeFieldMapping_LocationExtensionTargetingField)(nil),
534		(*AttributeFieldMapping_EducationField)(nil),
535		(*AttributeFieldMapping_FlightField)(nil),
536		(*AttributeFieldMapping_CustomField)(nil),
537		(*AttributeFieldMapping_HotelField)(nil),
538		(*AttributeFieldMapping_RealEstateField)(nil),
539		(*AttributeFieldMapping_TravelField)(nil),
540		(*AttributeFieldMapping_LocalField)(nil),
541		(*AttributeFieldMapping_JobField)(nil),
542	}
543}
544
545func init() {
546	proto.RegisterType((*FeedMapping)(nil), "google.ads.googleads.v2.resources.FeedMapping")
547	proto.RegisterType((*AttributeFieldMapping)(nil), "google.ads.googleads.v2.resources.AttributeFieldMapping")
548}
549
550func init() {
551	proto.RegisterFile("google/ads/googleads/v2/resources/feed_mapping.proto", fileDescriptor_715359bad08813c0)
552}
553
554var fileDescriptor_715359bad08813c0 = []byte{
555	// 1315 bytes of a gzipped FileDescriptorProto
556	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x98, 0x5d, 0x6f, 0xe3, 0x44,
557	0x17, 0xc7, 0xed, 0x6e, 0x5f, 0x27, 0x7d, 0x4d, 0x9f, 0xed, 0x13, 0x2d, 0x2b, 0xe8, 0x16, 0xad,
558	0xd4, 0x2b, 0x07, 0x85, 0x6a, 0x81, 0x2c, 0x2f, 0x4a, 0x4b, 0x5b, 0xb7, 0xda, 0x5d, 0x45, 0x6e,
559	0x55, 0x21, 0x54, 0x11, 0x4d, 0xe2, 0x49, 0xea, 0xe2, 0xd8, 0xc6, 0x1e, 0x17, 0x8a, 0xb4, 0x17,
560	0xdc, 0xc0, 0x1d, 0x1f, 0x62, 0x2f, 0xb9, 0xe4, 0x2b, 0x70, 0xc7, 0x35, 0x9f, 0x82, 0xef, 0x80,
561	0x84, 0x66, 0x8e, 0x3d, 0x71, 0xbb, 0x33, 0x1e, 0x93, 0x3b, 0x77, 0xce, 0xf9, 0x9f, 0xdf, 0xc9,
562	0xf1, 0x99, 0xf1, 0x99, 0xa2, 0xbd, 0x51, 0x18, 0x8e, 0x7c, 0xd2, 0xc4, 0x6e, 0xd2, 0x84, 0x47,
563	0xf6, 0x74, 0xd3, 0x6a, 0xc6, 0x24, 0x09, 0xd3, 0x78, 0x40, 0x92, 0xe6, 0x90, 0x10, 0xb7, 0x37,
564	0xc6, 0x51, 0xe4, 0x05, 0x23, 0x2b, 0x8a, 0x43, 0x1a, 0xd6, 0x9f, 0x80, 0xab, 0x85, 0xdd, 0xc4,
565	0x12, 0x2a, 0xeb, 0xa6, 0x65, 0x09, 0xd5, 0xa3, 0x03, 0x55, 0x60, 0x12, 0xa4, 0xe3, 0xa4, 0x89,
566	0xdd, 0xde, 0x20, 0x4d, 0x68, 0x38, 0xf6, 0x7e, 0x24, 0x71, 0x2f, 0xf2, 0xf1, 0x80, 0x5c, 0x85,
567	0xbe, 0x4b, 0xe2, 0xde, 0xd0, 0x23, 0xbe, 0x0b, 0x9c, 0x47, 0xb6, 0x26, 0xc8, 0x70, 0xe8, 0xf9,
568	0x1e, 0xa6, 0xa4, 0xe7, 0x87, 0x03, 0x4c, 0xbd, 0x30, 0x50, 0x46, 0xfa, 0x44, 0x13, 0x29, 0x8a,
569	0x94, 0xd2, 0x76, 0xb9, 0x74, 0x80, 0x7d, 0x5f, 0xa9, 0xfd, 0x4c, 0xaf, 0x0d, 0x53, 0xaa, 0x94,
570	0x7f, 0xaa, 0x91, 0xf3, 0x0a, 0x2a, 0xd5, 0x9d, 0x72, 0xb5, 0x9b, 0xe0, 0x5e, 0x84, 0x47, 0xa4,
571	0xc7, 0x5f, 0xf0, 0x20, 0xf6, 0x28, 0x89, 0x59, 0x09, 0x8b, 0x21, 0xbe, 0x28, 0x0f, 0x41, 0xdc,
572	0x54, 0x53, 0x77, 0x4d, 0x80, 0x62, 0x6f, 0x15, 0x52, 0xa0, 0xb7, 0x11, 0xc9, 0x02, 0x7c, 0xf4,
573	0x1f, 0x02, 0x24, 0x14, 0xd3, 0x34, 0xa9, 0x56, 0xbb, 0xa1, 0xef, 0x8d, 0xae, 0xd4, 0x95, 0x7f,
574	0x5e, 0xae, 0xbe, 0x0a, 0x29, 0x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, 0x09, 0xe8, 0xb3, 0x3d,
597	0xe8, 0x92, 0x35, 0xa6, 0x12, 0x21, 0x4f, 0xdc, 0xfa, 0x33, 0xb4, 0x08, 0x6d, 0xe2, 0xe5, 0x6d,
598	0x56, 0xaa, 0x5f, 0xe0, 0xce, 0x27, 0x2e, 0xab, 0x91, 0xd8, 0xb9, 0x7c, 0x2d, 0x7b, 0x25, 0xba,
599	0x1a, 0x9d, 0x65, 0xa2, 0xc2, 0x6b, 0xe0, 0x3f, 0x8c, 0xd7, 0x48, 0x65, 0x64, 0x35, 0xca, 0x69,
600	0x7c, 0xa1, 0x3e, 0x46, 0x88, 0x8f, 0x2a, 0x80, 0x86, 0xd7, 0xf3, 0x42, 0x83, 0x3e, 0xc0, 0xbe,
601	0x2f, 0xc5, 0xca, 0x0c, 0xb6, 0xe1, 0x2c, 0x31, 0x02, 0xe0, 0x3c, 0xb4, 0xc4, 0x86, 0x2a, 0xa0,
602	0xcd, 0x71, 0xda, 0xa9, 0x86, 0xd6, 0x89, 0x22, 0x29, 0x4c, 0xb2, 0x6e, 0x1b, 0xce, 0x22, 0x8e,
603	0x22, 0x40, 0xbd, 0x46, 0xab, 0xe2, 0x43, 0x04, 0xbc, 0xf9, 0x4a, 0x85, 0x7d, 0x91, 0x89, 0xa4,
604	0x50, 0x95, 0x91, 0x15, 0x36, 0xa7, 0x01, 0xfe, 0x8d, 0x89, 0x1a, 0x92, 0x49, 0x14, 0x32, 0x59,
605	0xe0, 0x99, 0x0c, 0x75, 0xbf, 0x3c, 0x97, 0x97, 0xa6, 0xa4, 0xf5, 0xb2, 0x0d, 0x67, 0x0b, 0xdf,
606	0x77, 0x82, 0x24, 0x6f, 0xd1, 0x4a, 0x3e, 0x6c, 0x42, 0x62, 0x8b, 0x3c, 0x31, 0xa7, 0x42, 0x03,
607	0x84, 0x29, 0x55, 0xf6, 0x80, 0xc4, 0x66, 0x1b, 0xce, 0x72, 0x86, 0x9a, 0xd4, 0x47, 0xf2, 0xc9,
608	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0xcf, 0x57, 0xfa, 0x4e, 0x9a, 0x6c, 0x72, 0x41, 0x84, 0x94, 0xd7, 0x2b, 0xd5,
620	0xf2, 0x30, 0x57, 0x49, 0xdf, 0xac, 0xd2, 0xca, 0x9a, 0x4c, 0x00, 0x21, 0x87, 0x14, 0x2d, 0x67,
621	0x17, 0x3d, 0xe0, 0x6f, 0x70, 0x7e, 0x57, 0x37, 0x95, 0x70, 0x89, 0x14, 0x2e, 0x37, 0xd9, 0x86,
622	0x53, 0x03, 0x8e, 0xc0, 0x66, 0x77, 0x73, 0xc0, 0xd6, 0x2b, 0x61, 0xa1, 0x21, 0xe5, 0x67, 0xad,
623	0xd4, 0xc4, 0xb0, 0xc0, 0x11, 0x27, 0x09, 0x5c, 0x4c, 0x81, 0xba, 0x59, 0xe9, 0x24, 0xb1, 0x99,
624	0x42, 0x0a, 0x95, 0x5a, 0xd8, 0x49, 0xc2, 0x21, 0x80, 0xfc, 0xd9, 0x44, 0x1b, 0xc5, 0x2b, 0x0d,
625	0x90, 0xff, 0xc7, 0xc9, 0x5f, 0x69, 0xc8, 0x0e, 0xc1, 0xfe, 0x21, 0x97, 0x49, 0xf1, 0x6a, 0x33,
626	0x9b, 0x40, 0x63, 0x61, 0x15, 0x25, 0xcf, 0x6e, 0x23, 0x90, 0xc2, 0xc3, 0x4a, 0x25, 0x3f, 0xe7,
627	0x12, 0x29, 0x5e, 0x6e, 0x62, 0x25, 0x07, 0x8e, 0x28, 0x39, 0xdc, 0xc9, 0x81, 0xba, 0x55, 0xa9,
628	0xe4, 0x6c, 0x97, 0xf9, 0xca, 0xa9, 0x43, 0x5a, 0x72, 0x0e, 0x11, 0x93, 0xd5, 0x75, 0xd8, 0xcf,
629	0x80, 0xff, 0xaf, 0x34, 0x59, 0x9d, 0x86, 0x7d, 0x29, 0x4e, 0xb2, 0xce, 0x26, 0xab, 0xeb, 0xb0,
630	0xcf, 0x9f, 0xf7, 0x17, 0xd0, 0x1c, 0xc7, 0xec, 0xff, 0x63, 0xa2, 0xa7, 0x83, 0x70, 0xac, 0xbf,
631	0x08, 0xed, 0xaf, 0x17, 0xa6, 0xf6, 0x2e, 0x1b, 0x87, 0xbb, 0xe6, 0xd7, 0xa7, 0x99, 0x6c, 0x14,
632	0xfa, 0x38, 0x18, 0x59, 0x61, 0x3c, 0x6a, 0x8e, 0x48, 0xc0, 0x87, 0xe5, 0xfc, 0x56, 0x19, 0x79,
633	0x49, 0xc9, 0xff, 0x20, 0x9f, 0x8b, 0xa7, 0x37, 0x33, 0x0f, 0x8e, 0x3b, 0x9d, 0xdf, 0x66, 0x9e,
634	0x1c, 0x43, 0xc8, 0x8e, 0x9b, 0x58, 0xf0, 0xc8, 0x9e, 0x2e, 0x5a, 0x96, 0x93, 0x7b, 0xfe, 0x99,
635	0xfb, 0x5c, 0x76, 0xdc, 0xe4, 0x52, 0xf8, 0x5c, 0x5e, 0xb4, 0x2e, 0x85, 0xcf, 0xdf, 0x33, 0x4f,
636	0xc1, 0xd0, 0x6e, 0x77, 0xdc, 0xa4, 0xdd, 0x16, 0x5e, 0xed, 0xf6, 0x45, 0xab, 0xdd, 0x16, 0x7e,
637	0xfd, 0x79, 0x9e, 0xec, 0x87, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xfc, 0xc5, 0xe0, 0xc2, 0x2f,
638	0x15, 0x00, 0x00,
639}
640