// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/internal_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 internal errors.
type InternalErrorEnum_InternalError int32

const (
	// Enum unspecified.
	InternalErrorEnum_UNSPECIFIED InternalErrorEnum_InternalError = 0
	// The received error code is not known in this version.
	InternalErrorEnum_UNKNOWN InternalErrorEnum_InternalError = 1
	// Google Ads API encountered unexpected internal error.
	InternalErrorEnum_INTERNAL_ERROR InternalErrorEnum_InternalError = 2
	// The intended error code doesn't exist in specified API version. It will
	// be released in a future API version.
	InternalErrorEnum_ERROR_CODE_NOT_PUBLISHED InternalErrorEnum_InternalError = 3
	// Google Ads API encountered an unexpected transient error. The user
	// should retry their request in these cases.
	InternalErrorEnum_TRANSIENT_ERROR InternalErrorEnum_InternalError = 4
	// The request took longer than a deadline.
	InternalErrorEnum_DEADLINE_EXCEEDED InternalErrorEnum_InternalError = 5
)

var InternalErrorEnum_InternalError_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNKNOWN",
	2: "INTERNAL_ERROR",
	3: "ERROR_CODE_NOT_PUBLISHED",
	4: "TRANSIENT_ERROR",
	5: "DEADLINE_EXCEEDED",
}

var InternalErrorEnum_InternalError_value = map[string]int32{
	"UNSPECIFIED":              0,
	"UNKNOWN":                  1,
	"INTERNAL_ERROR":           2,
	"ERROR_CODE_NOT_PUBLISHED": 3,
	"TRANSIENT_ERROR":          4,
	"DEADLINE_EXCEEDED":        5,
}

func (x InternalErrorEnum_InternalError) String() string {
	return proto.EnumName(InternalErrorEnum_InternalError_name, int32(x))
}

func (InternalErrorEnum_InternalError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_a22b88d5b68074b5, []int{0, 0}
}

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

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

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

var xxx_messageInfo_InternalErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v3.errors.InternalErrorEnum_InternalError", InternalErrorEnum_InternalError_name, InternalErrorEnum_InternalError_value)
	proto.RegisterType((*InternalErrorEnum)(nil), "google.ads.googleads.v3.errors.InternalErrorEnum")
}

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

var fileDescriptor_a22b88d5b68074b5 = []byte{
	// 351 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1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