Enum FunctionErrorEnum.FunctionError
- java.lang.Object
-
- java.lang.Enum<FunctionErrorEnum.FunctionError>
-
- com.google.ads.googleads.v10.errors.FunctionErrorEnum.FunctionError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<FunctionErrorEnum.FunctionError>
- Enclosing class:
- FunctionErrorEnum
public static enum FunctionErrorEnum.FunctionError extends java.lang.Enum<FunctionErrorEnum.FunctionError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible function errors.
Protobuf enumgoogle.ads.googleads.v10.errors.FunctionErrorEnum.FunctionError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_TYPE_MISMATCHOperand data types do not match.INVALID_ATTRIBUTE_NAMEInvalid attribute name.INVALID_CONJUNCTION_OPERANDSThe operands cannot be used together in a conjunction.INVALID_CONSTANT_OPERAND_VALUEThe value of the constant operand is invalid.INVALID_FUNCTION_FOR_CALL_PLACEHOLDERThe matching function is not allowed for call placeholdersINVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMAThe matching function is invalid for use with a feed with a fixed schema.INVALID_FUNCTION_FOR_PLACEHOLDERThe matching function is not allowed for the specified placeholderINVALID_FUNCTION_FORMATThe format of the function is not recognized as a supported function format.INVALID_NESTINGInvalid function nesting.INVALID_NUMBER_OF_OPERANDSInvalid numer of Operands.INVALID_OPERANDInvalid operand.INVALID_OPERAND_TYPEOperand Type not supported.INVALID_OPERATOROperator not supported.INVALID_REQUEST_CONTEXT_TYPERequest context type not supported.MISSING_CONSTANT_OPERAND_VALUEMissing value for the constant operand.MULTIPLE_FEED_IDS_NOT_SUPPORTEDThe Feed ID was different from another Feed ID in the same function.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intDATA_TYPE_MISMATCH_VALUEOperand data types do not match.static intINVALID_ATTRIBUTE_NAME_VALUEInvalid attribute name.static intINVALID_CONJUNCTION_OPERANDS_VALUEThe operands cannot be used together in a conjunction.static intINVALID_CONSTANT_OPERAND_VALUE_VALUEThe value of the constant operand is invalid.static intINVALID_FUNCTION_FOR_CALL_PLACEHOLDER_VALUEThe matching function is not allowed for call placeholdersstatic intINVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA_VALUEThe matching function is invalid for use with a feed with a fixed schema.static intINVALID_FUNCTION_FOR_PLACEHOLDER_VALUEThe matching function is not allowed for the specified placeholderstatic intINVALID_FUNCTION_FORMAT_VALUEThe format of the function is not recognized as a supported function format.static intINVALID_NESTING_VALUEInvalid function nesting.static intINVALID_NUMBER_OF_OPERANDS_VALUEInvalid numer of Operands.static intINVALID_OPERAND_TYPE_VALUEOperand Type not supported.static intINVALID_OPERAND_VALUEInvalid operand.static intINVALID_OPERATOR_VALUEOperator not supported.static intINVALID_REQUEST_CONTEXT_TYPE_VALUERequest context type not supported.static intMISSING_CONSTANT_OPERAND_VALUE_VALUEMissing value for the constant operand.static intMULTIPLE_FEED_IDS_NOT_SUPPORTED_VALUEThe Feed ID was different from another Feed ID in the same function.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FunctionErrorEnum.FunctionErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<FunctionErrorEnum.FunctionError>internalGetValueMap()static FunctionErrorEnum.FunctionErrorvalueOf(int value)Deprecated.static FunctionErrorEnum.FunctionErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static FunctionErrorEnum.FunctionErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FunctionErrorEnum.FunctionError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final FunctionErrorEnum.FunctionError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final FunctionErrorEnum.FunctionError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
INVALID_FUNCTION_FORMAT
public static final FunctionErrorEnum.FunctionError INVALID_FUNCTION_FORMAT
The format of the function is not recognized as a supported function format.
INVALID_FUNCTION_FORMAT = 2;
-
DATA_TYPE_MISMATCH
public static final FunctionErrorEnum.FunctionError DATA_TYPE_MISMATCH
Operand data types do not match.
DATA_TYPE_MISMATCH = 3;
-
INVALID_CONJUNCTION_OPERANDS
public static final FunctionErrorEnum.FunctionError INVALID_CONJUNCTION_OPERANDS
The operands cannot be used together in a conjunction.
INVALID_CONJUNCTION_OPERANDS = 4;
-
INVALID_NUMBER_OF_OPERANDS
public static final FunctionErrorEnum.FunctionError INVALID_NUMBER_OF_OPERANDS
Invalid numer of Operands.
INVALID_NUMBER_OF_OPERANDS = 5;
-
INVALID_OPERAND_TYPE
public static final FunctionErrorEnum.FunctionError INVALID_OPERAND_TYPE
Operand Type not supported.
INVALID_OPERAND_TYPE = 6;
-
INVALID_OPERATOR
public static final FunctionErrorEnum.FunctionError INVALID_OPERATOR
Operator not supported.
INVALID_OPERATOR = 7;
-
INVALID_REQUEST_CONTEXT_TYPE
public static final FunctionErrorEnum.FunctionError INVALID_REQUEST_CONTEXT_TYPE
Request context type not supported.
INVALID_REQUEST_CONTEXT_TYPE = 8;
-
INVALID_FUNCTION_FOR_CALL_PLACEHOLDER
public static final FunctionErrorEnum.FunctionError INVALID_FUNCTION_FOR_CALL_PLACEHOLDER
The matching function is not allowed for call placeholders
INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9;
-
INVALID_FUNCTION_FOR_PLACEHOLDER
public static final FunctionErrorEnum.FunctionError INVALID_FUNCTION_FOR_PLACEHOLDER
The matching function is not allowed for the specified placeholder
INVALID_FUNCTION_FOR_PLACEHOLDER = 10;
-
INVALID_OPERAND
public static final FunctionErrorEnum.FunctionError INVALID_OPERAND
Invalid operand.
INVALID_OPERAND = 11;
-
MISSING_CONSTANT_OPERAND_VALUE
public static final FunctionErrorEnum.FunctionError MISSING_CONSTANT_OPERAND_VALUE
Missing value for the constant operand.
MISSING_CONSTANT_OPERAND_VALUE = 12;
-
INVALID_CONSTANT_OPERAND_VALUE
public static final FunctionErrorEnum.FunctionError INVALID_CONSTANT_OPERAND_VALUE
The value of the constant operand is invalid.
INVALID_CONSTANT_OPERAND_VALUE = 13;
-
INVALID_NESTING
public static final FunctionErrorEnum.FunctionError INVALID_NESTING
Invalid function nesting.
INVALID_NESTING = 14;
-
MULTIPLE_FEED_IDS_NOT_SUPPORTED
public static final FunctionErrorEnum.FunctionError 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
public static final FunctionErrorEnum.FunctionError 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
public static final FunctionErrorEnum.FunctionError INVALID_ATTRIBUTE_NAME
Invalid attribute name.
INVALID_ATTRIBUTE_NAME = 17;
-
UNRECOGNIZED
public static final FunctionErrorEnum.FunctionError 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
-
INVALID_FUNCTION_FORMAT_VALUE
public static final int INVALID_FUNCTION_FORMAT_VALUE
The format of the function is not recognized as a supported function format.
INVALID_FUNCTION_FORMAT = 2;- See Also:
- Constant Field Values
-
DATA_TYPE_MISMATCH_VALUE
public static final int DATA_TYPE_MISMATCH_VALUE
Operand data types do not match.
DATA_TYPE_MISMATCH = 3;- See Also:
- Constant Field Values
-
INVALID_CONJUNCTION_OPERANDS_VALUE
public static final int INVALID_CONJUNCTION_OPERANDS_VALUE
The operands cannot be used together in a conjunction.
INVALID_CONJUNCTION_OPERANDS = 4;- See Also:
- Constant Field Values
-
INVALID_NUMBER_OF_OPERANDS_VALUE
public static final int INVALID_NUMBER_OF_OPERANDS_VALUE
Invalid numer of Operands.
INVALID_NUMBER_OF_OPERANDS = 5;- See Also:
- Constant Field Values
-
INVALID_OPERAND_TYPE_VALUE
public static final int INVALID_OPERAND_TYPE_VALUE
Operand Type not supported.
INVALID_OPERAND_TYPE = 6;- See Also:
- Constant Field Values
-
INVALID_OPERATOR_VALUE
public static final int INVALID_OPERATOR_VALUE
Operator not supported.
INVALID_OPERATOR = 7;- See Also:
- Constant Field Values
-
INVALID_REQUEST_CONTEXT_TYPE_VALUE
public static final int INVALID_REQUEST_CONTEXT_TYPE_VALUE
Request context type not supported.
INVALID_REQUEST_CONTEXT_TYPE = 8;- See Also:
- Constant Field Values
-
INVALID_FUNCTION_FOR_CALL_PLACEHOLDER_VALUE
public static final int INVALID_FUNCTION_FOR_CALL_PLACEHOLDER_VALUE
The matching function is not allowed for call placeholders
INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9;- See Also:
- Constant Field Values
-
INVALID_FUNCTION_FOR_PLACEHOLDER_VALUE
public static final int INVALID_FUNCTION_FOR_PLACEHOLDER_VALUE
The matching function is not allowed for the specified placeholder
INVALID_FUNCTION_FOR_PLACEHOLDER = 10;- See Also:
- Constant Field Values
-
INVALID_OPERAND_VALUE
public static final int INVALID_OPERAND_VALUE
Invalid operand.
INVALID_OPERAND = 11;- See Also:
- Constant Field Values
-
MISSING_CONSTANT_OPERAND_VALUE_VALUE
public static final int MISSING_CONSTANT_OPERAND_VALUE_VALUE
Missing value for the constant operand.
MISSING_CONSTANT_OPERAND_VALUE = 12;- See Also:
- Constant Field Values
-
INVALID_CONSTANT_OPERAND_VALUE_VALUE
public static final int INVALID_CONSTANT_OPERAND_VALUE_VALUE
The value of the constant operand is invalid.
INVALID_CONSTANT_OPERAND_VALUE = 13;- See Also:
- Constant Field Values
-
INVALID_NESTING_VALUE
public static final int INVALID_NESTING_VALUE
Invalid function nesting.
INVALID_NESTING = 14;- See Also:
- Constant Field Values
-
MULTIPLE_FEED_IDS_NOT_SUPPORTED_VALUE
public static final int MULTIPLE_FEED_IDS_NOT_SUPPORTED_VALUE
The Feed ID was different from another Feed ID in the same function.
MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15;- See Also:
- Constant Field Values
-
INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA_VALUE
public static final int INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA_VALUE
The matching function is invalid for use with a feed with a fixed schema.
INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16;- See Also:
- Constant Field Values
-
INVALID_ATTRIBUTE_NAME_VALUE
public static final int INVALID_ATTRIBUTE_NAME_VALUE
Invalid attribute name.
INVALID_ATTRIBUTE_NAME = 17;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FunctionErrorEnum.FunctionError[] 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 (FunctionErrorEnum.FunctionError c : FunctionErrorEnum.FunctionError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FunctionErrorEnum.FunctionError 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static FunctionErrorEnum.FunctionError 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 FunctionErrorEnum.FunctionError 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<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 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
-
-