// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/keyword_plan_ad_group_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 errors from applying a keyword plan ad group.
type KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError int32

const (
	// Enum unspecified.
	KeywordPlanAdGroupErrorEnum_UNSPECIFIED KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError = 0
	// The received error code is not known in this version.
	KeywordPlanAdGroupErrorEnum_UNKNOWN KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError = 1
	// The keyword plan ad group name is missing, empty, longer than allowed
	// limit or contains invalid chars.
	KeywordPlanAdGroupErrorEnum_INVALID_NAME KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError = 2
	// The keyword plan ad group name is duplicate to an existing keyword plan
	// AdGroup name or other keyword plan AdGroup name in the request.
	KeywordPlanAdGroupErrorEnum_DUPLICATE_NAME KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError = 3
)

var KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNKNOWN",
	2: "INVALID_NAME",
	3: "DUPLICATE_NAME",
}

var KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_value = map[string]int32{
	"UNSPECIFIED":    0,
	"UNKNOWN":        1,
	"INVALID_NAME":   2,
	"DUPLICATE_NAME": 3,
}

func (x KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError) String() string {
	return proto.EnumName(KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_name, int32(x))
}

func (KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_ac04c755a98bdfee, []int{0, 0}
}

// Container for enum describing possible errors from applying a keyword plan
// ad group.
type KeywordPlanAdGroupErrorEnum struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_KeywordPlanAdGroupErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v3.errors.KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError", KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_name, KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_value)
	proto.RegisterType((*KeywordPlanAdGroupErrorEnum)(nil), "google.ads.googleads.v3.errors.KeywordPlanAdGroupErrorEnum")
}

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

var fileDescriptor_ac04c755a98bdfee = []byte{
	// 324 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xf3, 0x40,
	0x14, 0xfd, 0x9a, 0xc2, 0x27, 0x4c, 0x45, 0x43, 0x36, 0x82, 0x96, 0x2e, 0xf2, 0x00, 0x93, 0x45,
	0x76, 0xe3, 0xc6, 0x69, 0x13, 0x4b, 0x68, 0x1d, 0x03, 0xda, 0x08, 0x12, 0x09, 0xa3, 0x13, 0x86,
	0x62, 0x3a, 0x13, 0x66, 0xda, 0x8a, 0xe0, 0xd3, 0xb8, 0xf4, 0x51, 0x7c, 0x14, 0x5f, 0xc0, 0xad,
	0x24, 0xd7, 0x76, 0x17, 0x57, 0x73, 0x98, 0x7b, 0x7e, 0xee, 0xb9, 0xe8, 0x42, 0x6a, 0x2d, 0xab,
	0x32, 0xe0, 0xc2, 0x06, 0x00, 0x1b, 0xb4, 0x0d, 0x83, 0xd2, 0x18, 0x6d, 0x6c, 0xf0, 0x5c, 0xbe,
	0xbe, 0x68, 0x23, 0x8a, 0xba, 0xe2, 0xaa, 0xe0, 0xa2, 0x90, 0x46, 0x6f, 0xea, 0xa2, 0x1d, 0xe2,
	0xda, 0xe8, 0xb5, 0xf6, 0x46, 0x20, 0xc3, 0x5c, 0x58, 0xbc, 0x77, 0xc0, 0xdb, 0x10, 0x83, 0xc3,
	0xe9, 0x70, 0x97, 0x50, 0x2f, 0x03, 0xae, 0x94, 0x5e, 0xf3, 0xf5, 0x52, 0x2b, 0x0b, 0x6a, 0xff,
	0x0d, 0x9d, 0xcd, 0x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