// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/feed_item_target_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 feed item target errors.
type FeedItemTargetErrorEnum_FeedItemTargetError int32

const (
	// Enum unspecified.
	FeedItemTargetErrorEnum_UNSPECIFIED FeedItemTargetErrorEnum_FeedItemTargetError = 0
	// The received error code is not known in this version.
	FeedItemTargetErrorEnum_UNKNOWN FeedItemTargetErrorEnum_FeedItemTargetError = 1
	// On CREATE, the FeedItemTarget must have a populated field in the oneof
	// target.
	FeedItemTargetErrorEnum_MUST_SET_TARGET_ONEOF_ON_CREATE FeedItemTargetErrorEnum_FeedItemTargetError = 2
	// The specified feed item target already exists, so it cannot be added.
	FeedItemTargetErrorEnum_FEED_ITEM_TARGET_ALREADY_EXISTS FeedItemTargetErrorEnum_FeedItemTargetError = 3
	// The schedules for a given feed item cannot overlap.
	FeedItemTargetErrorEnum_FEED_ITEM_SCHEDULES_CANNOT_OVERLAP FeedItemTargetErrorEnum_FeedItemTargetError = 4
	// Too many targets of a given type were added for a single feed item.
	FeedItemTargetErrorEnum_TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE FeedItemTargetErrorEnum_FeedItemTargetError = 5
	// Too many AdSchedules are enabled for the feed item for the given day.
	FeedItemTargetErrorEnum_TOO_MANY_SCHEDULES_PER_DAY FeedItemTargetErrorEnum_FeedItemTargetError = 6
	// A feed item may either have an enabled campaign target or an enabled ad
	// group target.
	FeedItemTargetErrorEnum_CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS FeedItemTargetErrorEnum_FeedItemTargetError = 7
	// Duplicate ad schedules aren't allowed.
	FeedItemTargetErrorEnum_DUPLICATE_AD_SCHEDULE FeedItemTargetErrorEnum_FeedItemTargetError = 8
	// Duplicate keywords aren't allowed.
	FeedItemTargetErrorEnum_DUPLICATE_KEYWORD FeedItemTargetErrorEnum_FeedItemTargetError = 9
)

var FeedItemTargetErrorEnum_FeedItemTargetError_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNKNOWN",
	2: "MUST_SET_TARGET_ONEOF_ON_CREATE",
	3: "FEED_ITEM_TARGET_ALREADY_EXISTS",
	4: "FEED_ITEM_SCHEDULES_CANNOT_OVERLAP",
	5: "TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE",
	6: "TOO_MANY_SCHEDULES_PER_DAY",
	7: "CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS",
	8: "DUPLICATE_AD_SCHEDULE",
	9: "DUPLICATE_KEYWORD",
}

var FeedItemTargetErrorEnum_FeedItemTargetError_value = map[string]int32{
	"UNSPECIFIED":                                               0,
	"UNKNOWN":                                                   1,
	"MUST_SET_TARGET_ONEOF_ON_CREATE":                           2,
	"FEED_ITEM_TARGET_ALREADY_EXISTS":                           3,
	"FEED_ITEM_SCHEDULES_CANNOT_OVERLAP":                        4,
	"TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE":                      5,
	"TOO_MANY_SCHEDULES_PER_DAY":                                6,
	"CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS": 7,
	"DUPLICATE_AD_SCHEDULE":                                     8,
	"DUPLICATE_KEYWORD":                                         9,
}

func (x FeedItemTargetErrorEnum_FeedItemTargetError) String() string {
	return proto.EnumName(FeedItemTargetErrorEnum_FeedItemTargetError_name, int32(x))
}

func (FeedItemTargetErrorEnum_FeedItemTargetError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_3b604c6468bb0176, []int{0, 0}
}

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

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

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

var xxx_messageInfo_FeedItemTargetErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v3.errors.FeedItemTargetErrorEnum_FeedItemTargetError", FeedItemTargetErrorEnum_FeedItemTargetError_name, FeedItemTargetErrorEnum_FeedItemTargetError_value)
	proto.RegisterType((*FeedItemTargetErrorEnum)(nil), "google.ads.googleads.v3.errors.FeedItemTargetErrorEnum")
}

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

var fileDescriptor_3b604c6468bb0176 = []byte{
	// 490 bytes of a gzipped FileDescriptorProto
	0x1f, 0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