Class Build.Attribute.SelectorList.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Build.Attribute.SelectorList.Builder>
com.google.devtools.build.lib.query2.proto.proto2api.Build.Attribute.SelectorList.Builder
- All Implemented Interfaces:
Build.Attribute.SelectorListOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Build.Attribute.SelectorList
public static final class Build.Attribute.SelectorList.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Build.Attribute.SelectorList.Builder>
implements Build.Attribute.SelectorListOrBuilder
Protobuf type
blaze_query.Attribute.SelectorList-
Method Summary
Modifier and TypeMethodDescriptionaddAllElements(Iterable<? extends Build.Attribute.Selector> values) The list of selector elements in this selector list.addElements(int index, Build.Attribute.Selector value) The list of selector elements in this selector list.addElements(int index, Build.Attribute.Selector.Builder builderForValue) The list of selector elements in this selector list.The list of selector elements in this selector list.addElements(Build.Attribute.Selector.Builder builderForValue) The list of selector elements in this selector list.The list of selector elements in this selector list.addElementsBuilder(int index) The list of selector elements in this selector list.build()clear()The list of selector elements in this selector list.The type that this selector list evaluates to, and the type that each selector in the list evaluates to.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetElements(int index) The list of selector elements in this selector list.getElementsBuilder(int index) The list of selector elements in this selector list.The list of selector elements in this selector list.intThe list of selector elements in this selector list.The list of selector elements in this selector list.getElementsOrBuilder(int index) The list of selector elements in this selector list.List<? extends Build.Attribute.SelectorOrBuilder>The list of selector elements in this selector list.getType()The type that this selector list evaluates to, and the type that each selector in the list evaluates to.booleanhasType()The type that this selector list evaluates to, and the type that each selector in the list evaluates to.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeElements(int index) The list of selector elements in this selector list.setElements(int index, Build.Attribute.Selector value) The list of selector elements in this selector list.setElements(int index, Build.Attribute.Selector.Builder builderForValue) The list of selector elements in this selector list.The type that this selector list evaluates to, and the type that each selector in the list evaluates to.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.SelectorList.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.SelectorList.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.SelectorList.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.SelectorList.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Build.Attribute.SelectorList.Builder>
-
mergeFrom
public Build.Attribute.SelectorList.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.SelectorList.Builder>- Throws:
IOException
-
hasType
public boolean hasType()The type that this selector list evaluates to, and the type that each selector in the list evaluates to. At this time, this cannot be SELECTOR_LIST, i.e. selector lists do not nest.
optional .blaze_query.Attribute.Discriminator type = 1;- Specified by:
hasTypein interfaceBuild.Attribute.SelectorListOrBuilder- Returns:
- Whether the type field is set.
-
getType
The type that this selector list evaluates to, and the type that each selector in the list evaluates to. At this time, this cannot be SELECTOR_LIST, i.e. selector lists do not nest.
optional .blaze_query.Attribute.Discriminator type = 1;- Specified by:
getTypein interfaceBuild.Attribute.SelectorListOrBuilder- Returns:
- The type.
-
setType
The type that this selector list evaluates to, and the type that each selector in the list evaluates to. At this time, this cannot be SELECTOR_LIST, i.e. selector lists do not nest.
optional .blaze_query.Attribute.Discriminator type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type that this selector list evaluates to, and the type that each selector in the list evaluates to. At this time, this cannot be SELECTOR_LIST, i.e. selector lists do not nest.
optional .blaze_query.Attribute.Discriminator type = 1;- Returns:
- This builder for chaining.
-
getElementsList
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2;- Specified by:
getElementsListin interfaceBuild.Attribute.SelectorListOrBuilder
-
getElementsCount
public int getElementsCount()The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2;- Specified by:
getElementsCountin interfaceBuild.Attribute.SelectorListOrBuilder
-
getElements
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2;- Specified by:
getElementsin interfaceBuild.Attribute.SelectorListOrBuilder
-
setElements
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2; -
setElements
public Build.Attribute.SelectorList.Builder setElements(int index, Build.Attribute.Selector.Builder builderForValue) The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2; -
addElements
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2; -
addElements
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2; -
addElements
public Build.Attribute.SelectorList.Builder addElements(Build.Attribute.Selector.Builder builderForValue) The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2; -
addElements
public Build.Attribute.SelectorList.Builder addElements(int index, Build.Attribute.Selector.Builder builderForValue) The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2; -
addAllElements
public Build.Attribute.SelectorList.Builder addAllElements(Iterable<? extends Build.Attribute.Selector> values) The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2; -
clearElements
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2; -
removeElements
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2; -
getElementsBuilder
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2; -
getElementsOrBuilder
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2;- Specified by:
getElementsOrBuilderin interfaceBuild.Attribute.SelectorListOrBuilder
-
getElementsOrBuilderList
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2;- Specified by:
getElementsOrBuilderListin interfaceBuild.Attribute.SelectorListOrBuilder
-
addElementsBuilder
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2; -
addElementsBuilder
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2; -
getElementsBuilderList
The list of selector elements in this selector list. At this time, this cannot be empty, i.e. a selector list is never empty.
repeated .blaze_query.Attribute.Selector elements = 2;
-