Enum FunctionParsingErrorEnum.FunctionParsingError
- java.lang.Object
-
- java.lang.Enum<FunctionParsingErrorEnum.FunctionParsingError>
-
- com.google.ads.googleads.v14.errors.FunctionParsingErrorEnum.FunctionParsingError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<FunctionParsingErrorEnum.FunctionParsingError>
- Enclosing class:
- FunctionParsingErrorEnum
public static enum FunctionParsingErrorEnum.FunctionParsingError extends java.lang.Enum<FunctionParsingErrorEnum.FunctionParsingError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible function parsing errors.
Protobuf enumgoogle.ads.googleads.v14.errors.FunctionParsingErrorEnum.FunctionParsingError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPECTED_CHARACTER
Could not find an expected character.FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER
Feed attribute operand's argument is not an integer.INVALID_OPERATOR_NAME
Invalid operator/function name.MISSING_RIGHT_HAND_OPERAND
Missing right-hand-side operand.NO_MORE_INPUT
Unexpected end of function string.NO_OPERANDS
Missing function operands.TOO_MANY_NESTED_FUNCTIONS
Functions are nested too deeply.TOO_MANY_OPERANDS
Function had too many operands.UNEXPECTED_SEPARATOR
Unexpected separator character.UNKNOWN
The received error code is not known in this version.UNMATCHED_LEFT_BRACKET
Unmatched left bracket or parenthesis.UNMATCHED_RIGHT_BRACKET
Unmatched right bracket or parenthesis.UNRECOGNIZED
UNSPECIFIED
Enum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static int
EXPECTED_CHARACTER_VALUE
Could not find an expected character.static int
FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER_VALUE
Feed attribute operand's argument is not an integer.static int
INVALID_OPERATOR_NAME_VALUE
Invalid operator/function name.static int
MISSING_RIGHT_HAND_OPERAND_VALUE
Missing right-hand-side operand.static int
NO_MORE_INPUT_VALUE
Unexpected end of function string.static int
NO_OPERANDS_VALUE
Missing function operands.static int
TOO_MANY_NESTED_FUNCTIONS_VALUE
Functions are nested too deeply.static int
TOO_MANY_OPERANDS_VALUE
Function had too many operands.static int
UNEXPECTED_SEPARATOR_VALUE
Unexpected separator character.static int
UNKNOWN_VALUE
The received error code is not known in this version.static int
UNMATCHED_LEFT_BRACKET_VALUE
Unmatched left bracket or parenthesis.static int
UNMATCHED_RIGHT_BRACKET_VALUE
Unmatched right bracket or parenthesis.static int
UNSPECIFIED_VALUE
Enum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FunctionParsingErrorEnum.FunctionParsingError
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<FunctionParsingErrorEnum.FunctionParsingError>
internalGetValueMap()
static FunctionParsingErrorEnum.FunctionParsingError
valueOf(int value)
Deprecated.static FunctionParsingErrorEnum.FunctionParsingError
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static FunctionParsingErrorEnum.FunctionParsingError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FunctionParsingErrorEnum.FunctionParsingError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final FunctionParsingErrorEnum.FunctionParsingError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final FunctionParsingErrorEnum.FunctionParsingError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
NO_MORE_INPUT
public static final FunctionParsingErrorEnum.FunctionParsingError NO_MORE_INPUT
Unexpected end of function string.
NO_MORE_INPUT = 2;
-
EXPECTED_CHARACTER
public static final FunctionParsingErrorEnum.FunctionParsingError EXPECTED_CHARACTER
Could not find an expected character.
EXPECTED_CHARACTER = 3;
-
UNEXPECTED_SEPARATOR
public static final FunctionParsingErrorEnum.FunctionParsingError UNEXPECTED_SEPARATOR
Unexpected separator character.
UNEXPECTED_SEPARATOR = 4;
-
UNMATCHED_LEFT_BRACKET
public static final FunctionParsingErrorEnum.FunctionParsingError UNMATCHED_LEFT_BRACKET
Unmatched left bracket or parenthesis.
UNMATCHED_LEFT_BRACKET = 5;
-
UNMATCHED_RIGHT_BRACKET
public static final FunctionParsingErrorEnum.FunctionParsingError UNMATCHED_RIGHT_BRACKET
Unmatched right bracket or parenthesis.
UNMATCHED_RIGHT_BRACKET = 6;
-
TOO_MANY_NESTED_FUNCTIONS
public static final FunctionParsingErrorEnum.FunctionParsingError TOO_MANY_NESTED_FUNCTIONS
Functions are nested too deeply.
TOO_MANY_NESTED_FUNCTIONS = 7;
-
MISSING_RIGHT_HAND_OPERAND
public static final FunctionParsingErrorEnum.FunctionParsingError MISSING_RIGHT_HAND_OPERAND
Missing right-hand-side operand.
MISSING_RIGHT_HAND_OPERAND = 8;
-
INVALID_OPERATOR_NAME
public static final FunctionParsingErrorEnum.FunctionParsingError INVALID_OPERATOR_NAME
Invalid operator/function name.
INVALID_OPERATOR_NAME = 9;
-
FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER
public static final FunctionParsingErrorEnum.FunctionParsingError FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER
Feed attribute operand's argument is not an integer.
FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER = 10;
-
NO_OPERANDS
public static final FunctionParsingErrorEnum.FunctionParsingError NO_OPERANDS
Missing function operands.
NO_OPERANDS = 11;
-
TOO_MANY_OPERANDS
public static final FunctionParsingErrorEnum.FunctionParsingError TOO_MANY_OPERANDS
Function had too many operands.
TOO_MANY_OPERANDS = 12;
-
UNRECOGNIZED
public static final FunctionParsingErrorEnum.FunctionParsingError UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Enum unspecified.
UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The received error code is not known in this version.
UNKNOWN = 1;
- See Also:
- Constant Field Values
-
NO_MORE_INPUT_VALUE
public static final int NO_MORE_INPUT_VALUE
Unexpected end of function string.
NO_MORE_INPUT = 2;
- See Also:
- Constant Field Values
-
EXPECTED_CHARACTER_VALUE
public static final int EXPECTED_CHARACTER_VALUE
Could not find an expected character.
EXPECTED_CHARACTER = 3;
- See Also:
- Constant Field Values
-
UNEXPECTED_SEPARATOR_VALUE
public static final int UNEXPECTED_SEPARATOR_VALUE
Unexpected separator character.
UNEXPECTED_SEPARATOR = 4;
- See Also:
- Constant Field Values
-
UNMATCHED_LEFT_BRACKET_VALUE
public static final int UNMATCHED_LEFT_BRACKET_VALUE
Unmatched left bracket or parenthesis.
UNMATCHED_LEFT_BRACKET = 5;
- See Also:
- Constant Field Values
-
UNMATCHED_RIGHT_BRACKET_VALUE
public static final int UNMATCHED_RIGHT_BRACKET_VALUE
Unmatched right bracket or parenthesis.
UNMATCHED_RIGHT_BRACKET = 6;
- See Also:
- Constant Field Values
-
TOO_MANY_NESTED_FUNCTIONS_VALUE
public static final int TOO_MANY_NESTED_FUNCTIONS_VALUE
Functions are nested too deeply.
TOO_MANY_NESTED_FUNCTIONS = 7;
- See Also:
- Constant Field Values
-
MISSING_RIGHT_HAND_OPERAND_VALUE
public static final int MISSING_RIGHT_HAND_OPERAND_VALUE
Missing right-hand-side operand.
MISSING_RIGHT_HAND_OPERAND = 8;
- See Also:
- Constant Field Values
-
INVALID_OPERATOR_NAME_VALUE
public static final int INVALID_OPERATOR_NAME_VALUE
Invalid operator/function name.
INVALID_OPERATOR_NAME = 9;
- See Also:
- Constant Field Values
-
FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER_VALUE
public static final int FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER_VALUE
Feed attribute operand's argument is not an integer.
FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER = 10;
- See Also:
- Constant Field Values
-
NO_OPERANDS_VALUE
public static final int NO_OPERANDS_VALUE
Missing function operands.
NO_OPERANDS = 11;
- See Also:
- Constant Field Values
-
TOO_MANY_OPERANDS_VALUE
public static final int TOO_MANY_OPERANDS_VALUE
Function had too many operands.
TOO_MANY_OPERANDS = 12;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FunctionParsingErrorEnum.FunctionParsingError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FunctionParsingErrorEnum.FunctionParsingError c : FunctionParsingErrorEnum.FunctionParsingError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FunctionParsingErrorEnum.FunctionParsingError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static FunctionParsingErrorEnum.FunctionParsingError valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static FunctionParsingErrorEnum.FunctionParsingError forNumber(int value)
- 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<FunctionParsingErrorEnum.FunctionParsingError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static FunctionParsingErrorEnum.FunctionParsingError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-