| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/errors/field_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 field errors. |
| type FieldErrorEnum_FieldError int32 |
| |
| const ( |
| // Enum unspecified. |
| FieldErrorEnum_UNSPECIFIED FieldErrorEnum_FieldError = 0 |
| // The received error code is not known in this version. |
| FieldErrorEnum_UNKNOWN FieldErrorEnum_FieldError = 1 |
| // The required field was not present. |
| FieldErrorEnum_REQUIRED FieldErrorEnum_FieldError = 2 |
| // The field attempted to be mutated is immutable. |
| FieldErrorEnum_IMMUTABLE_FIELD FieldErrorEnum_FieldError = 3 |
| // The field's value is invalid. |
| FieldErrorEnum_INVALID_VALUE FieldErrorEnum_FieldError = 4 |
| // The field cannot be set. |
| FieldErrorEnum_VALUE_MUST_BE_UNSET FieldErrorEnum_FieldError = 5 |
| // The required repeated field was empty. |
| FieldErrorEnum_REQUIRED_NONEMPTY_LIST FieldErrorEnum_FieldError = 6 |
| // The field cannot be cleared. |
| FieldErrorEnum_FIELD_CANNOT_BE_CLEARED FieldErrorEnum_FieldError = 7 |
| // The field's value is on a blacklist for this field. |
| FieldErrorEnum_BLACKLISTED_VALUE FieldErrorEnum_FieldError = 8 |
| ) |
| |
| var FieldErrorEnum_FieldError_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "REQUIRED", |
| 3: "IMMUTABLE_FIELD", |
| 4: "INVALID_VALUE", |
| 5: "VALUE_MUST_BE_UNSET", |
| 6: "REQUIRED_NONEMPTY_LIST", |
| 7: "FIELD_CANNOT_BE_CLEARED", |
| 8: "BLACKLISTED_VALUE", |
| } |
| |
| var FieldErrorEnum_FieldError_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "REQUIRED": 2, |
| "IMMUTABLE_FIELD": 3, |
| "INVALID_VALUE": 4, |
| "VALUE_MUST_BE_UNSET": 5, |
| "REQUIRED_NONEMPTY_LIST": 6, |
| "FIELD_CANNOT_BE_CLEARED": 7, |
| "BLACKLISTED_VALUE": 8, |
| } |
| |
| func (x FieldErrorEnum_FieldError) String() string { |
| return proto.EnumName(FieldErrorEnum_FieldError_name, int32(x)) |
| } |
| |
| func (FieldErrorEnum_FieldError) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_94b0ac14134331cc, []int{0, 0} |
| } |
| |
| // Container for enum describing possible field errors. |
| type FieldErrorEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *FieldErrorEnum) Reset() { *m = FieldErrorEnum{} } |
| func (m *FieldErrorEnum) String() string { return proto.CompactTextString(m) } |
| func (*FieldErrorEnum) ProtoMessage() {} |
| func (*FieldErrorEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_94b0ac14134331cc, []int{0} |
| } |
| |
| func (m *FieldErrorEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_FieldErrorEnum.Unmarshal(m, b) |
| } |
| func (m *FieldErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_FieldErrorEnum.Marshal(b, m, deterministic) |
| } |
| func (m *FieldErrorEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_FieldErrorEnum.Merge(m, src) |
| } |
| func (m *FieldErrorEnum) XXX_Size() int { |
| return xxx_messageInfo_FieldErrorEnum.Size(m) |
| } |
| func (m *FieldErrorEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_FieldErrorEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_FieldErrorEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v3.errors.FieldErrorEnum_FieldError", FieldErrorEnum_FieldError_name, FieldErrorEnum_FieldError_value) |
| proto.RegisterType((*FieldErrorEnum)(nil), "google.ads.googleads.v3.errors.FieldErrorEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/errors/field_error.proto", fileDescriptor_94b0ac14134331cc) |
| } |
| |
| var fileDescriptor_94b0ac14134331cc = []byte{ |
| // 392 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xdf, 0x6e, 0xd3, 0x30, |
| 0x14, 0xc6, 0x49, 0x06, 0xdb, 0xe4, 0x01, 0xcd, 0x3c, 0xc1, 0xa4, 0x81, 0x76, 0x91, 0x07, 0x70, |
| 0x90, 0x72, 0x67, 0xae, 0x9c, 0xc4, 0x9d, 0xac, 0x26, 0x6e, 0x68, 0xfe, 0x20, 0x50, 0x24, 0x2b, |
| 0x90, 0x10, 0x45, 0x6a, 0xe3, 0x2a, 0x2e, 0x7d, 0x20, 0x2e, 0x79, 0x13, 0x78, 0x06, 0x9e, 0xa0, |
| 0x4f, 0x81, 0x12, 0x93, 0xf6, 0x8a, 0x5d, 0xf9, 0xf3, 0xd1, 0xef, 0xfb, 0x8e, 0x7d, 0x0e, 0x78, |
| 0xd7, 0x48, 0xd9, 0xac, 0x6b, 0xa7, 0xac, 0x94, 0xa3, 0xe5, 0xa0, 0xf6, 0xae, 0x53, 0xf7, 0xbd, |
| 0xec, 0x95, 0xf3, 0xad, 0xad, 0xd7, 0x95, 0x18, 0x2f, 0x68, 0xdb, 0xcb, 0x9d, 0x84, 0xf7, 0x1a, |
| 0x43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