Class Build.Attribute
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA rule attribute.static enumIndicates the type of attribute.static final classProtobuf typeblaze_query.Attribute.Selectorstatic final classProtobuf typeblaze_query.Attribute.SelectorEntrystatic interfacestatic final classProtobuf typeblaze_query.Attribute.SelectorListstatic interfacestatic interfacestatic enumValues for the TriState field type.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanIf the attribute has a boolean value this will be populated.static Build.Attributecom.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;static final com.google.protobuf.Descriptors.DescriptorbooleanWhether 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.com.google.protobuf.Parser<Build.Attribute>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.intRepresents 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).com.google.protobuf.ProtocolStringListThe 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 specifiedinthashCode()booleanIf 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Build.Attribute.Builderstatic Build.Attribute.BuildernewBuilder(Build.Attribute prototype) protected Build.Attribute.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Build.AttributeparseDelimitedFrom(InputStream input) static Build.AttributeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Build.AttributeparseFrom(byte[] data) static Build.AttributeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Build.AttributeparseFrom(com.google.protobuf.ByteString data) static Build.AttributeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Build.AttributeparseFrom(com.google.protobuf.CodedInputStream input) static Build.AttributeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Build.AttributeparseFrom(InputStream input) static Build.AttributeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Build.AttributeparseFrom(ByteBuffer data) static Build.AttributeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Build.Attribute>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasName
public boolean hasName()The name of the attribute
required string name = 1;- Specified by:
hasNamein interfaceBuild.AttributeOrBuilder- Returns:
- Whether the name field is set.
-
getName
The name of the attribute
required string name = 1;- Specified by:
getNamein interfaceBuild.AttributeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the attribute
required string name = 1;- Specified by:
getNameBytesin interfaceBuild.AttributeOrBuilder- Returns:
- The bytes for name.
-
hasExplicitlySpecified
public boolean hasExplicitlySpecified()Whether the attribute was explicitly specified
optional bool explicitly_specified = 13;- Specified by:
hasExplicitlySpecifiedin interfaceBuild.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:
getExplicitlySpecifiedin interfaceBuild.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:
hasNodepin interfaceBuild.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:
getNodepin interfaceBuild.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:
hasSourceAspectNamein interfaceBuild.AttributeOrBuilder- Returns:
- Whether the sourceAspectName field is set.
-
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:
getSourceAspectNamein interfaceBuild.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:
getSourceAspectNameBytesin interfaceBuild.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:
hasTypein interfaceBuild.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:
getTypein interfaceBuild.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:
hasIntValuein interfaceBuild.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:
getIntValuein interfaceBuild.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:
hasStringValuein interfaceBuild.AttributeOrBuilder- Returns:
- Whether the stringValue field is set.
-
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:
getStringValuein interfaceBuild.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:
getStringValueBytesin interfaceBuild.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:
hasBooleanValuein interfaceBuild.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:
getBooleanValuein interfaceBuild.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:
hasTristateValuein interfaceBuild.AttributeOrBuilder- Returns:
- Whether the tristateValue field is set.
-
getTristateValue
If the attribute is a Tristate value, this will be populated.
optional .blaze_query.Attribute.Tristate tristate_value = 15;- Specified by:
getTristateValuein interfaceBuild.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:
getStringListValueListin interfaceBuild.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:
getStringListValueCountin interfaceBuild.AttributeOrBuilder- 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;- Specified by:
getStringListValuein interfaceBuild.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:
getStringListValueBytesin interfaceBuild.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:
hasLicensein interfaceBuild.AttributeOrBuilder- Returns:
- Whether the license field is set.
-
getLicense
If this is a license attribute, the license information is stored here.
optional .blaze_query.License license = 7;- Specified by:
getLicensein interfaceBuild.AttributeOrBuilder- Returns:
- The license.
-
getLicenseOrBuilder
If this is a license attribute, the license information is stored here.
optional .blaze_query.License license = 7;- Specified by:
getLicenseOrBuilderin interfaceBuild.AttributeOrBuilder
-
getStringDictValueList
If this is a string dict, each entry will be stored here.
repeated .blaze_query.StringDictEntry string_dict_value = 8;- Specified by:
getStringDictValueListin interfaceBuild.AttributeOrBuilder
-
getStringDictValueOrBuilderList
If this is a string dict, each entry will be stored here.
repeated .blaze_query.StringDictEntry string_dict_value = 8;- Specified by:
getStringDictValueOrBuilderListin interfaceBuild.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:
getStringDictValueCountin interfaceBuild.AttributeOrBuilder
-
getStringDictValue
If this is a string dict, each entry will be stored here.
repeated .blaze_query.StringDictEntry string_dict_value = 8;- Specified by:
getStringDictValuein interfaceBuild.AttributeOrBuilder
-
getStringDictValueOrBuilder
If this is a string dict, each entry will be stored here.
repeated .blaze_query.StringDictEntry string_dict_value = 8;- Specified by:
getStringDictValueOrBuilderin interfaceBuild.AttributeOrBuilder
-
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:
getFilesetListValueListin interfaceBuild.AttributeOrBuilder
-
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:
getFilesetListValueOrBuilderListin interfaceBuild.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:
getFilesetListValueCountin interfaceBuild.AttributeOrBuilder
-
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;- Specified by:
getFilesetListValuein interfaceBuild.AttributeOrBuilder
-
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;- Specified by:
getFilesetListValueOrBuilderin interfaceBuild.AttributeOrBuilder
-
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:
getLabelListDictValueListin interfaceBuild.AttributeOrBuilder
-
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:
getLabelListDictValueOrBuilderListin interfaceBuild.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:
getLabelListDictValueCountin interfaceBuild.AttributeOrBuilder
-
getLabelListDictValue
If this is a label list dict, each entry will be stored here.
repeated .blaze_query.LabelListDictEntry label_list_dict_value = 10;- Specified by:
getLabelListDictValuein interfaceBuild.AttributeOrBuilder
-
getLabelListDictValueOrBuilder
If this is a label list dict, each entry will be stored here.
repeated .blaze_query.LabelListDictEntry label_list_dict_value = 10;- Specified by:
getLabelListDictValueOrBuilderin interfaceBuild.AttributeOrBuilder
-
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:
getStringListDictValueListin interfaceBuild.AttributeOrBuilder
-
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:
getStringListDictValueOrBuilderListin interfaceBuild.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:
getStringListDictValueCountin interfaceBuild.AttributeOrBuilder
-
getStringListDictValue
If this is a string list dict, each entry will be stored here.
repeated .blaze_query.StringListDictEntry string_list_dict_value = 11;- Specified by:
getStringListDictValuein interfaceBuild.AttributeOrBuilder
-
getStringListDictValueOrBuilder
If this is a string list dict, each entry will be stored here.
repeated .blaze_query.StringListDictEntry string_list_dict_value = 11;- Specified by:
getStringListDictValueOrBuilderin interfaceBuild.AttributeOrBuilder
-
getIntListValueList
The value of the attribute has a list of int32 values
repeated int32 int_list_value = 17;- Specified by:
getIntListValueListin interfaceBuild.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:
getIntListValueCountin interfaceBuild.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:
getIntListValuein interfaceBuild.AttributeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The intListValue at the given index.
-
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:
getLabelDictUnaryValueListin interfaceBuild.AttributeOrBuilder
-
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:
getLabelDictUnaryValueOrBuilderListin interfaceBuild.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:
getLabelDictUnaryValueCountin interfaceBuild.AttributeOrBuilder
-
getLabelDictUnaryValue
If this is a label dict unary, each entry will be stored here.
repeated .blaze_query.LabelDictUnaryEntry label_dict_unary_value = 19;- Specified by:
getLabelDictUnaryValuein interfaceBuild.AttributeOrBuilder
-
getLabelDictUnaryValueOrBuilder
If this is a label dict unary, each entry will be stored here.
repeated .blaze_query.LabelDictUnaryEntry label_dict_unary_value = 19;- Specified by:
getLabelDictUnaryValueOrBuilderin interfaceBuild.AttributeOrBuilder
-
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:
getLabelKeyedStringDictValueListin interfaceBuild.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:
getLabelKeyedStringDictValueOrBuilderListin interfaceBuild.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:
getLabelKeyedStringDictValueCountin interfaceBuild.AttributeOrBuilder
-
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;- Specified by:
getLabelKeyedStringDictValuein interfaceBuild.AttributeOrBuilder
-
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;- Specified by:
getLabelKeyedStringDictValueOrBuilderin interfaceBuild.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:
hasSelectorListin interfaceBuild.AttributeOrBuilder- Returns:
- Whether the selectorList field is set.
-
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:
getSelectorListin interfaceBuild.AttributeOrBuilder- Returns:
- The selectorList.
-
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:
getSelectorListOrBuilderin interfaceBuild.AttributeOrBuilder
-
getDEPRECATEDStringDictUnaryValueList
repeated bytes DEPRECATED_string_dict_unary_value = 18;- Specified by:
getDEPRECATEDStringDictUnaryValueListin interfaceBuild.AttributeOrBuilder- Returns:
- A list containing the dEPRECATEDStringDictUnaryValue.
-
getDEPRECATEDStringDictUnaryValueCount
public int getDEPRECATEDStringDictUnaryValueCount()repeated bytes DEPRECATED_string_dict_unary_value = 18;- Specified by:
getDEPRECATEDStringDictUnaryValueCountin interfaceBuild.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:
getDEPRECATEDStringDictUnaryValuein interfaceBuild.AttributeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dEPRECATEDStringDictUnaryValue at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Build.Attribute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Build.Attribute.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-