Enum FieldErrorEnum.FieldError
- java.lang.Object
-
- java.lang.Enum<FieldErrorEnum.FieldError>
-
- com.google.ads.googleads.v10.errors.FieldErrorEnum.FieldError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<FieldErrorEnum.FieldError>
- Enclosing class:
- FieldErrorEnum
public static enum FieldErrorEnum.FieldError extends java.lang.Enum<FieldErrorEnum.FieldError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible field errors.
Protobuf enumgoogle.ads.googleads.v10.errors.FieldErrorEnum.FieldError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCKED_VALUEThe field's value is on a deny-list for this field.FIELD_CANNOT_BE_CLEAREDThe field cannot be cleared.IMMUTABLE_FIELDThe field attempted to be mutated is immutable.INVALID_VALUEThe field's value is invalid.REQUIREDThe required field was not present.REQUIRED_NONEMPTY_LISTThe required repeated field was empty.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.VALUE_MUST_BE_UNSETThe field cannot be set.
-
Field Summary
Fields Modifier and Type Field Description static intBLOCKED_VALUE_VALUEThe field's value is on a deny-list for this field.static intFIELD_CANNOT_BE_CLEARED_VALUEThe field cannot be cleared.static intIMMUTABLE_FIELD_VALUEThe field attempted to be mutated is immutable.static intINVALID_VALUE_VALUEThe field's value is invalid.static intREQUIRED_NONEMPTY_LIST_VALUEThe required repeated field was empty.static intREQUIRED_VALUEThe required field was not present.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.static intVALUE_MUST_BE_UNSET_VALUEThe field cannot be set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FieldErrorEnum.FieldErrorforNumber(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<FieldErrorEnum.FieldError>internalGetValueMap()static FieldErrorEnum.FieldErrorvalueOf(int value)Deprecated.static FieldErrorEnum.FieldErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static FieldErrorEnum.FieldErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FieldErrorEnum.FieldError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final FieldErrorEnum.FieldError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final FieldErrorEnum.FieldError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
REQUIRED
public static final FieldErrorEnum.FieldError REQUIRED
The required field was not present.
REQUIRED = 2;
-
IMMUTABLE_FIELD
public static final FieldErrorEnum.FieldError IMMUTABLE_FIELD
The field attempted to be mutated is immutable.
IMMUTABLE_FIELD = 3;
-
INVALID_VALUE
public static final FieldErrorEnum.FieldError INVALID_VALUE
The field's value is invalid.
INVALID_VALUE = 4;
-
VALUE_MUST_BE_UNSET
public static final FieldErrorEnum.FieldError VALUE_MUST_BE_UNSET
The field cannot be set.
VALUE_MUST_BE_UNSET = 5;
-
REQUIRED_NONEMPTY_LIST
public static final FieldErrorEnum.FieldError REQUIRED_NONEMPTY_LIST
The required repeated field was empty.
REQUIRED_NONEMPTY_LIST = 6;
-
FIELD_CANNOT_BE_CLEARED
public static final FieldErrorEnum.FieldError FIELD_CANNOT_BE_CLEARED
The field cannot be cleared.
FIELD_CANNOT_BE_CLEARED = 7;
-
BLOCKED_VALUE
public static final FieldErrorEnum.FieldError BLOCKED_VALUE
The field's value is on a deny-list for this field.
BLOCKED_VALUE = 9;
-
UNRECOGNIZED
public static final FieldErrorEnum.FieldError 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
-
REQUIRED_VALUE
public static final int REQUIRED_VALUE
The required field was not present.
REQUIRED = 2;- See Also:
- Constant Field Values
-
IMMUTABLE_FIELD_VALUE
public static final int IMMUTABLE_FIELD_VALUE
The field attempted to be mutated is immutable.
IMMUTABLE_FIELD = 3;- See Also:
- Constant Field Values
-
INVALID_VALUE_VALUE
public static final int INVALID_VALUE_VALUE
The field's value is invalid.
INVALID_VALUE = 4;- See Also:
- Constant Field Values
-
VALUE_MUST_BE_UNSET_VALUE
public static final int VALUE_MUST_BE_UNSET_VALUE
The field cannot be set.
VALUE_MUST_BE_UNSET = 5;- See Also:
- Constant Field Values
-
REQUIRED_NONEMPTY_LIST_VALUE
public static final int REQUIRED_NONEMPTY_LIST_VALUE
The required repeated field was empty.
REQUIRED_NONEMPTY_LIST = 6;- See Also:
- Constant Field Values
-
FIELD_CANNOT_BE_CLEARED_VALUE
public static final int FIELD_CANNOT_BE_CLEARED_VALUE
The field cannot be cleared.
FIELD_CANNOT_BE_CLEARED = 7;- See Also:
- Constant Field Values
-
BLOCKED_VALUE_VALUE
public static final int BLOCKED_VALUE_VALUE
The field's value is on a deny-list for this field.
BLOCKED_VALUE = 9;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FieldErrorEnum.FieldError[] 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 (FieldErrorEnum.FieldError c : FieldErrorEnum.FieldError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldErrorEnum.FieldError 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 FieldErrorEnum.FieldError 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 FieldErrorEnum.FieldError 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<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 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
-
-