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

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

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "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.ProtoPackageIsVersion2 // please upgrade the proto package

// Enum describing possible database errors.
type DatabaseErrorEnum_DatabaseError int32

const (
	// Enum unspecified.
	DatabaseErrorEnum_UNSPECIFIED DatabaseErrorEnum_DatabaseError = 0
	// The received error code is not known in this version.
	DatabaseErrorEnum_UNKNOWN DatabaseErrorEnum_DatabaseError = 1
	// Multiple requests were attempting to modify the same resource at once.
	// Please retry the request.
	DatabaseErrorEnum_CONCURRENT_MODIFICATION DatabaseErrorEnum_DatabaseError = 2
)

var DatabaseErrorEnum_DatabaseError_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNKNOWN",
	2: "CONCURRENT_MODIFICATION",
}
var DatabaseErrorEnum_DatabaseError_value = map[string]int32{
	"UNSPECIFIED":             0,
	"UNKNOWN":                 1,
	"CONCURRENT_MODIFICATION": 2,
}

func (x DatabaseErrorEnum_DatabaseError) String() string {
	return proto.EnumName(DatabaseErrorEnum_DatabaseError_name, int32(x))
}
func (DatabaseErrorEnum_DatabaseError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_database_error_a264ce6308d5aaff, []int{0, 0}
}

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

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

var xxx_messageInfo_DatabaseErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterType((*DatabaseErrorEnum)(nil), "google.ads.googleads.v1.errors.DatabaseErrorEnum")
	proto.RegisterEnum("google.ads.googleads.v1.errors.DatabaseErrorEnum_DatabaseError", DatabaseErrorEnum_DatabaseError_name, DatabaseErrorEnum_DatabaseError_value)
}

func init() {
	proto.RegisterFile("google/ads/googleads/v1/errors/database_error.proto", fileDescriptor_database_error_a264ce6308d5aaff)
}

var fileDescriptor_database_error_a264ce6308d5aaff = []byte{
	// 300 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xc3, 0x30,
	0x18, 0x85, 0x5d, 0x05, 0x85, 0x0c, 0x71, 0xf6, 0x46, 0x50, 0xd9, 0x45, 0x1f, 0x20, 0xa1, 0xec,
	0x2e, 0x5e, 0x65, 0x6d, 0x37, 0xaa, 0x98, 0x96, 0xb9, 0x56, 0x90, 0x42, 0xc9, 0x4c, 0x09, 0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