Class StardocOutputProtos.ModuleExtensionTagClassInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ModuleExtensionTagClassInfo.Builder>
com.google.devtools.build.lib.starlarkdocextract.StardocOutputProtos.ModuleExtensionTagClassInfo.Builder
- All Implemented Interfaces:
StardocOutputProtos.ModuleExtensionTagClassInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StardocOutputProtos.ModuleExtensionTagClassInfo
public static final class StardocOutputProtos.ModuleExtensionTagClassInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ModuleExtensionTagClassInfo.Builder>
implements StardocOutputProtos.ModuleExtensionTagClassInfoOrBuilder
Representation of a Bazel module extension tag class.Protobuf type
stardoc_output.ModuleExtensionTagClassInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllAttribute(Iterable<? extends StardocOutputProtos.AttributeInfo> values) The tag class's attributes.addAttribute(int index, StardocOutputProtos.AttributeInfo value) The tag class's attributes.addAttribute(int index, StardocOutputProtos.AttributeInfo.Builder builderForValue) The tag class's attributes.The tag class's attributes.addAttribute(StardocOutputProtos.AttributeInfo.Builder builderForValue) The tag class's attributes.The tag class's attributes.addAttributeBuilder(int index) The tag class's attributes.build()clear()The tag class's attributes.The documentation string of the tag class.The name of the tag for this tag class.getAttribute(int index) The tag class's attributes.getAttributeBuilder(int index) The tag class's attributes.The tag class's attributes.intThe tag class's attributes.The tag class's attributes.getAttributeOrBuilder(int index) The tag class's attributes.List<? extends StardocOutputProtos.AttributeInfoOrBuilder>The tag class's attributes.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe documentation string of the tag class.com.google.protobuf.ByteStringThe documentation string of the tag class.The name of the tag for this tag class.com.google.protobuf.ByteStringThe name of the tag for this tag class.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAttribute(int index) The tag class's attributes.setAttribute(int index, StardocOutputProtos.AttributeInfo value) The tag class's attributes.setAttribute(int index, StardocOutputProtos.AttributeInfo.Builder builderForValue) The tag class's attributes.setDocString(String value) The documentation string of the tag class.setDocStringBytes(com.google.protobuf.ByteString value) The documentation string of the tag class.setTagName(String value) The name of the tag for this tag class.setTagNameBytes(com.google.protobuf.ByteString value) The name of the tag for this tag class.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<StardocOutputProtos.ModuleExtensionTagClassInfo.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<StardocOutputProtos.ModuleExtensionTagClassInfo.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<StardocOutputProtos.ModuleExtensionTagClassInfo.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
public StardocOutputProtos.ModuleExtensionTagClassInfo.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StardocOutputProtos.ModuleExtensionTagClassInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ModuleExtensionTagClassInfo.Builder>
-
mergeFrom
public StardocOutputProtos.ModuleExtensionTagClassInfo.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<StardocOutputProtos.ModuleExtensionTagClassInfo.Builder>- Throws:
IOException
-
getTagName
The name of the tag for this tag class.
string tag_name = 1;- Specified by:
getTagNamein interfaceStardocOutputProtos.ModuleExtensionTagClassInfoOrBuilder- Returns:
- The tagName.
-
getTagNameBytes
public com.google.protobuf.ByteString getTagNameBytes()The name of the tag for this tag class.
string tag_name = 1;- Specified by:
getTagNameBytesin interfaceStardocOutputProtos.ModuleExtensionTagClassInfoOrBuilder- Returns:
- The bytes for tagName.
-
setTagName
The name of the tag for this tag class.
string tag_name = 1;- Parameters:
value- The tagName to set.- Returns:
- This builder for chaining.
-
clearTagName
The name of the tag for this tag class.
string tag_name = 1;- Returns:
- This builder for chaining.
-
setTagNameBytes
public StardocOutputProtos.ModuleExtensionTagClassInfo.Builder setTagNameBytes(com.google.protobuf.ByteString value) The name of the tag for this tag class.
string tag_name = 1;- Parameters:
value- The bytes for tagName to set.- Returns:
- This builder for chaining.
-
getDocString
The documentation string of the tag class.
string doc_string = 2;- Specified by:
getDocStringin interfaceStardocOutputProtos.ModuleExtensionTagClassInfoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public com.google.protobuf.ByteString getDocStringBytes()The documentation string of the tag class.
string doc_string = 2;- Specified by:
getDocStringBytesin interfaceStardocOutputProtos.ModuleExtensionTagClassInfoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
The documentation string of the tag class.
string doc_string = 2;- Parameters:
value- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
The documentation string of the tag class.
string doc_string = 2;- Returns:
- This builder for chaining.
-
setDocStringBytes
public StardocOutputProtos.ModuleExtensionTagClassInfo.Builder setDocStringBytes(com.google.protobuf.ByteString value) The documentation string of the tag class.
string doc_string = 2;- Parameters:
value- The bytes for docString to set.- Returns:
- This builder for chaining.
-
getAttributeList
The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3;- Specified by:
getAttributeListin interfaceStardocOutputProtos.ModuleExtensionTagClassInfoOrBuilder
-
getAttributeCount
public int getAttributeCount()The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3;- Specified by:
getAttributeCountin interfaceStardocOutputProtos.ModuleExtensionTagClassInfoOrBuilder
-
getAttribute
The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3;- Specified by:
getAttributein interfaceStardocOutputProtos.ModuleExtensionTagClassInfoOrBuilder
-
setAttribute
public StardocOutputProtos.ModuleExtensionTagClassInfo.Builder setAttribute(int index, StardocOutputProtos.AttributeInfo value) The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3; -
setAttribute
public StardocOutputProtos.ModuleExtensionTagClassInfo.Builder setAttribute(int index, StardocOutputProtos.AttributeInfo.Builder builderForValue) The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3; -
addAttribute
public StardocOutputProtos.ModuleExtensionTagClassInfo.Builder addAttribute(StardocOutputProtos.AttributeInfo value) The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3; -
addAttribute
public StardocOutputProtos.ModuleExtensionTagClassInfo.Builder addAttribute(int index, StardocOutputProtos.AttributeInfo value) The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3; -
addAttribute
public StardocOutputProtos.ModuleExtensionTagClassInfo.Builder addAttribute(StardocOutputProtos.AttributeInfo.Builder builderForValue) The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3; -
addAttribute
public StardocOutputProtos.ModuleExtensionTagClassInfo.Builder addAttribute(int index, StardocOutputProtos.AttributeInfo.Builder builderForValue) The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3; -
addAllAttribute
public StardocOutputProtos.ModuleExtensionTagClassInfo.Builder addAllAttribute(Iterable<? extends StardocOutputProtos.AttributeInfo> values) The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3; -
clearAttribute
The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3; -
removeAttribute
The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3; -
getAttributeBuilder
The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3; -
getAttributeOrBuilder
The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3;- Specified by:
getAttributeOrBuilderin interfaceStardocOutputProtos.ModuleExtensionTagClassInfoOrBuilder
-
getAttributeOrBuilderList
The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3;- Specified by:
getAttributeOrBuilderListin interfaceStardocOutputProtos.ModuleExtensionTagClassInfoOrBuilder
-
addAttributeBuilder
The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3; -
addAttributeBuilder
The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3; -
getAttributeBuilderList
The tag class's attributes.
repeated .stardoc_output.AttributeInfo attribute = 3;
-