Enum Build.Attribute.Discriminator

    • Field Detail

      • INTEGER_VALUE

        public static final int INTEGER_VALUE
         int_value
         
        INTEGER = 1;
        See Also:
        Constant Field Values
      • STRING_VALUE

        public static final int STRING_VALUE
         string_value
         
        STRING = 2;
        See Also:
        Constant Field Values
      • LABEL_VALUE

        public static final int LABEL_VALUE
         string_value
         
        LABEL = 3;
        See Also:
        Constant Field Values
      • OUTPUT_VALUE

        public static final int OUTPUT_VALUE
         string_value
         
        OUTPUT = 4;
        See Also:
        Constant Field Values
      • STRING_LIST_VALUE

        public static final int STRING_LIST_VALUE
         string_list_value
         
        STRING_LIST = 5;
        See Also:
        Constant Field Values
      • LABEL_LIST_VALUE

        public static final int LABEL_LIST_VALUE
         string_list_value
         
        LABEL_LIST = 6;
        See Also:
        Constant Field Values
      • OUTPUT_LIST_VALUE

        public static final int OUTPUT_LIST_VALUE
         string_list_value
         
        OUTPUT_LIST = 7;
        See Also:
        Constant Field Values
      • DISTRIBUTION_SET_VALUE

        public static final int DISTRIBUTION_SET_VALUE
         string_list_value - order is unimportant
         
        DISTRIBUTION_SET = 8;
        See Also:
        Constant Field Values
      • LICENSE_VALUE

        public static final int LICENSE_VALUE
         license
         
        LICENSE = 9;
        See Also:
        Constant Field Values
      • STRING_DICT_VALUE

        public static final int STRING_DICT_VALUE
         string_dict_value
         
        STRING_DICT = 10;
        See Also:
        Constant Field Values
      • FILESET_ENTRY_LIST_VALUE

        public static final int FILESET_ENTRY_LIST_VALUE
         fileset_list_value
         
        FILESET_ENTRY_LIST = 11;
        See Also:
        Constant Field Values
      • LABEL_LIST_DICT_VALUE

        public static final int LABEL_LIST_DICT_VALUE
         label_list_dict_value
         
        LABEL_LIST_DICT = 12;
        See Also:
        Constant Field Values
      • STRING_LIST_DICT_VALUE

        public static final int STRING_LIST_DICT_VALUE
         string_list_dict_value
         
        STRING_LIST_DICT = 13;
        See Also:
        Constant Field Values
      • BOOLEAN_VALUE

        public static final int BOOLEAN_VALUE
         int, bool and string value
         
        BOOLEAN = 14;
        See Also:
        Constant Field Values
      • TRISTATE_VALUE

        public static final int TRISTATE_VALUE
         tristate, int and string value
         
        TRISTATE = 15;
        See Also:
        Constant Field Values
      • INTEGER_LIST_VALUE

        public static final int INTEGER_LIST_VALUE
         int_list_value
         
        INTEGER_LIST = 16;
        See Also:
        Constant Field Values
      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         unknown type, use only for build extensions
         
        UNKNOWN = 18;
        See Also:
        Constant Field Values
      • LABEL_DICT_UNARY_VALUE

        public static final int LABEL_DICT_UNARY_VALUE
         label_dict_unary_value
         
        LABEL_DICT_UNARY = 19;
        See Also:
        Constant Field Values
      • SELECTOR_LIST_VALUE

        public static final int SELECTOR_LIST_VALUE
         selector_list
         
        SELECTOR_LIST = 20;
        See Also:
        Constant Field Values
      • LABEL_KEYED_STRING_DICT_VALUE

        public static final int LABEL_KEYED_STRING_DICT_VALUE
         label_keyed_string_dict
         
        LABEL_KEYED_STRING_DICT = 21;
        See Also:
        Constant Field Values
      • DEPRECATED_STRING_DICT_UNARY_VALUE

        public static final int DEPRECATED_STRING_DICT_UNARY_VALUE
        DEPRECATED_STRING_DICT_UNARY = 17;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Build.Attribute.Discriminator[] 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 (Build.Attribute.Discriminator c : Build.Attribute.Discriminator.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Build.Attribute.Discriminator 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
      • valueOf

        @Deprecated
        public static Build.Attribute.Discriminator 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 Build.Attribute.Discriminator forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • valueOf

        public static Build.Attribute.Discriminator valueOf​(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