java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.lib.query2.proto.proto2api.Build.Attribute
All Implemented Interfaces:
Build.AttributeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Build

public static final class Build.Attribute extends com.google.protobuf.GeneratedMessage implements Build.AttributeOrBuilder
 A rule attribute. Each attribute must have a type and one of the various
 value fields populated - for the most part.

 Attributes of BOOLEAN and TRISTATE type may set all of the int, bool, and
 string values for backwards compatibility with clients that expect them to
 be set.

 Attributes of INTEGER, STRING, LABEL, LICENSE, BOOLEAN, and TRISTATE type
 may set *none* of the values. This can happen if the Attribute message is
 prepared for a client that doesn't support SELECTOR_LIST, but the rule has
 a selector list value for the attribute. (Selector lists for attributes of
 other types--the collection types--are handled differently when prepared
 for such a client. The possible collection values are gathered together
 and flattened.)

 By checking the type, the appropriate value can be extracted - see the
 comments on each type for the associated value.  The order of lists comes
 from the blaze parsing. If an attribute is of a list type, the associated
 list should never be empty.
 
Protobuf type blaze_query.Attribute
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • EXPLICITLY_SPECIFIED_FIELD_NUMBER

      public static final int EXPLICITLY_SPECIFIED_FIELD_NUMBER
      See Also:
    • NODEP_FIELD_NUMBER

      public static final int NODEP_FIELD_NUMBER
      See Also:
    • SOURCE_ASPECT_NAME_FIELD_NUMBER

      public static final int SOURCE_ASPECT_NAME_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • INT_VALUE_FIELD_NUMBER

      public static final int INT_VALUE_FIELD_NUMBER
      See Also:
    • STRING_VALUE_FIELD_NUMBER

      public static final int STRING_VALUE_FIELD_NUMBER
      See Also:
    • BOOLEAN_VALUE_FIELD_NUMBER

      public static final int BOOLEAN_VALUE_FIELD_NUMBER
      See Also:
    • TRISTATE_VALUE_FIELD_NUMBER

      public static final int TRISTATE_VALUE_FIELD_NUMBER
      See Also:
    • STRING_LIST_VALUE_FIELD_NUMBER

      public static final int STRING_LIST_VALUE_FIELD_NUMBER
      See Also:
    • LICENSE_FIELD_NUMBER

      public static final int LICENSE_FIELD_NUMBER
      See Also:
    • STRING_DICT_VALUE_FIELD_NUMBER

      public static final int STRING_DICT_VALUE_FIELD_NUMBER
      See Also:
    • FILESET_LIST_VALUE_FIELD_NUMBER

      public static final int FILESET_LIST_VALUE_FIELD_NUMBER
      See Also:
    • LABEL_LIST_DICT_VALUE_FIELD_NUMBER

      public static final int LABEL_LIST_DICT_VALUE_FIELD_NUMBER
      See Also:
    • STRING_LIST_DICT_VALUE_FIELD_NUMBER

      public static final int STRING_LIST_DICT_VALUE_FIELD_NUMBER
      See Also:
    • INT_LIST_VALUE_FIELD_NUMBER

      public static final int INT_LIST_VALUE_FIELD_NUMBER
      See Also:
    • LABEL_DICT_UNARY_VALUE_FIELD_NUMBER

      public static final int LABEL_DICT_UNARY_VALUE_FIELD_NUMBER
      See Also:
    • LABEL_KEYED_STRING_DICT_VALUE_FIELD_NUMBER

      public static final int LABEL_KEYED_STRING_DICT_VALUE_FIELD_NUMBER
      See Also:
    • SELECTOR_LIST_FIELD_NUMBER

      public static final int SELECTOR_LIST_FIELD_NUMBER
      See Also:
    • DEPRECATED_STRING_DICT_UNARY_VALUE_FIELD_NUMBER

      public static final int DEPRECATED_STRING_DICT_UNARY_VALUE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasName

      public boolean hasName()
       The name of the attribute
       
      required string name = 1;
      Specified by:
      hasName in interface Build.AttributeOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       The name of the attribute
       
      required string name = 1;
      Specified by:
      getName in interface Build.AttributeOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the attribute
       
      required string name = 1;
      Specified by:
      getNameBytes in interface Build.AttributeOrBuilder
      Returns:
      The bytes for name.
    • hasExplicitlySpecified

      public boolean hasExplicitlySpecified()
       Whether the attribute was explicitly specified
       
      optional bool explicitly_specified = 13;
      Specified by:
      hasExplicitlySpecified in interface Build.AttributeOrBuilder
      Returns:
      Whether the explicitlySpecified field is set.
    • getExplicitlySpecified

      public boolean getExplicitlySpecified()
       Whether the attribute was explicitly specified
       
      optional bool explicitly_specified = 13;
      Specified by:
      getExplicitlySpecified in interface Build.AttributeOrBuilder
      Returns:
      The explicitlySpecified.
    • hasNodep

      public boolean hasNodep()
       If this attribute has a string value or a string list value, then this
       may be set to indicate that the value may be treated as a label that
       isn't a dependency of this attribute's rule.
       
      optional bool nodep = 20;
      Specified by:
      hasNodep in interface Build.AttributeOrBuilder
      Returns:
      Whether the nodep field is set.
    • getNodep

      public boolean getNodep()
       If this attribute has a string value or a string list value, then this
       may be set to indicate that the value may be treated as a label that
       isn't a dependency of this attribute's rule.
       
      optional bool nodep = 20;
      Specified by:
      getNodep in interface Build.AttributeOrBuilder
      Returns:
      The nodep.
    • hasSourceAspectName

      public boolean hasSourceAspectName()
       Represents the aspect that this attribute comes from. It is set to an
       empty string if it does not come from an aspect.
       
      optional string source_aspect_name = 23;
      Specified by:
      hasSourceAspectName in interface Build.AttributeOrBuilder
      Returns:
      Whether the sourceAspectName field is set.
    • getSourceAspectName

      public String getSourceAspectName()
       Represents the aspect that this attribute comes from. It is set to an
       empty string if it does not come from an aspect.
       
      optional string source_aspect_name = 23;
      Specified by:
      getSourceAspectName in interface Build.AttributeOrBuilder
      Returns:
      The sourceAspectName.
    • getSourceAspectNameBytes

      public com.google.protobuf.ByteString getSourceAspectNameBytes()
       Represents the aspect that this attribute comes from. It is set to an
       empty string if it does not come from an aspect.
       
      optional string source_aspect_name = 23;
      Specified by:
      getSourceAspectNameBytes in interface Build.AttributeOrBuilder
      Returns:
      The bytes for sourceAspectName.
    • hasType

      public boolean hasType()
       The type of attribute.  This message is used for all of the different
       attribute types so the discriminator helps for figuring out what is
       stored in the message.
       
      required .blaze_query.Attribute.Discriminator type = 2;
      Specified by:
      hasType in interface Build.AttributeOrBuilder
      Returns:
      Whether the type field is set.
    • getType

       The type of attribute.  This message is used for all of the different
       attribute types so the discriminator helps for figuring out what is
       stored in the message.
       
      required .blaze_query.Attribute.Discriminator type = 2;
      Specified by:
      getType in interface Build.AttributeOrBuilder
      Returns:
      The type.
    • hasIntValue

      public boolean hasIntValue()
       If this attribute has an integer value this will be populated.
       Boolean and TriState also use this field as [0,1] and [-1,0,1]
       for [false, true] and [auto, no, yes] respectively.
       
      optional int32 int_value = 3;
      Specified by:
      hasIntValue in interface Build.AttributeOrBuilder
      Returns:
      Whether the intValue field is set.
    • getIntValue

      public int getIntValue()
       If this attribute has an integer value this will be populated.
       Boolean and TriState also use this field as [0,1] and [-1,0,1]
       for [false, true] and [auto, no, yes] respectively.
       
      optional int32 int_value = 3;
      Specified by:
      getIntValue in interface Build.AttributeOrBuilder
      Returns:
      The intValue.
    • hasStringValue

      public boolean hasStringValue()
       If the attribute has a string value this will be populated.  Label and
       path attributes use this field as the value even though the type may
       be LABEL or something else other than STRING.
       
      optional string string_value = 5;
      Specified by:
      hasStringValue in interface Build.AttributeOrBuilder
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      public String getStringValue()
       If the attribute has a string value this will be populated.  Label and
       path attributes use this field as the value even though the type may
       be LABEL or something else other than STRING.
       
      optional string string_value = 5;
      Specified by:
      getStringValue in interface Build.AttributeOrBuilder
      Returns:
      The stringValue.
    • getStringValueBytes

      public com.google.protobuf.ByteString getStringValueBytes()
       If the attribute has a string value this will be populated.  Label and
       path attributes use this field as the value even though the type may
       be LABEL or something else other than STRING.
       
      optional string string_value = 5;
      Specified by:
      getStringValueBytes in interface Build.AttributeOrBuilder
      Returns:
      The bytes for stringValue.
    • hasBooleanValue

      public boolean hasBooleanValue()
       If the attribute has a boolean value this will be populated.
       
      optional bool boolean_value = 14;
      Specified by:
      hasBooleanValue in interface Build.AttributeOrBuilder
      Returns:
      Whether the booleanValue field is set.
    • getBooleanValue

      public boolean getBooleanValue()
       If the attribute has a boolean value this will be populated.
       
      optional bool boolean_value = 14;
      Specified by:
      getBooleanValue in interface Build.AttributeOrBuilder
      Returns:
      The booleanValue.
    • hasTristateValue

      public boolean hasTristateValue()
       If the attribute is a Tristate value, this will be populated.
       
      optional .blaze_query.Attribute.Tristate tristate_value = 15;
      Specified by:
      hasTristateValue in interface Build.AttributeOrBuilder
      Returns:
      Whether the tristateValue field is set.
    • getTristateValue

      public Build.Attribute.Tristate getTristateValue()
       If the attribute is a Tristate value, this will be populated.
       
      optional .blaze_query.Attribute.Tristate tristate_value = 15;
      Specified by:
      getTristateValue in interface Build.AttributeOrBuilder
      Returns:
      The tristateValue.
    • getStringListValueList

      public com.google.protobuf.ProtocolStringList getStringListValueList()
       The value of the attribute has a list of string values (label and path
       note from STRING applies here as well).
       
      repeated string string_list_value = 6;
      Specified by:
      getStringListValueList in interface Build.AttributeOrBuilder
      Returns:
      A list containing the stringListValue.
    • getStringListValueCount

      public int getStringListValueCount()
       The value of the attribute has a list of string values (label and path
       note from STRING applies here as well).
       
      repeated string string_list_value = 6;
      Specified by:
      getStringListValueCount in interface Build.AttributeOrBuilder
      Returns:
      The count of stringListValue.
    • getStringListValue

      public String getStringListValue(int index)
       The value of the attribute has a list of string values (label and path
       note from STRING applies here as well).
       
      repeated string string_list_value = 6;
      Specified by:
      getStringListValue in interface Build.AttributeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The stringListValue at the given index.
    • getStringListValueBytes

      public com.google.protobuf.ByteString getStringListValueBytes(int index)
       The value of the attribute has a list of string values (label and path
       note from STRING applies here as well).
       
      repeated string string_list_value = 6;
      Specified by:
      getStringListValueBytes in interface Build.AttributeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the stringListValue at the given index.
    • hasLicense

      public boolean hasLicense()
       If this is a license attribute, the license information is stored here.
       
      optional .blaze_query.License license = 7;
      Specified by:
      hasLicense in interface Build.AttributeOrBuilder
      Returns:
      Whether the license field is set.
    • getLicense

      public Build.License getLicense()
       If this is a license attribute, the license information is stored here.
       
      optional .blaze_query.License license = 7;
      Specified by:
      getLicense in interface Build.AttributeOrBuilder
      Returns:
      The license.
    • getLicenseOrBuilder

      public Build.LicenseOrBuilder getLicenseOrBuilder()
       If this is a license attribute, the license information is stored here.
       
      optional .blaze_query.License license = 7;
      Specified by:
      getLicenseOrBuilder in interface Build.AttributeOrBuilder
    • getStringDictValueList

      public List<Build.StringDictEntry> getStringDictValueList()
       If this is a string dict, each entry will be stored here.
       
      repeated .blaze_query.StringDictEntry string_dict_value = 8;
      Specified by:
      getStringDictValueList in interface Build.AttributeOrBuilder
    • getStringDictValueOrBuilderList

      public List<? extends Build.StringDictEntryOrBuilder> getStringDictValueOrBuilderList()
       If this is a string dict, each entry will be stored here.
       
      repeated .blaze_query.StringDictEntry string_dict_value = 8;
      Specified by:
      getStringDictValueOrBuilderList in interface Build.AttributeOrBuilder
    • getStringDictValueCount

      public int getStringDictValueCount()
       If this is a string dict, each entry will be stored here.
       
      repeated .blaze_query.StringDictEntry string_dict_value = 8;
      Specified by:
      getStringDictValueCount in interface Build.AttributeOrBuilder
    • getStringDictValue

      public Build.StringDictEntry getStringDictValue(int index)
       If this is a string dict, each entry will be stored here.
       
      repeated .blaze_query.StringDictEntry string_dict_value = 8;
      Specified by:
      getStringDictValue in interface Build.AttributeOrBuilder
    • getStringDictValueOrBuilder

      public Build.StringDictEntryOrBuilder getStringDictValueOrBuilder(int index)
       If this is a string dict, each entry will be stored here.
       
      repeated .blaze_query.StringDictEntry string_dict_value = 8;
      Specified by:
      getStringDictValueOrBuilder in interface Build.AttributeOrBuilder
    • getFilesetListValueList

      public List<Build.FilesetEntry> getFilesetListValueList()
       If the attribute is part of a Fileset, the fileset entries are stored in
       this field.
       
      repeated .blaze_query.FilesetEntry fileset_list_value = 9;
      Specified by:
      getFilesetListValueList in interface Build.AttributeOrBuilder
    • getFilesetListValueOrBuilderList

      public List<? extends Build.FilesetEntryOrBuilder> getFilesetListValueOrBuilderList()
       If the attribute is part of a Fileset, the fileset entries are stored in
       this field.
       
      repeated .blaze_query.FilesetEntry fileset_list_value = 9;
      Specified by:
      getFilesetListValueOrBuilderList in interface Build.AttributeOrBuilder
    • getFilesetListValueCount

      public int getFilesetListValueCount()
       If the attribute is part of a Fileset, the fileset entries are stored in
       this field.
       
      repeated .blaze_query.FilesetEntry fileset_list_value = 9;
      Specified by:
      getFilesetListValueCount in interface Build.AttributeOrBuilder
    • getFilesetListValue

      public Build.FilesetEntry getFilesetListValue(int index)
       If the attribute is part of a Fileset, the fileset entries are stored in
       this field.
       
      repeated .blaze_query.FilesetEntry fileset_list_value = 9;
      Specified by:
      getFilesetListValue in interface Build.AttributeOrBuilder
    • getFilesetListValueOrBuilder

      public Build.FilesetEntryOrBuilder getFilesetListValueOrBuilder(int index)
       If the attribute is part of a Fileset, the fileset entries are stored in
       this field.
       
      repeated .blaze_query.FilesetEntry fileset_list_value = 9;
      Specified by:
      getFilesetListValueOrBuilder in interface Build.AttributeOrBuilder
    • getLabelListDictValueList

      public List<Build.LabelListDictEntry> getLabelListDictValueList()
       If this is a label list dict, each entry will be stored here.
       
      repeated .blaze_query.LabelListDictEntry label_list_dict_value = 10;
      Specified by:
      getLabelListDictValueList in interface Build.AttributeOrBuilder
    • getLabelListDictValueOrBuilderList

      public List<? extends Build.LabelListDictEntryOrBuilder> getLabelListDictValueOrBuilderList()
       If this is a label list dict, each entry will be stored here.
       
      repeated .blaze_query.LabelListDictEntry label_list_dict_value = 10;
      Specified by:
      getLabelListDictValueOrBuilderList in interface Build.AttributeOrBuilder
    • getLabelListDictValueCount

      public int getLabelListDictValueCount()
       If this is a label list dict, each entry will be stored here.
       
      repeated .blaze_query.LabelListDictEntry label_list_dict_value = 10;
      Specified by:
      getLabelListDictValueCount in interface Build.AttributeOrBuilder
    • getLabelListDictValue

      public Build.LabelListDictEntry getLabelListDictValue(int index)
       If this is a label list dict, each entry will be stored here.
       
      repeated .blaze_query.LabelListDictEntry label_list_dict_value = 10;
      Specified by:
      getLabelListDictValue in interface Build.AttributeOrBuilder
    • getLabelListDictValueOrBuilder

      public Build.LabelListDictEntryOrBuilder getLabelListDictValueOrBuilder(int index)
       If this is a label list dict, each entry will be stored here.
       
      repeated .blaze_query.LabelListDictEntry label_list_dict_value = 10;
      Specified by:
      getLabelListDictValueOrBuilder in interface Build.AttributeOrBuilder
    • getStringListDictValueList

      public List<Build.StringListDictEntry> getStringListDictValueList()
       If this is a string list dict, each entry will be stored here.
       
      repeated .blaze_query.StringListDictEntry string_list_dict_value = 11;
      Specified by:
      getStringListDictValueList in interface Build.AttributeOrBuilder
    • getStringListDictValueOrBuilderList

      public List<? extends Build.StringListDictEntryOrBuilder> getStringListDictValueOrBuilderList()
       If this is a string list dict, each entry will be stored here.
       
      repeated .blaze_query.StringListDictEntry string_list_dict_value = 11;
      Specified by:
      getStringListDictValueOrBuilderList in interface Build.AttributeOrBuilder
    • getStringListDictValueCount

      public int getStringListDictValueCount()
       If this is a string list dict, each entry will be stored here.
       
      repeated .blaze_query.StringListDictEntry string_list_dict_value = 11;
      Specified by:
      getStringListDictValueCount in interface Build.AttributeOrBuilder
    • getStringListDictValue

      public Build.StringListDictEntry getStringListDictValue(int index)
       If this is a string list dict, each entry will be stored here.
       
      repeated .blaze_query.StringListDictEntry string_list_dict_value = 11;
      Specified by:
      getStringListDictValue in interface Build.AttributeOrBuilder
    • getStringListDictValueOrBuilder

      public Build.StringListDictEntryOrBuilder getStringListDictValueOrBuilder(int index)
       If this is a string list dict, each entry will be stored here.
       
      repeated .blaze_query.StringListDictEntry string_list_dict_value = 11;
      Specified by:
      getStringListDictValueOrBuilder in interface Build.AttributeOrBuilder
    • getIntListValueList

      public List<Integer> getIntListValueList()
       The value of the attribute has a list of int32 values
       
      repeated int32 int_list_value = 17;
      Specified by:
      getIntListValueList in interface Build.AttributeOrBuilder
      Returns:
      A list containing the intListValue.
    • getIntListValueCount

      public int getIntListValueCount()
       The value of the attribute has a list of int32 values
       
      repeated int32 int_list_value = 17;
      Specified by:
      getIntListValueCount in interface Build.AttributeOrBuilder
      Returns:
      The count of intListValue.
    • getIntListValue

      public int getIntListValue(int index)
       The value of the attribute has a list of int32 values
       
      repeated int32 int_list_value = 17;
      Specified by:
      getIntListValue in interface Build.AttributeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The intListValue at the given index.
    • getLabelDictUnaryValueList

      public List<Build.LabelDictUnaryEntry> getLabelDictUnaryValueList()
       If this is a label dict unary, each entry will be stored here.
       
      repeated .blaze_query.LabelDictUnaryEntry label_dict_unary_value = 19;
      Specified by:
      getLabelDictUnaryValueList in interface Build.AttributeOrBuilder
    • getLabelDictUnaryValueOrBuilderList

      public List<? extends Build.LabelDictUnaryEntryOrBuilder> getLabelDictUnaryValueOrBuilderList()
       If this is a label dict unary, each entry will be stored here.
       
      repeated .blaze_query.LabelDictUnaryEntry label_dict_unary_value = 19;
      Specified by:
      getLabelDictUnaryValueOrBuilderList in interface Build.AttributeOrBuilder
    • getLabelDictUnaryValueCount

      public int getLabelDictUnaryValueCount()
       If this is a label dict unary, each entry will be stored here.
       
      repeated .blaze_query.LabelDictUnaryEntry label_dict_unary_value = 19;
      Specified by:
      getLabelDictUnaryValueCount in interface Build.AttributeOrBuilder
    • getLabelDictUnaryValue

      public Build.LabelDictUnaryEntry getLabelDictUnaryValue(int index)
       If this is a label dict unary, each entry will be stored here.
       
      repeated .blaze_query.LabelDictUnaryEntry label_dict_unary_value = 19;
      Specified by:
      getLabelDictUnaryValue in interface Build.AttributeOrBuilder
    • getLabelDictUnaryValueOrBuilder

      public Build.LabelDictUnaryEntryOrBuilder getLabelDictUnaryValueOrBuilder(int index)
       If this is a label dict unary, each entry will be stored here.
       
      repeated .blaze_query.LabelDictUnaryEntry label_dict_unary_value = 19;
      Specified by:
      getLabelDictUnaryValueOrBuilder in interface Build.AttributeOrBuilder
    • getLabelKeyedStringDictValueList

      public List<Build.LabelKeyedStringDictEntry> getLabelKeyedStringDictValueList()
       If this is a label-keyed string dict, each entry will be stored here.
       
      repeated .blaze_query.LabelKeyedStringDictEntry label_keyed_string_dict_value = 22;
      Specified by:
      getLabelKeyedStringDictValueList in interface Build.AttributeOrBuilder
    • getLabelKeyedStringDictValueOrBuilderList

      public List<? extends Build.LabelKeyedStringDictEntryOrBuilder> getLabelKeyedStringDictValueOrBuilderList()
       If this is a label-keyed string dict, each entry will be stored here.
       
      repeated .blaze_query.LabelKeyedStringDictEntry label_keyed_string_dict_value = 22;
      Specified by:
      getLabelKeyedStringDictValueOrBuilderList in interface Build.AttributeOrBuilder
    • getLabelKeyedStringDictValueCount

      public int getLabelKeyedStringDictValueCount()
       If this is a label-keyed string dict, each entry will be stored here.
       
      repeated .blaze_query.LabelKeyedStringDictEntry label_keyed_string_dict_value = 22;
      Specified by:
      getLabelKeyedStringDictValueCount in interface Build.AttributeOrBuilder
    • getLabelKeyedStringDictValue

      public Build.LabelKeyedStringDictEntry getLabelKeyedStringDictValue(int index)
       If this is a label-keyed string dict, each entry will be stored here.
       
      repeated .blaze_query.LabelKeyedStringDictEntry label_keyed_string_dict_value = 22;
      Specified by:
      getLabelKeyedStringDictValue in interface Build.AttributeOrBuilder
    • getLabelKeyedStringDictValueOrBuilder

      public Build.LabelKeyedStringDictEntryOrBuilder getLabelKeyedStringDictValueOrBuilder(int index)
       If this is a label-keyed string dict, each entry will be stored here.
       
      repeated .blaze_query.LabelKeyedStringDictEntry label_keyed_string_dict_value = 22;
      Specified by:
      getLabelKeyedStringDictValueOrBuilder in interface Build.AttributeOrBuilder
    • hasSelectorList

      public boolean hasSelectorList()
       If this attribute's value is an expression containing one or more select
       expressions, then its type is SELECTOR_LIST and a SelectorList will be
       stored here.
       
      optional .blaze_query.Attribute.SelectorList selector_list = 21;
      Specified by:
      hasSelectorList in interface Build.AttributeOrBuilder
      Returns:
      Whether the selectorList field is set.
    • getSelectorList

      public Build.Attribute.SelectorList getSelectorList()
       If this attribute's value is an expression containing one or more select
       expressions, then its type is SELECTOR_LIST and a SelectorList will be
       stored here.
       
      optional .blaze_query.Attribute.SelectorList selector_list = 21;
      Specified by:
      getSelectorList in interface Build.AttributeOrBuilder
      Returns:
      The selectorList.
    • getSelectorListOrBuilder

      public Build.Attribute.SelectorListOrBuilder getSelectorListOrBuilder()
       If this attribute's value is an expression containing one or more select
       expressions, then its type is SELECTOR_LIST and a SelectorList will be
       stored here.
       
      optional .blaze_query.Attribute.SelectorList selector_list = 21;
      Specified by:
      getSelectorListOrBuilder in interface Build.AttributeOrBuilder
    • getDEPRECATEDStringDictUnaryValueList

      public List<com.google.protobuf.ByteString> getDEPRECATEDStringDictUnaryValueList()
      repeated bytes DEPRECATED_string_dict_unary_value = 18;
      Specified by:
      getDEPRECATEDStringDictUnaryValueList in interface Build.AttributeOrBuilder
      Returns:
      A list containing the dEPRECATEDStringDictUnaryValue.
    • getDEPRECATEDStringDictUnaryValueCount

      public int getDEPRECATEDStringDictUnaryValueCount()
      repeated bytes DEPRECATED_string_dict_unary_value = 18;
      Specified by:
      getDEPRECATEDStringDictUnaryValueCount in interface Build.AttributeOrBuilder
      Returns:
      The count of dEPRECATEDStringDictUnaryValue.
    • getDEPRECATEDStringDictUnaryValue

      public com.google.protobuf.ByteString getDEPRECATEDStringDictUnaryValue(int index)
      repeated bytes DEPRECATED_string_dict_unary_value = 18;
      Specified by:
      getDEPRECATEDStringDictUnaryValue in interface Build.AttributeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The dEPRECATEDStringDictUnaryValue at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Build.Attribute parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Attribute parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Attribute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Attribute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Attribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Attribute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Attribute parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Build.Attribute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Build.Attribute parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Build.Attribute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Build.Attribute parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Build.Attribute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Build.Attribute.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Build.Attribute.Builder newBuilder()
    • newBuilder

      public static Build.Attribute.Builder newBuilder(Build.Attribute prototype)
    • toBuilder

      public Build.Attribute.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Build.Attribute.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Build.Attribute getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Build.Attribute> parser()
    • getParserForType

      public com.google.protobuf.Parser<Build.Attribute> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Build.Attribute getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder