// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v2/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_e35df727dc0b1623, []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_e35df727dc0b1623, []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.v2.errors.FunctionErrorEnum_FunctionError", FunctionErrorEnum_FunctionError_name, FunctionErrorEnum_FunctionError_value)
	proto.RegisterType((*FunctionErrorEnum)(nil), "google.ads.googleads.v2.errors.FunctionErrorEnum")
}

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

var fileDescriptor_e35df727dc0b1623 = []byte{
	// 541 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x51, 0x6f, 0xd3, 0x30,
	0x10, 0xc7, 0x59, 0x37, 0x36, 0xf0, 0x18, 0xf5, 0xcc, 0x34, 0x50, 0x99, 0xca, 0x54, 0xe0, 0x01,
	0x21, 0x25, 0x52, 0xf7, 0x16, 0x9e, 0xdc, 0xe4, 0xd2, 0x1a, 0x12, 0x27, 0xc4, 0x4e, 0x37, 0x50,
	0x25, 0xab, 0xac, 0x25, 0xaa, 0xb4, 0x25, 0x55, 0xd3, 0xed, 0x03, 0xf1, 0x08, 0x9f, 0x82, 0x57,
	0x3e, 0x0a, 0x12, 0xdf, 0x01, 0x25, 0x6e, 0x4a, 0x8b, 0x0a, 0x4f, 0xb9, 0xdc, 0xfd, 0xfe, 0xf7,
	0x3f, 0x5b, 0x67, 0x74, 0x96, 0x64, 0x59, 0x72, 0x35, 0x36, 0x87, 0xa3, 0xdc, 0xd4, 0x61, 0x11,
	0xdd, 0xb6, 0xcd, 0xf1, 0x6c, 0x96, 0xcd, 0x72, 0xf3, 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