Interface Build.AttributeOrBuilder

    • Method Detail

      • hasName

        boolean hasName()
         The name of the attribute
         
        required string name = 1;
        Returns:
        Whether the name field is set.
      • getName

        java.lang.String getName()
         The name of the attribute
         
        required string name = 1;
        Returns:
        The name.
      • getNameBytes

        ByteString getNameBytes()
         The name of the attribute
         
        required string name = 1;
        Returns:
        The bytes for name.
      • hasExplicitlySpecified

        boolean hasExplicitlySpecified()
         Whether the attribute was explicitly specified
         
        optional bool explicitly_specified = 13;
        Returns:
        Whether the explicitlySpecified field is set.
      • getExplicitlySpecified

        boolean getExplicitlySpecified()
         Whether the attribute was explicitly specified
         
        optional bool explicitly_specified = 13;
        Returns:
        The explicitlySpecified.
      • hasNodep

        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;
        Returns:
        Whether the nodep field is set.
      • getNodep

        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;
        Returns:
        The nodep.
      • hasType

        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;
        Returns:
        Whether the type field is set.
      • getType

        Build.Attribute.Discriminator 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;
        Returns:
        The type.
      • hasIntValue

        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;
        Returns:
        Whether the intValue field is set.
      • getIntValue

        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;
        Returns:
        The intValue.
      • hasStringValue

        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;
        Returns:
        Whether the stringValue field is set.
      • getStringValue

        java.lang.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;
        Returns:
        The stringValue.
      • getStringValueBytes

        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;
        Returns:
        The bytes for stringValue.
      • hasBooleanValue

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

        boolean getBooleanValue()
         If the attribute has a boolean value this will be populated.
         
        optional bool boolean_value = 14;
        Returns:
        The booleanValue.
      • hasTristateValue

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

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

        java.util.List<java.lang.String> 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;
        Returns:
        A list containing the stringListValue.
      • getStringListValueCount

        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;
        Returns:
        The count of stringListValue.
      • getStringListValue

        java.lang.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;
        Parameters:
        index - The index of the element to return.
        Returns:
        The stringListValue at the given index.
      • getStringListValueBytes

        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;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the stringListValue at the given index.
      • hasLicense

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

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

        Build.LicenseOrBuilder getLicenseOrBuilder()
         If this is a license attribute, the license information is stored here.
         
        optional .blaze_query.License license = 7;
      • getStringDictValueList

        java.util.List<Build.StringDictEntry> getStringDictValueList()
         If this is a string dict, each entry will be stored here.
         
        repeated .blaze_query.StringDictEntry string_dict_value = 8;
      • getStringDictValue

        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;
      • getStringDictValueCount

        int getStringDictValueCount()
         If this is a string dict, each entry will be stored here.
         
        repeated .blaze_query.StringDictEntry string_dict_value = 8;
      • getStringDictValueOrBuilderList

        java.util.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;
      • getStringDictValueOrBuilder

        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;
      • getFilesetListValueList

        java.util.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;
      • getFilesetListValue

        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;
      • getFilesetListValueCount

        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;
      • getFilesetListValueOrBuilderList

        java.util.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;
      • getFilesetListValueOrBuilder

        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;
      • getLabelListDictValueList

        java.util.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;
      • getLabelListDictValue

        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;
      • getLabelListDictValueCount

        int getLabelListDictValueCount()
         If this is a label list dict, each entry will be stored here.
         
        repeated .blaze_query.LabelListDictEntry label_list_dict_value = 10;
      • getLabelListDictValueOrBuilderList

        java.util.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;
      • getLabelListDictValueOrBuilder

        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;
      • getStringListDictValueList

        java.util.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;
      • getStringListDictValue

        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;
      • getStringListDictValueCount

        int getStringListDictValueCount()
         If this is a string list dict, each entry will be stored here.
         
        repeated .blaze_query.StringListDictEntry string_list_dict_value = 11;
      • getStringListDictValueOrBuilderList

        java.util.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;
      • getStringListDictValueOrBuilder

        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;
      • getIntListValueList

        java.util.List<java.lang.Integer> getIntListValueList()
         The value of the attribute has a list of int32 values
         
        repeated int32 int_list_value = 17;
        Returns:
        A list containing the intListValue.
      • getIntListValueCount

        int getIntListValueCount()
         The value of the attribute has a list of int32 values
         
        repeated int32 int_list_value = 17;
        Returns:
        The count of intListValue.
      • getIntListValue

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

        java.util.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;
      • getLabelDictUnaryValue

        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;
      • getLabelDictUnaryValueCount

        int getLabelDictUnaryValueCount()
         If this is a label dict unary, each entry will be stored here.
         
        repeated .blaze_query.LabelDictUnaryEntry label_dict_unary_value = 19;
      • getLabelDictUnaryValueOrBuilderList

        java.util.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;
      • getLabelDictUnaryValueOrBuilder

        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;
      • getLabelKeyedStringDictValueList

        java.util.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;
      • getLabelKeyedStringDictValue

        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;
      • getLabelKeyedStringDictValueCount

        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;
      • getLabelKeyedStringDictValueOrBuilderList

        java.util.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;
      • getLabelKeyedStringDictValueOrBuilder

        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;
      • hasSelectorList

        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;
        Returns:
        Whether the selectorList field is set.
      • getSelectorList

        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;
        Returns:
        The selectorList.
      • getSelectorListOrBuilder

        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;
      • getDEPRECATEDStringDictUnaryValueList

        java.util.List<ByteString> getDEPRECATEDStringDictUnaryValueList()
        repeated bytes DEPRECATED_string_dict_unary_value = 18;
        Returns:
        A list containing the dEPRECATEDStringDictUnaryValue.
      • getDEPRECATEDStringDictUnaryValueCount

        int getDEPRECATEDStringDictUnaryValueCount()
        repeated bytes DEPRECATED_string_dict_unary_value = 18;
        Returns:
        The count of dEPRECATEDStringDictUnaryValue.
      • getDEPRECATEDStringDictUnaryValue

        ByteString getDEPRECATEDStringDictUnaryValue​(int index)
        repeated bytes DEPRECATED_string_dict_unary_value = 18;
        Parameters:
        index - The index of the element to return.
        Returns:
        The dEPRECATEDStringDictUnaryValue at the given index.