Interface Build.AttributeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Build.Attribute,Build.Attribute.Builder
- Enclosing class:
- Build
public static interface Build.AttributeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf the attribute has a boolean value this will be populated.com.google.protobuf.ByteStringgetDEPRECATEDStringDictUnaryValue(int index) repeated bytes DEPRECATED_string_dict_unary_value = 18;intrepeated bytes DEPRECATED_string_dict_unary_value = 18;List<com.google.protobuf.ByteString>repeated bytes DEPRECATED_string_dict_unary_value = 18;booleanWhether the attribute was explicitly specifiedgetFilesetListValue(int index) If the attribute is part of a Fileset, the fileset entries are stored in this field.intIf the attribute is part of a Fileset, the fileset entries are stored in this field.If the attribute is part of a Fileset, the fileset entries are stored in this field.getFilesetListValueOrBuilder(int index) If the attribute is part of a Fileset, the fileset entries are stored in this field.List<? extends Build.FilesetEntryOrBuilder>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 valuesintThe value of the attribute has a list of int32 valuesThe value of the attribute has a list of int32 valuesintIf this attribute has an integer value this will be populated.getLabelDictUnaryValue(int index) If this is a label dict unary, each entry will be stored here.intIf this is a label dict unary, each entry will be stored here.If this is a label dict unary, each entry will be stored here.getLabelDictUnaryValueOrBuilder(int index) If this is a label dict unary, each entry will be stored here.List<? extends Build.LabelDictUnaryEntryOrBuilder>If this is a label dict unary, each entry will be stored here.getLabelKeyedStringDictValue(int index) If this is a label-keyed string dict, each entry will be stored here.intIf this is a label-keyed string dict, each entry will be stored here.If this is a label-keyed string dict, each entry will be stored here.getLabelKeyedStringDictValueOrBuilder(int index) If this is a label-keyed string dict, each entry will be stored here.List<? extends Build.LabelKeyedStringDictEntryOrBuilder>If this is a label-keyed string dict, each entry will be stored here.getLabelListDictValue(int index) If this is a label list dict, each entry will be stored here.intIf this is a label list dict, each entry will be stored here.If this is a label list dict, each entry will be stored here.getLabelListDictValueOrBuilder(int index) If this is a label list dict, each entry will be stored here.List<? extends Build.LabelListDictEntryOrBuilder>If this is a label list dict, each entry will be stored here.If this is a license attribute, the license information is stored here.If this is a license attribute, the license information is stored here.getName()The name of the attributecom.google.protobuf.ByteStringThe 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.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.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.Represents the aspect that this attribute comes from.com.google.protobuf.ByteStringRepresents the aspect that this attribute comes from.getStringDictValue(int index) If this is a string dict, each entry will be stored here.intIf this is a string dict, each entry will be stored here.If this is a string dict, each entry will be stored here.getStringDictValueOrBuilder(int index) If this is a string dict, each entry will be stored here.List<? extends Build.StringDictEntryOrBuilder>If this is a string dict, each entry will be stored here.getStringListDictValue(int index) If this is a string list dict, each entry will be stored here.intIf this is a string list dict, each entry will be stored here.If this is a string list dict, each entry will be stored here.getStringListDictValueOrBuilder(int index) If this is a string list dict, each entry will be stored here.List<? extends Build.StringListDictEntryOrBuilder>If this is a string list dict, each entry will be stored here.getStringListValue(int index) The value of the attribute has a list of string values (label and path note from STRING applies here as well).com.google.protobuf.ByteStringgetStringListValueBytes(int index) The value of the attribute has a list of string values (label and path note from STRING applies here as well).intThe value of the attribute has a list of string values (label and path note from STRING applies here as well).The value of the attribute has a list of string values (label and path note from STRING applies here as well).If the attribute has a string value this will be populated.com.google.protobuf.ByteStringIf the attribute has a string value this will be populated.If the attribute is a Tristate value, this will be populated.getType()The type of attribute.booleanIf the attribute has a boolean value this will be populated.booleanWhether the attribute was explicitly specifiedbooleanIf this attribute has an integer value this will be populated.booleanIf 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.booleanIf 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.booleanRepresents the aspect that this attribute comes from.booleanIf the attribute has a string value this will be populated.booleanIf the attribute is a Tristate value, this will be populated.booleanhasType()The type of attribute.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()The name of the attribute
required string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()The name of the attribute
required string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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.
-
hasSourceAspectName
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;- Returns:
- Whether the sourceAspectName field is set.
-
getSourceAspectName
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;- Returns:
- The sourceAspectName.
-
getSourceAspectNameBytes
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;- Returns:
- The bytes for sourceAspectName.
-
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
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
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;- 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
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
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
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;- 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
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
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
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
If this is a string dict, each entry will be stored here.
repeated .blaze_query.StringDictEntry string_dict_value = 8; -
getFilesetListValueList
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
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
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
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
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
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
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
If this is a label list dict, each entry will be stored here.
repeated .blaze_query.LabelListDictEntry label_list_dict_value = 10; -
getStringListDictValueList
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
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
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
If this is a string list dict, each entry will be stored here.
repeated .blaze_query.StringListDictEntry string_list_dict_value = 11; -
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
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
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
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
If this is a label dict unary, each entry will be stored here.
repeated .blaze_query.LabelDictUnaryEntry label_dict_unary_value = 19; -
getLabelKeyedStringDictValueList
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
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
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
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
List<com.google.protobuf.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
com.google.protobuf.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.
-