// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/errors/label_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 label errors.
type LabelErrorEnum_LabelError int32

const (
	// Enum unspecified.
	LabelErrorEnum_UNSPECIFIED LabelErrorEnum_LabelError = 0
	// The received error code is not known in this version.
	LabelErrorEnum_UNKNOWN LabelErrorEnum_LabelError = 1
	// An inactive label cannot be applied.
	LabelErrorEnum_CANNOT_APPLY_INACTIVE_LABEL LabelErrorEnum_LabelError = 2
	// A label cannot be applied to a disabled ad group criterion.
	LabelErrorEnum_CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION LabelErrorEnum_LabelError = 3
	// A label cannot be applied to a negative ad group criterion.
	LabelErrorEnum_CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION LabelErrorEnum_LabelError = 4
	// Cannot apply more than 50 labels per resource.
	LabelErrorEnum_EXCEEDED_LABEL_LIMIT_PER_TYPE LabelErrorEnum_LabelError = 5
	// Labels from a manager account cannot be applied to campaign, ad group,
	// ad group ad, or ad group criterion resources.
	LabelErrorEnum_INVALID_RESOURCE_FOR_MANAGER_LABEL LabelErrorEnum_LabelError = 6
	// Label names must be unique.
	LabelErrorEnum_DUPLICATE_NAME LabelErrorEnum_LabelError = 7
	// Label names cannot be empty.
	LabelErrorEnum_INVALID_LABEL_NAME LabelErrorEnum_LabelError = 8
	// Labels cannot be applied to a draft.
	LabelErrorEnum_CANNOT_ATTACH_LABEL_TO_DRAFT LabelErrorEnum_LabelError = 9
	// Labels not from a manager account cannot be applied to the customer
	// resource.
	LabelErrorEnum_CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER LabelErrorEnum_LabelError = 10
)

var LabelErrorEnum_LabelError_name = map[int32]string{
	0:  "UNSPECIFIED",
	1:  "UNKNOWN",
	2:  "CANNOT_APPLY_INACTIVE_LABEL",
	3:  "CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION",
	4:  "CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION",
	5:  "EXCEEDED_LABEL_LIMIT_PER_TYPE",
	6:  "INVALID_RESOURCE_FOR_MANAGER_LABEL",
	7:  "DUPLICATE_NAME",
	8:  "INVALID_LABEL_NAME",
	9:  "CANNOT_ATTACH_LABEL_TO_DRAFT",
	10: "CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER",
}

var LabelErrorEnum_LabelError_value = map[string]int32{
	"UNSPECIFIED":                 0,
	"UNKNOWN":                     1,
	"CANNOT_APPLY_INACTIVE_LABEL": 2,
	"CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION": 3,
	"CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION": 4,
	"EXCEEDED_LABEL_LIMIT_PER_TYPE":                     5,
	"INVALID_RESOURCE_FOR_MANAGER_LABEL":                6,
	"DUPLICATE_NAME":                                    7,
	"INVALID_LABEL_NAME":                                8,
	"CANNOT_ATTACH_LABEL_TO_DRAFT":                      9,
	"CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER":       10,
}

func (x LabelErrorEnum_LabelError) String() string {
	return proto.EnumName(LabelErrorEnum_LabelError_name, int32(x))
}

func (LabelErrorEnum_LabelError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_b728e98c4ada0c8f, []int{0, 0}
}

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

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

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

var xxx_messageInfo_LabelErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v1.errors.LabelErrorEnum_LabelError", LabelErrorEnum_LabelError_name, LabelErrorEnum_LabelError_value)
	proto.RegisterType((*LabelErrorEnum)(nil), "google.ads.googleads.v1.errors.LabelErrorEnum")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v1/errors/label_error.proto", fileDescriptor_b728e98c4ada0c8f)
}

var fileDescriptor_b728e98c4ada0c8f = []byte{
	// 465 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x6e, 0xd3, 0x40,
	0x10, 0x40, 0x69, 0x02, 0x2d, 0x6c, 0xa5, 0xd6, 0xda, 0x03, 0x07, 0x28, 0x05, 0x72, 0xe0, 0x82,
	0x64, 0x63, 0x21, 0x2e, 0xe6, 0x34, 0xb1, 0x27, 0x66, 0x85, 0xb3, 0xb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