Class Build.Attribute.Selector.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Build.Attribute.Selector.Builder>
com.google.devtools.build.lib.query2.proto.proto2api.Build.Attribute.Selector.Builder
- All Implemented Interfaces:
Build.Attribute.SelectorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Build.Attribute.Selector
public static final class Build.Attribute.Selector.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Build.Attribute.Selector.Builder>
implements Build.Attribute.SelectorOrBuilder
Protobuf type
blaze_query.Attribute.Selector-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntries(Iterable<? extends Build.Attribute.SelectorEntry> values) The list of (label, value) pairs in the map that defines the selector.addEntries(int index, Build.Attribute.SelectorEntry value) The list of (label, value) pairs in the map that defines the selector.addEntries(int index, Build.Attribute.SelectorEntry.Builder builderForValue) The 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.addEntries(Build.Attribute.SelectorEntry.Builder builderForValue) The 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.addEntriesBuilder(int index) The list of (label, value) pairs in the map that defines the selector.build()clear()The list of (label, value) pairs in the map that defines the selector.Whether or not this has any default values.The error message when no condition matches.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntries(int index) The list of (label, value) pairs in the map that defines the selector.getEntriesBuilder(int index) The 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.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.booleanWhether or not this has any default values.booleanThe error message when no condition matches.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeEntries(int index) The list of (label, value) pairs in the map that defines the selector.setEntries(int index, Build.Attribute.SelectorEntry value) The list of (label, value) pairs in the map that defines the selector.setEntries(int index, Build.Attribute.SelectorEntry.Builder builderForValue) The list of (label, value) pairs in the map that defines the selector.setHasDefaultValue(boolean value) Whether or not this has any default values.setNoMatchError(String value) The error message when no condition matches.setNoMatchErrorBytes(com.google.protobuf.ByteString value) The error message when no condition matches.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<Build.Attribute.Selector.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Build.Attribute.Selector.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Build.Attribute.Selector.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Build.Attribute.Selector.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Build.Attribute.Selector.Builder>
-
mergeFrom
public Build.Attribute.Selector.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Build.Attribute.Selector.Builder>- Throws:
IOException
-
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
-
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
-
setEntries
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; -
setEntries
public Build.Attribute.Selector.Builder setEntries(int index, Build.Attribute.SelectorEntry.Builder builderForValue) 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; -
addEntries
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; -
addEntries
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; -
addEntries
public Build.Attribute.Selector.Builder addEntries(Build.Attribute.SelectorEntry.Builder builderForValue) 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; -
addEntries
public Build.Attribute.Selector.Builder addEntries(int index, Build.Attribute.SelectorEntry.Builder builderForValue) 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; -
addAllEntries
public Build.Attribute.Selector.Builder addAllEntries(Iterable<? extends Build.Attribute.SelectorEntry> values) 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; -
clearEntries
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; -
removeEntries
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; -
getEntriesBuilder
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; -
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
-
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
-
addEntriesBuilder
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; -
addEntriesBuilder
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; -
getEntriesBuilderList
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; -
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.
-
setHasDefaultValue
Whether or not this has any default values.
optional bool has_default_value = 2;- Parameters:
value- The hasDefaultValue to set.- Returns:
- This builder for chaining.
-
clearHasDefaultValue
Whether or not this has any default values.
optional bool has_default_value = 2;- Returns:
- This builder for chaining.
-
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.
-
setNoMatchError
The error message when no condition matches.
optional string no_match_error = 3;- Parameters:
value- The noMatchError to set.- Returns:
- This builder for chaining.
-
clearNoMatchError
The error message when no condition matches.
optional string no_match_error = 3;- Returns:
- This builder for chaining.
-
setNoMatchErrorBytes
The error message when no condition matches.
optional string no_match_error = 3;- Parameters:
value- The bytes for noMatchError to set.- Returns:
- This builder for chaining.
-