| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/errors/feed_mapping_error.proto |
| |
| package errors |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| _ "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 |
| |
| // 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 |
| // The "field" oneof was not set in an AttributeFieldMapping. |
| FeedMappingErrorEnum_ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD FeedMappingErrorEnum_FeedMappingError = 19 |
| ) |
| |
| 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", |
| 19: "ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD", |
| } |
| |
| 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, |
| "ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD": 19, |
| } |
| |
| func (x FeedMappingErrorEnum_FeedMappingError) String() string { |
| return proto.EnumName(FeedMappingErrorEnum_FeedMappingError_name, int32(x)) |
| } |
| |
| func (FeedMappingErrorEnum_FeedMappingError) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_a10df35593e929d8, []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_a10df35593e929d8, []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.v3.errors.FeedMappingErrorEnum_FeedMappingError", FeedMappingErrorEnum_FeedMappingError_name, FeedMappingErrorEnum_FeedMappingError_value) |
| proto.RegisterType((*FeedMappingErrorEnum)(nil), "google.ads.googleads.v3.errors.FeedMappingErrorEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/errors/feed_mapping_error.proto", fileDescriptor_a10df35593e929d8) |
| } |
| |
| var fileDescriptor_a10df35593e929d8 = []byte{ |
| // 568 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xcd, 0x6e, 0xd3, 0x4c, |
| 0x14, 0xfd, 0x9a, 0x7e, 0x6d, 0x61, 0x0a, 0xd4, 0x0c, 0xff, 0x6d, 0x29, 0x28, 0xfc, 0x14, 0x8a, |
| 0x64, 0x2f, 0x8c, 0x28, 0x72, 0x57, 0x13, 0x7b, 0x9c, 0x8e, 0xb0, 0x67, 0x2c, 0x7b, 0x12, 0x08, |
| 0x8a, 0x34, 0x32, 0xd8, 0x58, 0x91, 0x1a, 0x3b, 0x8a, 0x43, 0x1f,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