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

const (
	// Enum unspecified.
	PolicyViolationErrorEnum_UNSPECIFIED PolicyViolationErrorEnum_PolicyViolationError = 0
	// The received error code is not known in this version.
	PolicyViolationErrorEnum_UNKNOWN PolicyViolationErrorEnum_PolicyViolationError = 1
	// A policy was violated. See PolicyViolationDetails for more detail.
	PolicyViolationErrorEnum_POLICY_ERROR PolicyViolationErrorEnum_PolicyViolationError = 2
)

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

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

func (x PolicyViolationErrorEnum_PolicyViolationError) String() string {
	return proto.EnumName(PolicyViolationErrorEnum_PolicyViolationError_name, int32(x))
}

func (PolicyViolationErrorEnum_PolicyViolationError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_044bb86a6ff9ba04, []int{0, 0}
}

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

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

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

var xxx_messageInfo_PolicyViolationErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v2.errors.PolicyViolationErrorEnum_PolicyViolationError", PolicyViolationErrorEnum_PolicyViolationError_name, PolicyViolationErrorEnum_PolicyViolationError_value)
	proto.RegisterType((*PolicyViolationErrorEnum)(nil), "google.ads.googleads.v2.errors.PolicyViolationErrorEnum")
}

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

var fileDescriptor_044bb86a6ff9ba04 = []byte{
	// 301 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0x84, 0x40,
	0x14, 0x86, 0xd3, 0xa0, 0x60, 0x36, 0x48, 0xa4, 0x8b, 0x8a, 0xd8, 0x0b, 0x1f, 0x60, 0x06, 0xec,
	0x6e, 0xf6, 0xca, 0xdd, 0x75, 0x17, 0x29, 0x54,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