forked from kritzware/google-ads-go
/
feed_mapping_error.pb.go
197 lines (180 loc) · 10.7 KB
/
feed_mapping_error.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v0/errors/feed_mapping_error.proto
package errors
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
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
// Enum describing possible feed item errors.
type FeedMappingErrorEnum_FeedMappingError int32
const (
// Enum unspecified.
FeedMappingErrorEnum_UNSPECIFIED FeedMappingErrorEnum_FeedMappingError = 0
// The received error code is not known in this version.
FeedMappingErrorEnum_UNKNOWN FeedMappingErrorEnum_FeedMappingError = 1
// The given placeholder field does not exist.
FeedMappingErrorEnum_INVALID_PLACEHOLDER_FIELD FeedMappingErrorEnum_FeedMappingError = 2
// The given criterion field does not exist.
FeedMappingErrorEnum_INVALID_CRITERION_FIELD FeedMappingErrorEnum_FeedMappingError = 3
// The given placeholder type does not exist.
FeedMappingErrorEnum_INVALID_PLACEHOLDER_TYPE FeedMappingErrorEnum_FeedMappingError = 4
// The given criterion type does not exist.
FeedMappingErrorEnum_INVALID_CRITERION_TYPE FeedMappingErrorEnum_FeedMappingError = 5
// A feed mapping must contain at least one attribute field mapping.
FeedMappingErrorEnum_NO_ATTRIBUTE_FIELD_MAPPINGS FeedMappingErrorEnum_FeedMappingError = 7
// The type of the feed attribute referenced in the attribute field mapping
// must match the type of the placeholder field.
FeedMappingErrorEnum_FEED_ATTRIBUTE_TYPE_MISMATCH FeedMappingErrorEnum_FeedMappingError = 8
// A feed mapping for a system generated feed cannot be operated on.
FeedMappingErrorEnum_CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED FeedMappingErrorEnum_FeedMappingError = 9
// Only one feed mapping for a placeholder type is allowed per feed or
// customer (depending on the placeholder type).
FeedMappingErrorEnum_MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE FeedMappingErrorEnum_FeedMappingError = 10
// Only one feed mapping for a criterion type is allowed per customer.
FeedMappingErrorEnum_MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE FeedMappingErrorEnum_FeedMappingError = 11
// Only one feed attribute mapping for a placeholder field is allowed
// (depending on the placeholder type).
FeedMappingErrorEnum_MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD FeedMappingErrorEnum_FeedMappingError = 12
// Only one feed attribute mapping for a criterion field is allowed
// (depending on the criterion type).
FeedMappingErrorEnum_MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD FeedMappingErrorEnum_FeedMappingError = 13
// This feed mapping may not contain any explicit attribute field mappings.
FeedMappingErrorEnum_UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS FeedMappingErrorEnum_FeedMappingError = 14
// Location placeholder feed mappings can only be created for Places feeds.
FeedMappingErrorEnum_LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS FeedMappingErrorEnum_FeedMappingError = 15
// Mappings for typed feeds cannot be modified.
FeedMappingErrorEnum_CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED FeedMappingErrorEnum_FeedMappingError = 16
// The given placeholder type can only be mapped to system generated feeds.
FeedMappingErrorEnum_INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED FeedMappingErrorEnum_FeedMappingError = 17
// The given placeholder type cannot be mapped to a system generated feed
// with the given type.
FeedMappingErrorEnum_INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE FeedMappingErrorEnum_FeedMappingError = 18
)
var FeedMappingErrorEnum_FeedMappingError_name = map[int32]string{
0: "UNSPECIFIED",
1: "UNKNOWN",
2: "INVALID_PLACEHOLDER_FIELD",
3: "INVALID_CRITERION_FIELD",
4: "INVALID_PLACEHOLDER_TYPE",
5: "INVALID_CRITERION_TYPE",
7: "NO_ATTRIBUTE_FIELD_MAPPINGS",
8: "FEED_ATTRIBUTE_TYPE_MISMATCH",
9: "CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED",
10: "MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE",
11: "MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE",
12: "MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD",
13: "MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD",
14: "UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS",
15: "LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS",
16: "CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED",
17: "INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED",
18: "INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE",
}
var FeedMappingErrorEnum_FeedMappingError_value = map[string]int32{
"UNSPECIFIED": 0,
"UNKNOWN": 1,
"INVALID_PLACEHOLDER_FIELD": 2,
"INVALID_CRITERION_FIELD": 3,
"INVALID_PLACEHOLDER_TYPE": 4,
"INVALID_CRITERION_TYPE": 5,
"NO_ATTRIBUTE_FIELD_MAPPINGS": 7,
"FEED_ATTRIBUTE_TYPE_MISMATCH": 8,
"CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED": 9,
"MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE": 10,
"MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE": 11,
"MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD": 12,
"MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD": 13,
"UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS": 14,
"LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS": 15,
"CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED": 16,
"INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED": 17,
"INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE": 18,
}
func (x FeedMappingErrorEnum_FeedMappingError) String() string {
return proto.EnumName(FeedMappingErrorEnum_FeedMappingError_name, int32(x))
}
func (FeedMappingErrorEnum_FeedMappingError) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_8fe0b067790a1620, []int{0, 0}
}
// Container for enum describing possible feed item errors.
type FeedMappingErrorEnum struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FeedMappingErrorEnum) Reset() { *m = FeedMappingErrorEnum{} }
func (m *FeedMappingErrorEnum) String() string { return proto.CompactTextString(m) }
func (*FeedMappingErrorEnum) ProtoMessage() {}
func (*FeedMappingErrorEnum) Descriptor() ([]byte, []int) {
return fileDescriptor_8fe0b067790a1620, []int{0}
}
func (m *FeedMappingErrorEnum) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FeedMappingErrorEnum.Unmarshal(m, b)
}
func (m *FeedMappingErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FeedMappingErrorEnum.Marshal(b, m, deterministic)
}
func (m *FeedMappingErrorEnum) XXX_Merge(src proto.Message) {
xxx_messageInfo_FeedMappingErrorEnum.Merge(m, src)
}
func (m *FeedMappingErrorEnum) XXX_Size() int {
return xxx_messageInfo_FeedMappingErrorEnum.Size(m)
}
func (m *FeedMappingErrorEnum) XXX_DiscardUnknown() {
xxx_messageInfo_FeedMappingErrorEnum.DiscardUnknown(m)
}
var xxx_messageInfo_FeedMappingErrorEnum proto.InternalMessageInfo
func init() {
proto.RegisterEnum("google.ads.googleads.v0.errors.FeedMappingErrorEnum_FeedMappingError", FeedMappingErrorEnum_FeedMappingError_name, FeedMappingErrorEnum_FeedMappingError_value)
proto.RegisterType((*FeedMappingErrorEnum)(nil), "google.ads.googleads.v0.errors.FeedMappingErrorEnum")
}
func init() {
proto.RegisterFile("google/ads/googleads/v0/errors/feed_mapping_error.proto", fileDescriptor_8fe0b067790a1620)
}
var fileDescriptor_8fe0b067790a1620 = []byte{
// 538 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xdf, 0x6e, 0xd3, 0x30,
0x14, 0xc6, 0x69, 0x47, 0x19, 0x9c, 0x02, 0x0b, 0x16, 0xff, 0x37, 0x06, 0x2a, 0x7f, 0x06, 0x43,
0x4a, 0x2b, 0x81, 0x18, 0xca, 0xae, 0xdc, 0xc4, 0xe9, 0x2c, 0x12, 0xdb, 0x4a, 0xdc, 0x42, 0x51,
0x25, 0xab, 0x90, 0x10, 0x4d, 0x5a, 0x9b, 0xaa, 0x81, 0x3d, 0x10, 0x97, 0x3c, 0x0a, 0x17, 0xbc,
0x06, 0x12, 0x57, 0x3c, 0x02, 0x4a, 0xdc, 0x96, 0xb5, 0x6b, 0xb7, 0xab, 0x1e, 0xf9, 0x7c, 0xbf,
0xcf, 0xc7, 0x5f, 0x73, 0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