Enum 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 enum google.ads.googleads.v10.errors.FieldErrorEnum.FieldError
    • Enum Constant Detail

      • UNKNOWN

        public static final FieldErrorEnum.FieldError UNKNOWN
         The received error code is not known in this version.
         
        UNKNOWN = 1;
      • 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 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 name
        java.lang.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 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 name
        java.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:
        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 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 name
        java.lang.NullPointerException - if the argument is null