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

  • Field Details

    • INTEGER_VALUE

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static final int SELECTOR_LIST_VALUE
       selector_list
       
      SELECTOR_LIST = 20;
      See Also:
    • 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:
    • DEPRECATED_STRING_DICT_UNARY_VALUE

      public static final int DEPRECATED_STRING_DICT_UNARY_VALUE
      DEPRECATED_STRING_DICT_UNARY = 17;
      See Also:
  • Method Details

    • values

      public static Build.Attribute.Discriminator[] 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 Build.Attribute.Discriminator 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 Build.Attribute.Discriminator 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 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.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Build.Attribute.Discriminator> 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 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 name
      NullPointerException - if the argument is null