Interface Build.AttributeOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
Build.Attribute,Build.Attribute.Builder
- Enclosing class:
- Build
public static interface Build.AttributeOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetBooleanValue()If the attribute has a boolean value this will be populated.ByteStringgetDEPRECATEDStringDictUnaryValue(int index)repeated bytes DEPRECATED_string_dict_unary_value = 18;intgetDEPRECATEDStringDictUnaryValueCount()repeated bytes DEPRECATED_string_dict_unary_value = 18;java.util.List<ByteString>getDEPRECATEDStringDictUnaryValueList()repeated bytes DEPRECATED_string_dict_unary_value = 18;booleangetExplicitlySpecified()Whether the attribute was explicitly specifiedBuild.FilesetEntrygetFilesetListValue(int index)If the attribute is part of a Fileset, the fileset entries are stored in this field.intgetFilesetListValueCount()If the attribute is part of a Fileset, the fileset entries are stored in this field.java.util.List<Build.FilesetEntry>getFilesetListValueList()If the attribute is part of a Fileset, the fileset entries are stored in this field.Build.FilesetEntryOrBuildergetFilesetListValueOrBuilder(int index)If the attribute is part of a Fileset, the fileset entries are stored in this field.java.util.List<? extends Build.FilesetEntryOrBuilder>getFilesetListValueOrBuilderList()If the attribute is part of a Fileset, the fileset entries are stored in this field.intgetIntListValue(int index)The value of the attribute has a list of int32 valuesintgetIntListValueCount()The value of the attribute has a list of int32 valuesjava.util.List<java.lang.Integer>getIntListValueList()The value of the attribute has a list of int32 valuesintgetIntValue()If this attribute has an integer value this will be populated.Build.LabelDictUnaryEntrygetLabelDictUnaryValue(int index)If this is a label dict unary, each entry will be stored here.intgetLabelDictUnaryValueCount()If this is a label dict unary, each entry will be stored here.java.util.List<Build.LabelDictUnaryEntry>getLabelDictUnaryValueList()If this is a label dict unary, each entry will be stored here.Build.LabelDictUnaryEntryOrBuildergetLabelDictUnaryValueOrBuilder(int index)If this is a label dict unary, each entry will be stored here.java.util.List<? extends Build.LabelDictUnaryEntryOrBuilder>getLabelDictUnaryValueOrBuilderList()If this is a label dict unary, each entry will be stored here.Build.LabelKeyedStringDictEntrygetLabelKeyedStringDictValue(int index)If this is a label-keyed string dict, each entry will be stored here.intgetLabelKeyedStringDictValueCount()If this is a label-keyed string dict, each entry will be stored here.java.util.List<Build.LabelKeyedStringDictEntry>getLabelKeyedStringDictValueList()If this is a label-keyed string dict, each entry will be stored here.Build.LabelKeyedStringDictEntryOrBuildergetLabelKeyedStringDictValueOrBuilder(int index)If this is a label-keyed string dict, each entry will be stored here.java.util.List<? extends Build.LabelKeyedStringDictEntryOrBuilder>getLabelKeyedStringDictValueOrBuilderList()If this is a label-keyed string dict, each entry will be stored here.Build.LabelListDictEntrygetLabelListDictValue(int index)If this is a label list dict, each entry will be stored here.intgetLabelListDictValueCount()If this is a label list dict, each entry will be stored here.java.util.List<Build.LabelListDictEntry>getLabelListDictValueList()If this is a label list dict, each entry will be stored here.Build.LabelListDictEntryOrBuildergetLabelListDictValueOrBuilder(int index)If this is a label list dict, each entry will be stored here.java.util.List<? extends Build.LabelListDictEntryOrBuilder>getLabelListDictValueOrBuilderList()If this is a label list dict, each entry will be stored here.Build.LicensegetLicense()If this is a license attribute, the license information is stored here.Build.LicenseOrBuildergetLicenseOrBuilder()If this is a license attribute, the license information is stored here.java.lang.StringgetName()The name of the attributeByteStringgetNameBytes()The name of the attributebooleangetNodep()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.Build.Attribute.SelectorListgetSelectorList()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.Build.Attribute.SelectorListOrBuildergetSelectorListOrBuilder()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.Build.StringDictEntrygetStringDictValue(int index)If this is a string dict, each entry will be stored here.intgetStringDictValueCount()If this is a string dict, each entry will be stored here.java.util.List<Build.StringDictEntry>getStringDictValueList()If this is a string dict, each entry will be stored here.Build.StringDictEntryOrBuildergetStringDictValueOrBuilder(int index)If this is a string dict, each entry will be stored here.java.util.List<? extends Build.StringDictEntryOrBuilder>getStringDictValueOrBuilderList()If this is a string dict, each entry will be stored here.Build.StringListDictEntrygetStringListDictValue(int index)If this is a string list dict, each entry will be stored here.intgetStringListDictValueCount()If this is a string list dict, each entry will be stored here.java.util.List<Build.StringListDictEntry>getStringListDictValueList()If this is a string list dict, each entry will be stored here.Build.StringListDictEntryOrBuildergetStringListDictValueOrBuilder(int index)If this is a string list dict, each entry will be stored here.java.util.List<? extends Build.StringListDictEntryOrBuilder>getStringListDictValueOrBuilderList()If this is a string list dict, each entry will be stored here.java.lang.StringgetStringListValue(int index)The value of the attribute has a list of string values (label and path note from STRING applies here as well).ByteStringgetStringListValueBytes(int index)The value of the attribute has a list of string values (label and path note from STRING applies here as well).intgetStringListValueCount()The value of the attribute has a list of string values (label and path note from STRING applies here as well).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).java.lang.StringgetStringValue()If the attribute has a string value this will be populated.ByteStringgetStringValueBytes()If the attribute has a string value this will be populated.Build.Attribute.TristategetTristateValue()If the attribute is a Tristate value, this will be populated.Build.Attribute.DiscriminatorgetType()The type of attribute.booleanhasBooleanValue()If the attribute has a boolean value this will be populated.booleanhasExplicitlySpecified()Whether the attribute was explicitly specifiedbooleanhasIntValue()If this attribute has an integer value this will be populated.booleanhasLicense()If this is a license attribute, the license information is stored here.booleanhasName()The name of the attributebooleanhasNodep()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.booleanhasSelectorList()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.booleanhasStringValue()If the attribute has a string value this will be populated.booleanhasTristateValue()If the attribute is a Tristate value, this will be populated.booleanhasType()The type of attribute.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
-