| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/errors/customer_feed_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 customer feed errors. |
| type CustomerFeedErrorEnum_CustomerFeedError int32 |
| |
| const ( |
| // Enum unspecified. |
| CustomerFeedErrorEnum_UNSPECIFIED CustomerFeedErrorEnum_CustomerFeedError = 0 |
| // The received error code is not known in this version. |
| CustomerFeedErrorEnum_UNKNOWN CustomerFeedErrorEnum_CustomerFeedError = 1 |
| // An active feed already exists for this customer and place holder type. |
| CustomerFeedErrorEnum_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE CustomerFeedErrorEnum_CustomerFeedError = 2 |
| // The specified feed is removed. |
| CustomerFeedErrorEnum_CANNOT_CREATE_FOR_REMOVED_FEED CustomerFeedErrorEnum_CustomerFeedError = 3 |
| // The CustomerFeed already exists. Update should be used to modify the |
| // existing CustomerFeed. |
| CustomerFeedErrorEnum_CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED CustomerFeedErrorEnum_CustomerFeedError = 4 |
| // Cannot update removed customer feed. |
| CustomerFeedErrorEnum_CANNOT_MODIFY_REMOVED_CUSTOMER_FEED CustomerFeedErrorEnum_CustomerFeedError = 5 |
| // Invalid placeholder type. |
| CustomerFeedErrorEnum_INVALID_PLACEHOLDER_TYPE CustomerFeedErrorEnum_CustomerFeedError = 6 |
| // Feed mapping for this placeholder type does not exist. |
| CustomerFeedErrorEnum_MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE CustomerFeedErrorEnum_CustomerFeedError = 7 |
| // Placeholder not allowed at the account level. |
| CustomerFeedErrorEnum_PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED CustomerFeedErrorEnum_CustomerFeedError = 8 |
| ) |
| |
| var CustomerFeedErrorEnum_CustomerFeedError_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", |
| 3: "CANNOT_CREATE_FOR_REMOVED_FEED", |
| 4: "CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED", |
| 5: "CANNOT_MODIFY_REMOVED_CUSTOMER_FEED", |
| 6: "INVALID_PLACEHOLDER_TYPE", |
| 7: "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE", |
| 8: "PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED", |
| } |
| |
| var CustomerFeedErrorEnum_CustomerFeedError_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE": 2, |
| "CANNOT_CREATE_FOR_REMOVED_FEED": 3, |
| "CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED": 4, |
| "CANNOT_MODIFY_REMOVED_CUSTOMER_FEED": 5, |
| "INVALID_PLACEHOLDER_TYPE": 6, |
| "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE": 7, |
| "PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED": 8, |
| } |
| |
| func (x CustomerFeedErrorEnum_CustomerFeedError) String() string { |
| return proto.EnumName(CustomerFeedErrorEnum_CustomerFeedError_name, int32(x)) |
| } |
| |
| func (CustomerFeedErrorEnum_CustomerFeedError) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_4c4e12efa73e50ad, []int{0, 0} |
| } |
| |
| // Container for enum describing possible customer feed errors. |
| type CustomerFeedErrorEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CustomerFeedErrorEnum) Reset() { *m = CustomerFeedErrorEnum{} } |
| func (m *CustomerFeedErrorEnum) String() string { return proto.CompactTextString(m) } |
| func (*CustomerFeedErrorEnum) ProtoMessage() {} |
| func (*CustomerFeedErrorEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_4c4e12efa73e50ad, []int{0} |
| } |
| |
| func (m *CustomerFeedErrorEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CustomerFeedErrorEnum.Unmarshal(m, b) |
| } |
| func (m *CustomerFeedErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CustomerFeedErrorEnum.Marshal(b, m, deterministic) |
| } |
| func (m *CustomerFeedErrorEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CustomerFeedErrorEnum.Merge(m, src) |
| } |
| func (m *CustomerFeedErrorEnum) XXX_Size() int { |
| return xxx_messageInfo_CustomerFeedErrorEnum.Size(m) |
| } |
| func (m *CustomerFeedErrorEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_CustomerFeedErrorEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CustomerFeedErrorEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v3.errors.CustomerFeedErrorEnum_CustomerFeedError", CustomerFeedErrorEnum_CustomerFeedError_name, CustomerFeedErrorEnum_CustomerFeedError_value) |
| proto.RegisterType((*CustomerFeedErrorEnum)(nil), "google.ads.googleads.v3.errors.CustomerFeedErrorEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/errors/customer_feed_error.proto", fileDescriptor_4c4e12efa73e50ad) |
| } |
| |
| var fileDescriptor_4c4e12efa73e50ad = []byte{ |
| // 443 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x6f, 0xd3, 0x30, |
| 0x14, 0xc7, 0x69, 0x06, 0x1b, 0xf2, 0x0e, 0x14, 0x4b, 0x20, 0x84, 0xa6, 0x1e, 0xc2, 0x01, 0x0e, |
| 0xc3, 0x01, 0xe5, 0x82, 0xc2, 0xc9, 0x8b, 0x9d, 0x12, 0x91, 0xd8, 0x51, 0x92, 0x66, 0x14, 0x55, |
| 0xb2, 0xc2, 0x12, 0xa2, 0x4a, 0x6b, 0x5c, 0xc5, 0xdd, 0x3e, 0x10, 0x47, 0x3e, 0x0a, 0xdf, 0x81, |
| 0x2f, 0xc0, 0x8d, 0x13, 0x57, 0xe4, 0xb8, 0xad, 0xd4, 0x16, 0x76, 0xca, 0x5f, 0x2f, 0xbf, 0xff, |
| 0xff, 0x3d, 0xeb, 0x3d, 0xf0, 0xae, 0x91, 0xb2, 0xb9, 0xae, 0x9d, 0xb2, 0x52, 0x8e, 0x91, 0x5a, |
| 0xdd, 0xba, 0x4e, 0xdd, 0x75, 0xb2, 0x53, 0xce, 0xd5, 0x8d, 0x5a, 0xc9, 0x45, 0xdd, 0x89, 0xaf, |
| 0x75, 0x5d, 0x89, 0xbe, 0x88, 0x96, 0x9d, 0x5c, 0x49, 0x38, 0x32, 0x38, 0x2a, 0x2b, 0x85, 0xb6, |
| 0x4e, 0x74, 0xeb, 0x22, 0xe3, 0x7c, 0x7e, 0xb6, 0x49, 0x5e, 0xce, 0x9d, 0xb2, 0x6d, 0xe5, 0xaa, |
| 0x5c, 0xcd, 0x65, 0xab, 0x8c, 0xdb, 0xfe, 0x63, 0x81, 0x27, 0xfe, 0x3a, 0x3b, 0xa8, 0xeb, 0x8a, |
| 0x6a, 0x13, 0x6d, 0x6f, 0x16, 0xf6, 0x4f, 0x0b, 0x3c, 0x3e, 0xf8, 0x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