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

const (
	// Enum unspecified.
	FunctionErrorEnum_UNSPECIFIED FunctionErrorEnum_FunctionError = 0
	// The received error code is not known in this version.
	FunctionErrorEnum_UNKNOWN FunctionErrorEnum_FunctionError = 1
	// The format of the function is not recognized as a supported function
	// format.
	FunctionErrorEnum_INVALID_FUNCTION_FORMAT FunctionErrorEnum_FunctionError = 2
	// Operand data types do not match.
	FunctionErrorEnum_DATA_TYPE_MISMATCH FunctionErrorEnum_FunctionError = 3
	// The operands cannot be used together in a conjunction.
	FunctionErrorEnum_INVALID_CONJUNCTION_OPERANDS FunctionErrorEnum_FunctionError = 4
	// Invalid numer of Operands.
	FunctionErrorEnum_INVALID_NUMBER_OF_OPERANDS FunctionErrorEnum_FunctionError = 5
	// Operand Type not supported.
	FunctionErrorEnum_INVALID_OPERAND_TYPE FunctionErrorEnum_FunctionError = 6
	// Operator not supported.
	FunctionErrorEnum_INVALID_OPERATOR FunctionErrorEnum_FunctionError = 7
	// Request context type not supported.
	FunctionErrorEnum_INVALID_REQUEST_CONTEXT_TYPE FunctionErrorEnum_FunctionError = 8
	// The matching function is not allowed for call placeholders
	FunctionErrorEnum_INVALID_FUNCTION_FOR_CALL_PLACEHOLDER FunctionErrorEnum_FunctionError = 9
	// The matching function is not allowed for the specified placeholder
	FunctionErrorEnum_INVALID_FUNCTION_FOR_PLACEHOLDER FunctionErrorEnum_FunctionError = 10
	// Invalid operand.
	FunctionErrorEnum_INVALID_OPERAND FunctionErrorEnum_FunctionError = 11
	// Missing value for the constant operand.
	FunctionErrorEnum_MISSING_CONSTANT_OPERAND_VALUE FunctionErrorEnum_FunctionError = 12
	// The value of the constant operand is invalid.
	FunctionErrorEnum_INVALID_CONSTANT_OPERAND_VALUE FunctionErrorEnum_FunctionError = 13
	// Invalid function nesting.
	FunctionErrorEnum_INVALID_NESTING FunctionErrorEnum_FunctionError = 14
	// The Feed ID was different from another Feed ID in the same function.
	FunctionErrorEnum_MULTIPLE_FEED_IDS_NOT_SUPPORTED FunctionErrorEnum_FunctionError = 15
	// The matching function is invalid for use with a feed with a fixed schema.
	FunctionErrorEnum_INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA FunctionErrorEnum_FunctionError = 16
	// Invalid attribute name.
	FunctionErrorEnum_INVALID_ATTRIBUTE_NAME FunctionErrorEnum_FunctionError = 17
)

var FunctionErrorEnum_FunctionError_name = map[int32]string{
	0:  "UNSPECIFIED",
	1:  "UNKNOWN",
	2:  "INVALID_FUNCTION_FORMAT",
	3:  "DATA_TYPE_MISMATCH",
	4:  "INVALID_CONJUNCTION_OPERANDS",
	5:  "INVALID_NUMBER_OF_OPERANDS",
	6:  "INVALID_OPERAND_TYPE",
	7:  "INVALID_OPERATOR",
	8:  "INVALID_REQUEST_CONTEXT_TYPE",
	9:  "INVALID_FUNCTION_FOR_CALL_PLACEHOLDER",
	10: "INVALID_FUNCTION_FOR_PLACEHOLDER",
	11: "INVALID_OPERAND",
	12: "MISSING_CONSTANT_OPERAND_VALUE",
	13: "INVALID_CONSTANT_OPERAND_VALUE",
	14: "INVALID_NESTING",
	15: "MULTIPLE_FEED_IDS_NOT_SUPPORTED",
	16: "INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA",
	17: "INVALID_ATTRIBUTE_NAME",
}

var FunctionErrorEnum_FunctionError_value = map[string]int32{
	"UNSPECIFIED":                                 0,
	"UNKNOWN":                                     1,
	"INVALID_FUNCTION_FORMAT":                     2,
	"DATA_TYPE_MISMATCH":                          3,
	"INVALID_CONJUNCTION_OPERANDS":                4,
	"INVALID_NUMBER_OF_OPERANDS":                  5,
	"INVALID_OPERAND_TYPE":                        6,
	"INVALID_OPERATOR":                            7,
	"INVALID_REQUEST_CONTEXT_TYPE":                8,
	"INVALID_FUNCTION_FOR_CALL_PLACEHOLDER":       9,
	"INVALID_FUNCTION_FOR_PLACEHOLDER":            10,
	"INVALID_OPERAND":                             11,
	"MISSING_CONSTANT_OPERAND_VALUE":              12,
	"INVALID_CONSTANT_OPERAND_VALUE":              13,
	"INVALID_NESTING":                             14,
	"MULTIPLE_FEED_IDS_NOT_SUPPORTED":             15,
	"INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA": 16,
	"INVALID_ATTRIBUTE_NAME":                      17,
}

func (x FunctionErrorEnum_FunctionError) String() string {
	return proto.EnumName(FunctionErrorEnum_FunctionError_name, int32(x))
}

func (FunctionErrorEnum_FunctionError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_6dede647b246289c, []int{0, 0}
}

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

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

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

var xxx_messageInfo_FunctionErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v3.errors.FunctionErrorEnum_FunctionError", FunctionErrorEnum_FunctionError_name, FunctionErrorEnum_FunctionError_value)
	proto.RegisterType((*FunctionErrorEnum)(nil), "google.ads.googleads.v3.errors.FunctionErrorEnum")
}

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

var fileDescriptor_6dede647b246289c = []byte{
	// 539 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xc1, 0x6e, 0xd3, 0x40,
	0x10, 0x86, 0x49, 0x1a, 0x5a, 0xd8, 0x50, 0xb2, 0x5d, 0xaa, 0x82, 0x42, 0x15, 0xaa, 0x00, 0x07,
	0x84, 0x64, 0x1f, 0x7c, 0x33, 0xa7, 0x8d, 0x3d, 0x4e, 0x16, 0xec, 0xb5, 0xb1, 0xd7, 0x69, 0x41,
	0x91, 0x56, 0xa1, 0x09, 0x56, 0xa4, 0xd6, 0x8e, 0xe2, 0xb4, 0x0f, 0xc4, 0x11, 0x9e, 0x82, 0x2b,
	0x8f, 0x82, 0xc4, 0x3b, 0x20, 0x7b, 0xe3, 0x90, 0xa0, 0xc0, 0xc9, 0xe3, 0x99, 0xef, 0x9f, 0x7f,
	0x76, 0x35, 0x8b, 0x8c, 0x24, 0xcb, 0x92, 0xab, 0xa9, 0x3e, 0x9e, 0xe4, 0xba, 0x0a, 0x8b, 0xe8,
	0xd6, 0xd0, 0xa7, 0x8b, 0x45, 0xb6, 0xc8, 0xf5, 0x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