Class Build.Attribute.Selector
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.Selector
- All Implemented Interfaces:
Build.Attribute.SelectorOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Build.Attribute
public static final class Build.Attribute.Selector
extends com.google.protobuf.GeneratedMessage
implements Build.Attribute.SelectorOrBuilder
Protobuf type
blaze_query.Attribute.Selector- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeblaze_query.Attribute.SelectorNested 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 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 TypeMethodDescriptionbooleanstatic Build.Attribute.Selectorstatic final com.google.protobuf.Descriptors.DescriptorgetEntries(int index) The list of (label, value) pairs in the map that defines the selector.intThe list of (label, value) pairs in the map that defines the selector.The list of (label, value) pairs in the map that defines the selector.getEntriesOrBuilder(int index) The list of (label, value) pairs in the map that defines the selector.List<? extends Build.Attribute.SelectorEntryOrBuilder>The list of (label, value) pairs in the map that defines the selector.booleanWhether or not this has any default values.The error message when no condition matches.com.google.protobuf.ByteStringThe error message when no condition matches.com.google.protobuf.Parser<Build.Attribute.Selector>intbooleanWhether or not this has any default values.inthashCode()booleanThe error message when no condition matches.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Build.Attribute.Selector prototype) protected Build.Attribute.Selector.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Build.Attribute.SelectorparseDelimitedFrom(InputStream input) static Build.Attribute.SelectorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Build.Attribute.SelectorparseFrom(byte[] data) static Build.Attribute.SelectorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Build.Attribute.SelectorparseFrom(com.google.protobuf.ByteString data) static Build.Attribute.SelectorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Build.Attribute.SelectorparseFrom(com.google.protobuf.CodedInputStream input) static Build.Attribute.SelectorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Build.Attribute.SelectorparseFrom(InputStream input) static Build.Attribute.SelectorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Build.Attribute.SelectorparseFrom(ByteBuffer data) static Build.Attribute.SelectorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Build.Attribute.Selector>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
-
ENTRIES_FIELD_NUMBER
public static final int ENTRIES_FIELD_NUMBER- See Also:
-
HAS_DEFAULT_VALUE_FIELD_NUMBER
public static final int HAS_DEFAULT_VALUE_FIELD_NUMBER- See Also:
-
NO_MATCH_ERROR_FIELD_NUMBER
public static final int NO_MATCH_ERROR_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
-
getEntriesList
The list of (label, value) pairs in the map that defines the selector. At this time, this cannot be empty, i.e. a selector has at least one entry.
repeated .blaze_query.Attribute.SelectorEntry entries = 1;- Specified by:
getEntriesListin interfaceBuild.Attribute.SelectorOrBuilder
-
getEntriesOrBuilderList
The list of (label, value) pairs in the map that defines the selector. At this time, this cannot be empty, i.e. a selector has at least one entry.
repeated .blaze_query.Attribute.SelectorEntry entries = 1;- Specified by:
getEntriesOrBuilderListin interfaceBuild.Attribute.SelectorOrBuilder
-
getEntriesCount
public int getEntriesCount()The list of (label, value) pairs in the map that defines the selector. At this time, this cannot be empty, i.e. a selector has at least one entry.
repeated .blaze_query.Attribute.SelectorEntry entries = 1;- Specified by:
getEntriesCountin interfaceBuild.Attribute.SelectorOrBuilder
-
getEntries
The list of (label, value) pairs in the map that defines the selector. At this time, this cannot be empty, i.e. a selector has at least one entry.
repeated .blaze_query.Attribute.SelectorEntry entries = 1;- Specified by:
getEntriesin interfaceBuild.Attribute.SelectorOrBuilder
-
getEntriesOrBuilder
The list of (label, value) pairs in the map that defines the selector. At this time, this cannot be empty, i.e. a selector has at least one entry.
repeated .blaze_query.Attribute.SelectorEntry entries = 1;- Specified by:
getEntriesOrBuilderin interfaceBuild.Attribute.SelectorOrBuilder
-
hasHasDefaultValue
public boolean hasHasDefaultValue()Whether or not this has any default values.
optional bool has_default_value = 2;- Specified by:
hasHasDefaultValuein interfaceBuild.Attribute.SelectorOrBuilder- Returns:
- Whether the hasDefaultValue field is set.
-
getHasDefaultValue
public boolean getHasDefaultValue()Whether or not this has any default values.
optional bool has_default_value = 2;- Specified by:
getHasDefaultValuein interfaceBuild.Attribute.SelectorOrBuilder- Returns:
- The hasDefaultValue.
-
hasNoMatchError
public boolean hasNoMatchError()The error message when no condition matches.
optional string no_match_error = 3;- Specified by:
hasNoMatchErrorin interfaceBuild.Attribute.SelectorOrBuilder- Returns:
- Whether the noMatchError field is set.
-
getNoMatchError
The error message when no condition matches.
optional string no_match_error = 3;- Specified by:
getNoMatchErrorin interfaceBuild.Attribute.SelectorOrBuilder- Returns:
- The noMatchError.
-
getNoMatchErrorBytes
public com.google.protobuf.ByteString getNoMatchErrorBytes()The error message when no condition matches.
optional string no_match_error = 3;- Specified by:
getNoMatchErrorBytesin interfaceBuild.Attribute.SelectorOrBuilder- Returns:
- The bytes for noMatchError.
-
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.Selector parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Build.Attribute.Selector parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Build.Attribute.Selector parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Build.Attribute.Selector 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.Selector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Build.Attribute.Selector 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.Selector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Build.Attribute.Selector parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Build.Attribute.Selector parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Build.Attribute.Selector 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.Selector.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
-