// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/errors/partial_failure_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 partial failure errors.
type PartialFailureErrorEnum_PartialFailureError int32

const (
	// Enum unspecified.
	PartialFailureErrorEnum_UNSPECIFIED PartialFailureErrorEnum_PartialFailureError = 0
	// The received error code is not known in this version.
	PartialFailureErrorEnum_UNKNOWN PartialFailureErrorEnum_PartialFailureError = 1
	// The partial failure field was false in the request.
	// This method requires this field be set to true.
	PartialFailureErrorEnum_PARTIAL_FAILURE_MODE_REQUIRED PartialFailureErrorEnum_PartialFailureError = 2
)

var PartialFailureErrorEnum_PartialFailureError_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNKNOWN",
	2: "PARTIAL_FAILURE_MODE_REQUIRED",
}

var PartialFailureErrorEnum_PartialFailureError_value = map[string]int32{
	"UNSPECIFIED":                   0,
	"UNKNOWN":                       1,
	"PARTIAL_FAILURE_MODE_REQUIRED": 2,
}

func (x PartialFailureErrorEnum_PartialFailureError) String() string {
	return proto.EnumName(PartialFailureErrorEnum_PartialFailureError_name, int32(x))
}

func (PartialFailureErrorEnum_PartialFailureError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_32e9e87d16651f2f, []int{0, 0}
}

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

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

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

var xxx_messageInfo_PartialFailureErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v1.errors.PartialFailureErrorEnum_PartialFailureError", PartialFailureErrorEnum_PartialFailureError_name, PartialFailureErrorEnum_PartialFailureError_value)
	proto.RegisterType((*PartialFailureErrorEnum)(nil), "google.ads.googleads.v1.errors.PartialFailureErrorEnum")
}

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

var fileDescriptor_32e9e87d16651f2f = []byte{
	// 316 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4e, 0xb3, 0x40,
	0x14, 0x85, 0xff, 0xf2, 0x27, 0x9a, 0x4c, 0x17, 0x36, 0xb8, 0xd0, 0x18, 0x6d, 0x22, 0x0f, 0x30,
	0x84, 0xb8, 0x1b, 0x57, 0x53, 0x99, 0x36, 0xc4, 0x4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