Enum Class Build.Attribute.Discriminator
java.lang.Object
java.lang.Enum<Build.Attribute.Discriminator>
com.google.devtools.build.lib.query2.proto.proto2api.Build.Attribute.Discriminator
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Build.Attribute.Discriminator>,Constable
- Enclosing class:
- Build.Attribute
public static enum Build.Attribute.Discriminator
extends Enum<Build.Attribute.Discriminator>
implements com.google.protobuf.ProtocolMessageEnum
Indicates the type of attribute.Protobuf enum
blaze_query.Attribute.Discriminator-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionint, bool and string valueDEPRECATED_STRING_DICT_UNARY = 17;string_list_value - order is unimportantfileset_list_valueint_valueint_list_valuestring_valuelabel_dict_unary_valuelabel_keyed_string_dictstring_list_valuelabel_list_dict_valuelicensestring_valuestring_list_valueselector_liststring_valuestring_dict_valuestring_list_valuestring_list_dict_valuetristate, int and string valueunknown type, use only for build extensions -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intint, bool and string valuestatic final intDEPRECATED_STRING_DICT_UNARY = 17;static final intstring_list_value - order is unimportantstatic final intfileset_list_valuestatic final intint_list_valuestatic final intint_valuestatic final intlabel_dict_unary_valuestatic final intlabel_keyed_string_dictstatic final intlabel_list_dict_valuestatic final intstring_list_valuestatic final intstring_valuestatic final intlicensestatic final intstring_list_valuestatic final intstring_valuestatic final intselector_liststatic final intstring_dict_valuestatic final intstring_list_dict_valuestatic final intstring_list_valuestatic final intstring_valuestatic final inttristate, int and string valuestatic final intunknown type, use only for build extensions -
Method Summary
Modifier and TypeMethodDescriptionforNumber(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<Build.Attribute.Discriminator>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static Build.Attribute.Discriminator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTEGER
int_value
INTEGER = 1; -
STRING
string_value
STRING = 2; -
LABEL
string_value
LABEL = 3; -
OUTPUT
string_value
OUTPUT = 4; -
STRING_LIST
string_list_value
STRING_LIST = 5; -
LABEL_LIST
string_list_value
LABEL_LIST = 6; -
OUTPUT_LIST
string_list_value
OUTPUT_LIST = 7; -
DISTRIBUTION_SET
string_list_value - order is unimportant
DISTRIBUTION_SET = 8; -
LICENSE
license
LICENSE = 9; -
STRING_DICT
string_dict_value
STRING_DICT = 10; -
FILESET_ENTRY_LIST
fileset_list_value
FILESET_ENTRY_LIST = 11; -
LABEL_LIST_DICT
label_list_dict_value
LABEL_LIST_DICT = 12; -
STRING_LIST_DICT
string_list_dict_value
STRING_LIST_DICT = 13; -
BOOLEAN
int, bool and string value
BOOLEAN = 14; -
TRISTATE
tristate, int and string value
TRISTATE = 15; -
INTEGER_LIST
int_list_value
INTEGER_LIST = 16; -
UNKNOWN
unknown type, use only for build extensions
UNKNOWN = 18; -
LABEL_DICT_UNARY
label_dict_unary_value
LABEL_DICT_UNARY = 19; -
SELECTOR_LIST
selector_list
SELECTOR_LIST = 20; -
LABEL_KEYED_STRING_DICT
label_keyed_string_dict
LABEL_KEYED_STRING_DICT = 21; -
DEPRECATED_STRING_DICT_UNARY
DEPRECATED_STRING_DICT_UNARY = 17;
-
-
Field Details
-
INTEGER_VALUE
public static final int INTEGER_VALUEint_value
INTEGER = 1;- See Also:
-
STRING_VALUE
public static final int STRING_VALUEstring_value
STRING = 2;- See Also:
-
LABEL_VALUE
public static final int LABEL_VALUEstring_value
LABEL = 3;- See Also:
-
OUTPUT_VALUE
public static final int OUTPUT_VALUEstring_value
OUTPUT = 4;- See Also:
-
STRING_LIST_VALUE
public static final int STRING_LIST_VALUEstring_list_value
STRING_LIST = 5;- See Also:
-
LABEL_LIST_VALUE
public static final int LABEL_LIST_VALUEstring_list_value
LABEL_LIST = 6;- See Also:
-
OUTPUT_LIST_VALUE
public static final int OUTPUT_LIST_VALUEstring_list_value
OUTPUT_LIST = 7;- See Also:
-
DISTRIBUTION_SET_VALUE
public static final int DISTRIBUTION_SET_VALUEstring_list_value - order is unimportant
DISTRIBUTION_SET = 8;- See Also:
-
LICENSE_VALUE
public static final int LICENSE_VALUElicense
LICENSE = 9;- See Also:
-
STRING_DICT_VALUE
public static final int STRING_DICT_VALUEstring_dict_value
STRING_DICT = 10;- See Also:
-
FILESET_ENTRY_LIST_VALUE
public static final int FILESET_ENTRY_LIST_VALUEfileset_list_value
FILESET_ENTRY_LIST = 11;- See Also:
-
LABEL_LIST_DICT_VALUE
public static final int LABEL_LIST_DICT_VALUElabel_list_dict_value
LABEL_LIST_DICT = 12;- See Also:
-
STRING_LIST_DICT_VALUE
public static final int STRING_LIST_DICT_VALUEstring_list_dict_value
STRING_LIST_DICT = 13;- See Also:
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUEint, bool and string value
BOOLEAN = 14;- See Also:
-
TRISTATE_VALUE
public static final int TRISTATE_VALUEtristate, int and string value
TRISTATE = 15;- See Also:
-
INTEGER_LIST_VALUE
public static final int INTEGER_LIST_VALUEint_list_value
INTEGER_LIST = 16;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEunknown type, use only for build extensions
UNKNOWN = 18;- See Also:
-
LABEL_DICT_UNARY_VALUE
public static final int LABEL_DICT_UNARY_VALUElabel_dict_unary_value
LABEL_DICT_UNARY = 19;- See Also:
-
SELECTOR_LIST_VALUE
public static final int SELECTOR_LIST_VALUEselector_list
SELECTOR_LIST = 20;- See Also:
-
LABEL_KEYED_STRING_DICT_VALUE
public static final int LABEL_KEYED_STRING_DICT_VALUElabel_keyed_string_dict
LABEL_KEYED_STRING_DICT = 21;- See Also:
-
DEPRECATED_STRING_DICT_UNARY_VALUE
public static final int DEPRECATED_STRING_DICT_UNARY_VALUEDEPRECATED_STRING_DICT_UNARY = 17;- 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<Build.Attribute.Discriminator> 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 Build.Attribute.Discriminator 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
-