| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v2/errors/feed_mapping_error.proto |
| |
| package errors |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| 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_9206d9cdd1c4813c, []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_9206d9cdd1c4813c, []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.v2.errors.FeedMappingErrorEnum_FeedMappingError", FeedMappingErrorEnum_FeedMappingError_name, FeedMappingErrorEnum_FeedMappingError_value) |
| proto.RegisterType((*FeedMappingErrorEnum)(nil), "google.ads.googleads.v2.errors.FeedMappingErrorEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v2/errors/feed_mapping_error.proto", fileDescriptor_9206d9cdd1c4813c) |
| } |
| |
| var fileDescriptor_9206d9cdd1c4813c = []byte{ |
| // 556 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, 0xb8, 0xc0, 0x82, 0xc5, 0xdf, 0xad, 0x0c, 0x54, 0xfe, 0x0c, 0x86, |
| 0x94, 0x48, 0x05, 0x31, 0x94, 0x5d, 0xb9, 0x89, 0xd3, 0x59, 0x24, 0x76, 0x94, 0xb8, 0x85, 0xa2, |
| 0x4a, 0x56, 0x20, 0x21, 0xaa, 0xb4, 0x26, 0x55, 0x52, 0xf6, 0x40, 0x5c, 0xf2, 0x28, 0x5c, 0xf0, |
| 0x1a, 0x48, 0x5c, 0xf1, 0x08, 0x28, 0x71, 0x5b, 0xd6, 0xae, 0xdd, 0xae, 0x7a, 0xe4, 0xf3, 0xfd, |
| 0x3e, 0x1f, 0x7f, 0xcd, 0x01, 0x07, 0x71, 0x9a, 0x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