// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/field_mask_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 mask errors.
type FieldMaskErrorEnum_FieldMaskError int32

const (
	// Enum unspecified.
	FieldMaskErrorEnum_UNSPECIFIED FieldMaskErrorEnum_FieldMaskError = 0
	// The received error code is not known in this version.
	FieldMaskErrorEnum_UNKNOWN FieldMaskErrorEnum_FieldMaskError = 1
	// The field mask must be provided for update operations.
	FieldMaskErrorEnum_FIELD_MASK_MISSING FieldMaskErrorEnum_FieldMaskError = 5
	// The field mask must be empty for create and remove operations.
	FieldMaskErrorEnum_FIELD_MASK_NOT_ALLOWED FieldMaskErrorEnum_FieldMaskError = 4
	// The field mask contained an invalid field.
	FieldMaskErrorEnum_FIELD_NOT_FOUND FieldMaskErrorEnum_FieldMaskError = 2
	// The field mask updated a field with subfields. Fields with subfields may
	// be cleared, but not updated. To fix this, the field mask should select
	// all the subfields of the invalid field.
	FieldMaskErrorEnum_FIELD_HAS_SUBFIELDS FieldMaskErrorEnum_FieldMaskError = 3
)

var FieldMaskErrorEnum_FieldMaskError_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNKNOWN",
	5: "FIELD_MASK_MISSING",
	4: "FIELD_MASK_NOT_ALLOWED",
	2: "FIELD_NOT_FOUND",
	3: "FIELD_HAS_SUBFIELDS",
}

var FieldMaskErrorEnum_FieldMaskError_value = map[string]int32{
	"UNSPECIFIED":            0,
	"UNKNOWN":                1,
	"FIELD_MASK_MISSING":     5,
	"FIELD_MASK_NOT_ALLOWED": 4,
	"FIELD_NOT_FOUND":        2,
	"FIELD_HAS_SUBFIELDS":    3,
}

func (x FieldMaskErrorEnum_FieldMaskError) String() string {
	return proto.EnumName(FieldMaskErrorEnum_FieldMaskError_name, int32(x))
}

func (FieldMaskErrorEnum_FieldMaskError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_dfa5de1d9c38d5db, []int{0, 0}
}

// Container for enum describing possible field mask errors.
type FieldMaskErrorEnum struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *FieldMaskErrorEnum) Reset()         { *m = FieldMaskErrorEnum{} }
func (m *FieldMaskErrorEnum) String() string { return proto.CompactTextString(m) }
func (*FieldMaskErrorEnum) ProtoMessage()    {}
func (*FieldMaskErrorEnum) Descriptor() ([]byte, []int) {
	return fileDescriptor_dfa5de1d9c38d5db, []int{0}
}

func (m *FieldMaskErrorEnum) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FieldMaskErrorEnum.Unmarshal(m, b)
}
func (m *FieldMaskErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FieldMaskErrorEnum.Marshal(b, m, deterministic)
}
func (m *FieldMaskErrorEnum) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FieldMaskErrorEnum.Merge(m, src)
}
func (m *FieldMaskErrorEnum) XXX_Size() int {
	return xxx_messageInfo_FieldMaskErrorEnum.Size(m)
}
func (m *FieldMaskErrorEnum) XXX_DiscardUnknown() {
	xxx_messageInfo_FieldMaskErrorEnum.DiscardUnknown(m)
}

var xxx_messageInfo_FieldMaskErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v3.errors.FieldMaskErrorEnum_FieldMaskError", FieldMaskErrorEnum_FieldMaskError_name, FieldMaskErrorEnum_FieldMaskError_value)
	proto.RegisterType((*FieldMaskErrorEnum)(nil), "google.ads.googleads.v3.errors.FieldMaskErrorEnum")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v3/errors/field_mask_error.proto", fileDescriptor_dfa5de1d9c38d5db)
}

var fileDescriptor_dfa5de1d9c38d5db = []byte{
	// 352 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xc3, 0x30,
	0x14, 0xc6, 0x6d, 0xe7, 0x1f, 0xc8, 0xc0, 0x95, 0x0c, 0x26, 0x0c, 0xd9, 0x45, 0x1f, 0x20, 0xbd,
	0x28, 0xde, 0xc4, 0xab, 0xcc, 0xb6, 0xb3, 0x6c, 0x4b, 0x07, 0xb1, 0x1b, 0x48, 0xa1, 0x44, 0x5b,
	0x4b, 0xd9, 0xd6, 0x8c, 0x66, 0xee, 0x39, 0x7c, 0x06, 0x6f, 0x04, 0x1f, 0xc5, 0x47, 0xf1, 0xc2,
	0x67, 0x90, 0x36, 0xae, 0xb8, 0x0b, 0xbd, 0xca, 0x97, 0x2f, 0xbf, 0xef, 0xe4, 0x9c, 0x03, 0xae,
	0x32, 0x21, 0xb2, 0x55, 0x6a, 0xf1, 0x44, 0x5a, 0x4a, 0x56, 0x6a, 0x67, 0x5b, 0x69, 0x59, 0x8a,
	0x52, 0x5a, 0x4f, 0x79, 0xba, 0x4a, 0xe2, 0x35, 0x97, 0xcb, 0xb8, 0x76, 0xd0, 0xa6, 0x14, 0x5b,
	0x01, 0x07, 0x8a, 0x45, 0x3c, 0x91, 0xa8, 0x89, 0xa1, 0x9d, 0x8d, 0x54, 0xac, 0x7f, 0xb9, 0x2f,
	0xbb, 0xc9, 0x2d, 0x5e, 0x14, 0x62, 0xcb, 0xb7, 0xb9, 0x28, 0xa4, 0x4a, 0x9b, 0x6f, 0x1a, 0x80,
	0x5e, 0x55, 0x78, 0xca, 0xe5, 0xd2, 0xad, 0x12, 0x6e, 0xf1, 0xbc, 0x36, 0x5f, 0x34, 0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