Enum Class FieldErrorEnum.FieldError
java.lang.Object
java.lang.Enum<FieldErrorEnum.FieldError>
com.google.ads.googleads.v18.errors.FieldErrorEnum.FieldError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FieldErrorEnum.FieldError>,Constable
- Enclosing class:
- FieldErrorEnum
public static enum FieldErrorEnum.FieldError
extends Enum<FieldErrorEnum.FieldError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible field errors.Protobuf enum
google.ads.googleads.v18.errors.FieldErrorEnum.FieldError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe field's value is on a deny-list for this field.The field's value cannot be modified, except for clearing.The field cannot be cleared.The field attempted to be mutated is immutable.The field's value is invalid.The required field was not present.The required repeated field was empty.The received error code is not known in this version.Enum unspecified.The field cannot be set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe field's value is on a deny-list for this field.static final intThe field's value cannot be modified, except for clearing.static final intThe field cannot be cleared.static final intThe field attempted to be mutated is immutable.static final intThe field's value is invalid.static final intThe required repeated field was empty.static final intThe required field was not present.static final intThe received error code is not known in this version.static final intEnum unspecified.static final intThe field cannot be set. -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldErrorEnum.FieldErrorforNumber(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<FieldErrorEnum.FieldError>static FieldErrorEnum.FieldErrorvalueOf(int value) Deprecated.static FieldErrorEnum.FieldErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static FieldErrorEnum.FieldErrorReturns the enum constant of this class with the specified name.static FieldErrorEnum.FieldError[]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; -
REQUIRED
The required field was not present.
REQUIRED = 2; -
IMMUTABLE_FIELD
The field attempted to be mutated is immutable.
IMMUTABLE_FIELD = 3; -
INVALID_VALUE
The field's value is invalid.
INVALID_VALUE = 4; -
VALUE_MUST_BE_UNSET
The field cannot be set.
VALUE_MUST_BE_UNSET = 5; -
REQUIRED_NONEMPTY_LIST
The required repeated field was empty.
REQUIRED_NONEMPTY_LIST = 6; -
FIELD_CANNOT_BE_CLEARED
The field cannot be cleared.
FIELD_CANNOT_BE_CLEARED = 7; -
BLOCKED_VALUE
The field's value is on a deny-list for this field.
BLOCKED_VALUE = 9; -
FIELD_CAN_ONLY_BE_CLEARED
The field's value cannot be modified, except for clearing.
FIELD_CAN_ONLY_BE_CLEARED = 10; -
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:
-
REQUIRED_VALUE
public static final int REQUIRED_VALUEThe required field was not present.
REQUIRED = 2;- See Also:
-
IMMUTABLE_FIELD_VALUE
public static final int IMMUTABLE_FIELD_VALUEThe field attempted to be mutated is immutable.
IMMUTABLE_FIELD = 3;- See Also:
-
INVALID_VALUE_VALUE
public static final int INVALID_VALUE_VALUEThe field's value is invalid.
INVALID_VALUE = 4;- See Also:
-
VALUE_MUST_BE_UNSET_VALUE
public static final int VALUE_MUST_BE_UNSET_VALUEThe field cannot be set.
VALUE_MUST_BE_UNSET = 5;- See Also:
-
REQUIRED_NONEMPTY_LIST_VALUE
public static final int REQUIRED_NONEMPTY_LIST_VALUEThe required repeated field was empty.
REQUIRED_NONEMPTY_LIST = 6;- See Also:
-
FIELD_CANNOT_BE_CLEARED_VALUE
public static final int FIELD_CANNOT_BE_CLEARED_VALUEThe field cannot be cleared.
FIELD_CANNOT_BE_CLEARED = 7;- See Also:
-
BLOCKED_VALUE_VALUE
public static final int BLOCKED_VALUE_VALUEThe field's value is on a deny-list for this field.
BLOCKED_VALUE = 9;- See Also:
-
FIELD_CAN_ONLY_BE_CLEARED_VALUE
public static final int FIELD_CAN_ONLY_BE_CLEARED_VALUEThe field's value cannot be modified, except for clearing.
FIELD_CAN_ONLY_BE_CLEARED = 10;- 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<FieldErrorEnum.FieldError> 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 FieldErrorEnum.FieldError 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
-