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

const (
	// Enum unspecified.
	InvoiceErrorEnum_UNSPECIFIED InvoiceErrorEnum_InvoiceError = 0
	// The received error code is not known in this version.
	InvoiceErrorEnum_UNKNOWN InvoiceErrorEnum_InvoiceError = 1
	// Cannot request invoices issued before 2019-01-01.
	InvoiceErrorEnum_YEAR_MONTH_TOO_OLD InvoiceErrorEnum_InvoiceError = 2
	// Cannot request invoices for customer who doesn't receive invoices.
	InvoiceErrorEnum_NOT_INVOICED_CUSTOMER InvoiceErrorEnum_InvoiceError = 3
)

var InvoiceErrorEnum_InvoiceError_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNKNOWN",
	2: "YEAR_MONTH_TOO_OLD",
	3: "NOT_INVOICED_CUSTOMER",
}

var InvoiceErrorEnum_InvoiceError_value = map[string]int32{
	"UNSPECIFIED":           0,
	"UNKNOWN":               1,
	"YEAR_MONTH_TOO_OLD":    2,
	"NOT_INVOICED_CUSTOMER": 3,
}

func (x InvoiceErrorEnum_InvoiceError) String() string {
	return proto.EnumName(InvoiceErrorEnum_InvoiceError_name, int32(x))
}

func (InvoiceErrorEnum_InvoiceError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_d2100925f3a2c42f, []int{0, 0}
}

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

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

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

var xxx_messageInfo_InvoiceErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v2.errors.InvoiceErrorEnum_InvoiceError", InvoiceErrorEnum_InvoiceError_name, InvoiceErrorEnum_InvoiceError_value)
	proto.RegisterType((*InvoiceErrorEnum)(nil), "google.ads.googleads.v2.errors.InvoiceErrorEnum")
}

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

var fileDescriptor_d2100925f3a2c42f = []byte{
	// 318 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30,
	0x1c, 0xc5, 0xbf, 0x75, 0xf0, 0x09, 0x99, 0x60, 0x2d, 0x28, 0x28, 0xb2, 0x8b, 0x3e, 0x40, 0x02,
	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