// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v0/errors/date_range_error.proto

package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors"

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"

// 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.ProtoPackageIsVersion2 // please upgrade the proto package

// Enum describing possible date range errors.
type DateRangeErrorEnum_DateRangeError int32

const (
	// Enum unspecified.
	DateRangeErrorEnum_UNSPECIFIED DateRangeErrorEnum_DateRangeError = 0
	// The received error code is not known in this version.
	DateRangeErrorEnum_UNKNOWN DateRangeErrorEnum_DateRangeError = 1
	// Invalid date.
	DateRangeErrorEnum_INVALID_DATE DateRangeErrorEnum_DateRangeError = 2
	// The start date was after the end date.
	DateRangeErrorEnum_START_DATE_AFTER_END_DATE DateRangeErrorEnum_DateRangeError = 3
	// Cannot set date to past time
	DateRangeErrorEnum_CANNOT_SET_DATE_TO_PAST DateRangeErrorEnum_DateRangeError = 4
	// A date was used that is past the system "last" date.
	DateRangeErrorEnum_AFTER_MAXIMUM_ALLOWABLE_DATE DateRangeErrorEnum_DateRangeError = 5
	// Trying to change start date on a campaign that has started.
	DateRangeErrorEnum_CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED DateRangeErrorEnum_DateRangeError = 6
)

var DateRangeErrorEnum_DateRangeError_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNKNOWN",
	2: "INVALID_DATE",
	3: "START_DATE_AFTER_END_DATE",
	4: "CANNOT_SET_DATE_TO_PAST",
	5: "AFTER_MAXIMUM_ALLOWABLE_DATE",
	6: "CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED",
}
var DateRangeErrorEnum_DateRangeError_value = map[string]int32{
	"UNSPECIFIED":                  0,
	"UNKNOWN":                      1,
	"INVALID_DATE":                 2,
	"START_DATE_AFTER_END_DATE":    3,
	"CANNOT_SET_DATE_TO_PAST":      4,
	"AFTER_MAXIMUM_ALLOWABLE_DATE": 5,
	"CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED": 6,
}

func (x DateRangeErrorEnum_DateRangeError) String() string {
	return proto.EnumName(DateRangeErrorEnum_DateRangeError_name, int32(x))
}
func (DateRangeErrorEnum_DateRangeError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_date_range_error_2f1d4e77adba627e, []int{0, 0}
}

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

func (m *DateRangeErrorEnum) Reset()         { *m = DateRangeErrorEnum{} }
func (m *DateRangeErrorEnum) String() string { return proto.CompactTextString(m) }
func (*DateRangeErrorEnum) ProtoMessage()    {}
func (*DateRangeErrorEnum) Descriptor() ([]byte, []int) {
	return fileDescriptor_date_range_error_2f1d4e77adba627e, []int{0}
}
func (m *DateRangeErrorEnum) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DateRangeErrorEnum.Unmarshal(m, b)
}
func (m *DateRangeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DateRangeErrorEnum.Marshal(b, m, deterministic)
}
func (dst *DateRangeErrorEnum) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DateRangeErrorEnum.Merge(dst, src)
}
func (m *DateRangeErrorEnum) XXX_Size() int {
	return xxx_messageInfo_DateRangeErrorEnum.Size(m)
}
func (m *DateRangeErrorEnum) XXX_DiscardUnknown() {
	xxx_messageInfo_DateRangeErrorEnum.DiscardUnknown(m)
}

var xxx_messageInfo_DateRangeErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterType((*DateRangeErrorEnum)(nil), "google.ads.googleads.v0.errors.DateRangeErrorEnum")
	proto.RegisterEnum("google.ads.googleads.v0.errors.DateRangeErrorEnum_DateRangeError", DateRangeErrorEnum_DateRangeError_name, DateRangeErrorEnum_DateRangeError_value)
}

func init() {
	proto.RegisterFile("google/ads/googleads/v0/errors/date_range_error.proto", fileDescriptor_date_range_error_2f1d4e77adba627e)
}

var fileDescriptor_date_range_error_2f1d4e77adba627e = []byte{
	// 373 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0xaa, 0xd4, 0x30,
	0x14, 0x86, 0x6d, 0xaf, 0x5e, 0x21, 0x57, 0xb4, 0xc4, 0x85, 0x88, 0x7a, 0x91, 0x6e, 0x85, 0xb4,
	0x20, 0x6e, 0xe2, 0xea, 0xcc, 0x4d, 0x3a, 0x14, 0xdb, 0xb4, 0xb4, 0x9d, 0x8e, 0x4a, 0x21, 0x54,
	0x5b, 0x8a, 0x30, 0xd3, 0x0c, 0xcd, 0x38, 0x0f, 0xe4, 0xd2, 0x47, 0x71, 0xe3, 0x5b, 0xb8, 0x70,
	0xe1, 0x33, 0x48, 0x9b, 0xce, 0xe0, 0x2c, 0xbc, 0xab, 0xfc, 0xf9, 0xf3, 0x7f, 0x39, 0xc9, 0x39,
	0xe8, 0x4d, 0xa7, 0x54, 0xb7, 0x69, 0xbd, 0xba, 0xd1, 0x9e, 0x91, 0xa3, 0x3a, 0xf8, 0x5e, 0x3b,
	0x0c, 0x6a, 0xd0, 0x5e, 0x53, 0xef, 0x5b, 0x39, 0xd4, 0x7d, 0xd7, 0xca, 0xc9, 0x21, 0xbb, 0x41,
	0xed, 0x15, 0xbe, 0x36, 0x59, 0x52, 0x37, 0x9a, 0x9c, 0x30, 0x72, 0xf0, 0x89, 0xc1, 0xdc, 0x5f,
	0x16, 0xc2, 0xac, 0xde, 0xb7, 0xd9, 0x48, 0xf2, 0xd1, 0xe3, 0xfd, 0xd7, 0xad, 0xfb, 0xd3, 0x42,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