// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v0/errors/internal_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 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 any API version. This will be
	// fixed by adding a new error code as soon as possible.
	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
)

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

func (x InternalErrorEnum_InternalError) String() string {
	return proto.EnumName(InternalErrorEnum_InternalError_name, int32(x))
}
func (InternalErrorEnum_InternalError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_internal_error_973997f4b95955bf, []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_internal_error_973997f4b95955bf, []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 (dst *InternalErrorEnum) XXX_Merge(src proto.Message) {
	xxx_messageInfo_InternalErrorEnum.Merge(dst, 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.RegisterType((*InternalErrorEnum)(nil), "google.ads.googleads.v0.errors.InternalErrorEnum")
	proto.RegisterEnum("google.ads.googleads.v0.errors.InternalErrorEnum_InternalError", InternalErrorEnum_InternalError_name, InternalErrorEnum_InternalError_value)
}

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

var fileDescriptor_internal_error_973997f4b95955bf = []byte{
	// 314 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30,
	0x00, 0x86, 0x6d, 0x27, 0x0a, 0x19, 0xba, 0x1a, 0x2f, 0x1e, 0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