// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v0/errors/field_error.proto

package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors"

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // 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 in the resource.
	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
)

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",
}
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,
}

func (x FieldErrorEnum_FieldError) String() string {
	return proto.EnumName(FieldErrorEnum_FieldError_name, int32(x))
}
func (FieldErrorEnum_FieldError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_field_error_3a09a97fcab409d3, []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_field_error_3a09a97fcab409d3, []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 (dst *FieldErrorEnum) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FieldErrorEnum.Merge(dst, 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.RegisterType((*FieldErrorEnum)(nil), "google.ads.googleads.v0.errors.FieldErrorEnum")
	proto.RegisterEnum("google.ads.googleads.v0.errors.FieldErrorEnum_FieldError", FieldErrorEnum_FieldError_name, FieldErrorEnum_FieldError_value)
}

func init() {
	proto.RegisterFile("google/ads/googleads/v0/errors/field_error.proto", fileDescriptor_field_error_3a09a97fcab409d3)
}

var fileDescriptor_field_error_3a09a97fcab409d3 = []byte{
	// 363 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x6e, 0xda, 0x30,
	0x14, 0xc6, 0x97, 0xb0, 0xc1, 0x64, 0xb6, 0x91, 0x19, 0x69, 0x48, 0x9b, 0xc4, 0x45, 0x1e, 0xc0,
	0x89, 0xb4, 0x3b, 0xef, 0xca, 0x21, 0x06, 0x59, 0x4b, 0x4c, 0x46, 0xfe, 0x4c, 0xad, 0x22, 0x59,
	0xb4, 0x49, 0x23, 0x24, 0xc0, 0x28, 0x6e, 0x79, 0xa0, 0x5e, 0xf6, 0xb2, 0xef, 0xd0, 0x9b, 0x3e,
	0x0a, 0x4f, 0x51, 0x25, 0x2e, 0x70, 0xd5, 0x5e, 0xf9, 0x3b, 0x47, 0xbf, 0xef, 0x1c, 0x9f, 0x0f,
	0xb8, 0x95, 0x94, 0xd5, 0xba, 0x74, 0x96, 0x85, 0x72, 0xb4, 0x6c, 0xd4, 0xde, 0x75, 0xca, 0xba,
	0x96, 0xb5, 0x72, 0x6e, 0x56, 0xe5, 0xba, 0x10, 0x6d, 0x81, 0x76, 0xb5, 0xbc, 0x95, 0x70, 0xac,
	0x31, 0xb4, 0x2c, 0x14, 0x3a, 0x39, 0xd0, 0xde, 0x45, 0xda, 0x61, 0x3f, 0x19, 0xe0, 0xdb, 0xb4,
	0x71, 0xd1, 0xa6, 0xa6, 0xdb, 0xbb, 0x8d, 0xfd, 0x68, 0x00, 0x70, 0x6e, 0xc1, 0x01, 0xe8, 0xa7,
	0x3c, 0x8e, 0xe8, 0x84, 0x4d, 0x19, 0xf5, 0xad, 0x0f, 0xb0, 0x0f, 0x7a, 0x29, 0xff, 0xcb, 0xe7,
	0xff, 0xb9, 0x65, 0xc0, 0x2f, 0xe0, 0xf3, 0x82, 0xfe, 0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