// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v2/errors/campaign_experiment_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 campaign experiment errors.
type CampaignExperimentErrorEnum_CampaignExperimentError int32

const (
	// Enum unspecified.
	CampaignExperimentErrorEnum_UNSPECIFIED CampaignExperimentErrorEnum_CampaignExperimentError = 0
	// The received error code is not known in this version.
	CampaignExperimentErrorEnum_UNKNOWN CampaignExperimentErrorEnum_CampaignExperimentError = 1
	// An active campaign or experiment with this name already exists.
	CampaignExperimentErrorEnum_DUPLICATE_NAME CampaignExperimentErrorEnum_CampaignExperimentError = 2
	// Experiment cannot be updated from the current state to the
	// requested target state. For example, an experiment can only graduate
	// if its status is ENABLED.
	CampaignExperimentErrorEnum_INVALID_TRANSITION CampaignExperimentErrorEnum_CampaignExperimentError = 3
	// Cannot create an experiment from a campaign using an explicitly shared
	// budget.
	CampaignExperimentErrorEnum_CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET CampaignExperimentErrorEnum_CampaignExperimentError = 4
	// Cannot create an experiment for a removed base campaign.
	CampaignExperimentErrorEnum_CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN CampaignExperimentErrorEnum_CampaignExperimentError = 5
	// Cannot create an experiment from a draft, which has a status other than
	// proposed.
	CampaignExperimentErrorEnum_CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT CampaignExperimentErrorEnum_CampaignExperimentError = 6
	// This customer is not allowed to create an experiment.
	CampaignExperimentErrorEnum_CUSTOMER_CANNOT_CREATE_EXPERIMENT CampaignExperimentErrorEnum_CampaignExperimentError = 7
	// This campaign is not allowed to create an experiment.
	CampaignExperimentErrorEnum_CAMPAIGN_CANNOT_CREATE_EXPERIMENT CampaignExperimentErrorEnum_CampaignExperimentError = 8
	// Trying to set an experiment duration which overlaps with another
	// experiment.
	CampaignExperimentErrorEnum_EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP CampaignExperimentErrorEnum_CampaignExperimentError = 9
	// All non-removed experiments must start and end within their campaign's
	// duration.
	CampaignExperimentErrorEnum_EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION CampaignExperimentErrorEnum_CampaignExperimentError = 10
	// The experiment cannot be modified because its status is in a terminal
	// state, such as REMOVED.
	CampaignExperimentErrorEnum_CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS CampaignExperimentErrorEnum_CampaignExperimentError = 11
)

var CampaignExperimentErrorEnum_CampaignExperimentError_name = map[int32]string{
	0:  "UNSPECIFIED",
	1:  "UNKNOWN",
	2:  "DUPLICATE_NAME",
	3:  "INVALID_TRANSITION",
	4:  "CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET",
	5:  "CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN",
	6:  "CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT",
	7:  "CUSTOMER_CANNOT_CREATE_EXPERIMENT",
	8:  "CAMPAIGN_CANNOT_CREATE_EXPERIMENT",
	9:  "EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP",
	10: "EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION",
	11: "CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS",
}

var CampaignExperimentErrorEnum_CampaignExperimentError_value = map[string]int32{
	"UNSPECIFIED":        0,
	"UNKNOWN":            1,
	"DUPLICATE_NAME":     2,
	"INVALID_TRANSITION": 3,
	"CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET":          4,
	"CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN":   5,
	"CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT":      6,
	"CUSTOMER_CANNOT_CREATE_EXPERIMENT":                    7,
	"CAMPAIGN_CANNOT_CREATE_EXPERIMENT":                    8,
	"EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP":                9,
	"EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION": 10,
	"CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS":               11,
}

func (x CampaignExperimentErrorEnum_CampaignExperimentError) String() string {
	return proto.EnumName(CampaignExperimentErrorEnum_CampaignExperimentError_name, int32(x))
}

func (CampaignExperimentErrorEnum_CampaignExperimentError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_17c7c7051cba437e, []int{0, 0}
}

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

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

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

var xxx_messageInfo_CampaignExperimentErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v2.errors.CampaignExperimentErrorEnum_CampaignExperimentError", CampaignExperimentErrorEnum_CampaignExperimentError_name, CampaignExperimentErrorEnum_CampaignExperimentError_value)
	proto.RegisterType((*CampaignExperimentErrorEnum)(nil), "google.ads.googleads.v2.errors.CampaignExperimentErrorEnum")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v2/errors/campaign_experiment_error.proto", fileDescriptor_17c7c7051cba437e)
}

var fileDescriptor_17c7c7051cba437e = []byte{
	// 502 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x8b, 0xd3, 0x30,
	0x1c, 0xc7, 0xdd, 0x76, 0xde, 0x69, 0x06, 0x1a, 0xf2, 0xa0, 0xa0, 0xc7, 0x81, 0x83, 0x13, 0x54,
	0x68, 0xa1, 0x27, 0x22, 0x15, 0x84, 0xac, 0xcd, 0x76, 0xc1, 0x35, 0x29, 0x69, 0xda, 0x13, 0x19,
	0x84, 0x7a, 0x2b, 0x65, 0x70, 0x6b, 0x4a, 0x3b, 0x0f, 0x1f, 0xfd, 0x5b, 0x7c, 0xf4, 0x4f, 0xf1,
	0xaf, 0xf0, 0xd9, 0x7f, 0xc0, 0x57, 0x69, 0xb3, 0x15, 0x91, 0xeb, 0x3d, 0xf5, 0x47, 0xf3, 0xf9,
	0xe4, 0x9b, 0x84, 0x2f, 0x78, 0x9f, 0x6b, 0x9d, 0x5f, 0x65, 0x76, 0xba, 0xaa, 0x6d, 0x33, 0x36,
	0xd3, 0xb5, 0x63, 0x67, 0x55, 0xa5, 0xab, 0xda, 0xbe, 0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