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
  • Enum Constant Details

    • 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;
    • FIELD_CAN_ONLY_BE_CLEARED

      public static final FieldErrorEnum.FieldError FIELD_CAN_ONLY_BE_CLEARED
       The field's value cannot be modified, except for clearing.
       
      FIELD_CAN_ONLY_BE_CLEARED = 10;
    • UNRECOGNIZED

      public static final FieldErrorEnum.FieldError UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The received error code is not known in this version.
       
      UNKNOWN = 1;
      See Also:
    • REQUIRED_VALUE

      public static final int REQUIRED_VALUE
       The required field was not present.
       
      REQUIRED = 2;
      See Also:
    • IMMUTABLE_FIELD_VALUE

      public static final int IMMUTABLE_FIELD_VALUE
       The field attempted to be mutated is immutable.
       
      IMMUTABLE_FIELD = 3;
      See Also:
    • INVALID_VALUE_VALUE

      public static final int INVALID_VALUE_VALUE
       The field's value is invalid.
       
      INVALID_VALUE = 4;
      See Also:
    • 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:
    • REQUIRED_NONEMPTY_LIST_VALUE

      public static final int REQUIRED_NONEMPTY_LIST_VALUE
       The required repeated field was empty.
       
      REQUIRED_NONEMPTY_LIST = 6;
      See Also:
    • 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:
    • 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:
    • FIELD_CAN_ONLY_BE_CLEARED_VALUE

      public static final int FIELD_CAN_ONLY_BE_CLEARED_VALUE
       The field's value cannot be modified, except for clearing.
       
      FIELD_CAN_ONLY_BE_CLEARED = 10;
      See Also:
  • Method Details

    • values

      public static FieldErrorEnum.FieldError[] 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

      public static FieldErrorEnum.FieldError valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static FieldErrorEnum.FieldError valueOf(int value)
      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 name
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null