Enum Class FunctionErrorEnum.FunctionError
java.lang.Object
java.lang.Enum<FunctionErrorEnum.FunctionError>
com.google.ads.googleads.v18.errors.FunctionErrorEnum.FunctionError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FunctionErrorEnum.FunctionError>,Constable
- Enclosing class:
- FunctionErrorEnum
public static enum FunctionErrorEnum.FunctionError
extends Enum<FunctionErrorEnum.FunctionError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible function errors.Protobuf enum
google.ads.googleads.v18.errors.FunctionErrorEnum.FunctionError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOperand data types do not match.Invalid attribute name.The operands cannot be used together in a conjunction.The value of the constant operand is invalid.The matching function is not allowed for call placeholdersThe matching function is invalid for use with a feed with a fixed schema.The matching function is not allowed for the specified placeholderThe format of the function is not recognized as a supported function format.Invalid function nesting.Invalid numer of Operands.Invalid operand.Operand Type not supported.Operator not supported.Request context type not supported.Missing value for the constant operand.The Feed ID was different from another Feed ID in the same function.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intOperand data types do not match.static final intInvalid attribute name.static final intThe operands cannot be used together in a conjunction.static final intThe value of the constant operand is invalid.static final intThe matching function is not allowed for call placeholdersstatic final intThe matching function is invalid for use with a feed with a fixed schema.static final intThe matching function is not allowed for the specified placeholderstatic final intThe format of the function is not recognized as a supported function format.static final intInvalid function nesting.static final intInvalid numer of Operands.static final intOperand Type not supported.static final intInvalid operand.static final intOperator not supported.static final intRequest context type not supported.static final intMissing value for the constant operand.static final intThe Feed ID was different from another Feed ID in the same function.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<FunctionErrorEnum.FunctionError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static FunctionErrorEnum.FunctionError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
INVALID_FUNCTION_FORMAT
The format of the function is not recognized as a supported function format.
INVALID_FUNCTION_FORMAT = 2; -
DATA_TYPE_MISMATCH
Operand data types do not match.
DATA_TYPE_MISMATCH = 3; -
INVALID_CONJUNCTION_OPERANDS
The operands cannot be used together in a conjunction.
INVALID_CONJUNCTION_OPERANDS = 4; -
INVALID_NUMBER_OF_OPERANDS
Invalid numer of Operands.
INVALID_NUMBER_OF_OPERANDS = 5; -
INVALID_OPERAND_TYPE
Operand Type not supported.
INVALID_OPERAND_TYPE = 6; -
INVALID_OPERATOR
Operator not supported.
INVALID_OPERATOR = 7; -
INVALID_REQUEST_CONTEXT_TYPE
Request context type not supported.
INVALID_REQUEST_CONTEXT_TYPE = 8; -
INVALID_FUNCTION_FOR_CALL_PLACEHOLDER
The matching function is not allowed for call placeholders
INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9; -
INVALID_FUNCTION_FOR_PLACEHOLDER
The matching function is not allowed for the specified placeholder
INVALID_FUNCTION_FOR_PLACEHOLDER = 10; -
INVALID_OPERAND
Invalid operand.
INVALID_OPERAND = 11; -
MISSING_CONSTANT_OPERAND_VALUE
Missing value for the constant operand.
MISSING_CONSTANT_OPERAND_VALUE = 12; -
INVALID_CONSTANT_OPERAND_VALUE
The value of the constant operand is invalid.
INVALID_CONSTANT_OPERAND_VALUE = 13; -
INVALID_NESTING
Invalid function nesting.
INVALID_NESTING = 14; -
MULTIPLE_FEED_IDS_NOT_SUPPORTED
The Feed ID was different from another Feed ID in the same function.
MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15; -
INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA
The matching function is invalid for use with a feed with a fixed schema.
INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16; -
INVALID_ATTRIBUTE_NAME
Invalid attribute name.
INVALID_ATTRIBUTE_NAME = 17; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received error code is not known in this version.
UNKNOWN = 1;- See Also:
-
INVALID_FUNCTION_FORMAT_VALUE
public static final int INVALID_FUNCTION_FORMAT_VALUEThe format of the function is not recognized as a supported function format.
INVALID_FUNCTION_FORMAT = 2;- See Also:
-
DATA_TYPE_MISMATCH_VALUE
public static final int DATA_TYPE_MISMATCH_VALUEOperand data types do not match.
DATA_TYPE_MISMATCH = 3;- See Also:
-
INVALID_CONJUNCTION_OPERANDS_VALUE
public static final int INVALID_CONJUNCTION_OPERANDS_VALUEThe operands cannot be used together in a conjunction.
INVALID_CONJUNCTION_OPERANDS = 4;- See Also:
-
INVALID_NUMBER_OF_OPERANDS_VALUE
public static final int INVALID_NUMBER_OF_OPERANDS_VALUEInvalid numer of Operands.
INVALID_NUMBER_OF_OPERANDS = 5;- See Also:
-
INVALID_OPERAND_TYPE_VALUE
public static final int INVALID_OPERAND_TYPE_VALUEOperand Type not supported.
INVALID_OPERAND_TYPE = 6;- See Also:
-
INVALID_OPERATOR_VALUE
public static final int INVALID_OPERATOR_VALUEOperator not supported.
INVALID_OPERATOR = 7;- See Also:
-
INVALID_REQUEST_CONTEXT_TYPE_VALUE
public static final int INVALID_REQUEST_CONTEXT_TYPE_VALUERequest context type not supported.
INVALID_REQUEST_CONTEXT_TYPE = 8;- See Also:
-
INVALID_FUNCTION_FOR_CALL_PLACEHOLDER_VALUE
public static final int INVALID_FUNCTION_FOR_CALL_PLACEHOLDER_VALUEThe matching function is not allowed for call placeholders
INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9;- See Also:
-
INVALID_FUNCTION_FOR_PLACEHOLDER_VALUE
public static final int INVALID_FUNCTION_FOR_PLACEHOLDER_VALUEThe matching function is not allowed for the specified placeholder
INVALID_FUNCTION_FOR_PLACEHOLDER = 10;- See Also:
-
INVALID_OPERAND_VALUE
public static final int INVALID_OPERAND_VALUEInvalid operand.
INVALID_OPERAND = 11;- See Also:
-
MISSING_CONSTANT_OPERAND_VALUE_VALUE
public static final int MISSING_CONSTANT_OPERAND_VALUE_VALUEMissing value for the constant operand.
MISSING_CONSTANT_OPERAND_VALUE = 12;- See Also:
-
INVALID_CONSTANT_OPERAND_VALUE_VALUE
public static final int INVALID_CONSTANT_OPERAND_VALUE_VALUEThe value of the constant operand is invalid.
INVALID_CONSTANT_OPERAND_VALUE = 13;- See Also:
-
INVALID_NESTING_VALUE
public static final int INVALID_NESTING_VALUEInvalid function nesting.
INVALID_NESTING = 14;- See Also:
-
MULTIPLE_FEED_IDS_NOT_SUPPORTED_VALUE
public static final int MULTIPLE_FEED_IDS_NOT_SUPPORTED_VALUEThe Feed ID was different from another Feed ID in the same function.
MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15;- See Also:
-
INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA_VALUE
public static final int INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA_VALUEThe matching function is invalid for use with a feed with a fixed schema.
INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16;- See Also:
-
INVALID_ATTRIBUTE_NAME_VALUE
public static final int INVALID_ATTRIBUTE_NAME_VALUEInvalid attribute name.
INVALID_ATTRIBUTE_NAME = 17;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<FunctionErrorEnum.FunctionError> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static FunctionErrorEnum.FunctionError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-