Class StardocOutputProtos.ModuleExtensionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ModuleExtensionInfo.Builder>
com.google.devtools.build.lib.starlarkdocextract.StardocOutputProtos.ModuleExtensionInfo.Builder
- All Implemented Interfaces:
StardocOutputProtos.ModuleExtensionInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StardocOutputProtos.ModuleExtensionInfo
public static final class StardocOutputProtos.ModuleExtensionInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ModuleExtensionInfo.Builder>
implements StardocOutputProtos.ModuleExtensionInfoOrBuilder
Representation of a Bazel module extension, i.e. the object returned by calling `module_extension(...)`. Note: legacy Stardoc (0.5.x and earlier) does not emit this message.Protobuf type
stardoc_output.ModuleExtensionInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllTagClass(Iterable<? extends StardocOutputProtos.ModuleExtensionTagClassInfo> values) The tag classes of the extension.addTagClass(int index, StardocOutputProtos.ModuleExtensionTagClassInfo value) The tag classes of the extension.addTagClass(int index, StardocOutputProtos.ModuleExtensionTagClassInfo.Builder builderForValue) The tag classes of the extension.The tag classes of the extension.addTagClass(StardocOutputProtos.ModuleExtensionTagClassInfo.Builder builderForValue) The tag classes of the extension.The tag classes of the extension.addTagClassBuilder(int index) The tag classes of the extension.build()clear()The documentation string of the extension.The name under which the extension is made accessible to a user of this Starlark module.The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set.The tag classes of the extension.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe documentation string of the extension.com.google.protobuf.ByteStringThe documentation string of the extension.The name under which the extension is made accessible to a user of this Starlark module.com.google.protobuf.ByteStringThe name under which the extension is made accessible to a user of this Starlark module.The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set.The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set.The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set.getTagClass(int index) The tag classes of the extension.getTagClassBuilder(int index) The tag classes of the extension.The tag classes of the extension.intThe tag classes of the extension.The tag classes of the extension.getTagClassOrBuilder(int index) The tag classes of the extension.The tag classes of the extension.booleanThe Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set.removeTagClass(int index) The tag classes of the extension.setDocString(String value) The documentation string of the extension.setDocStringBytes(com.google.protobuf.ByteString value) The documentation string of the extension.setExtensionName(String value) The name under which the extension is made accessible to a user of this Starlark module.setExtensionNameBytes(com.google.protobuf.ByteString value) The name under which the extension is made accessible to a user of this Starlark module.The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set.setOriginKey(StardocOutputProtos.OriginKey.Builder builderForValue) The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set.setTagClass(int index, StardocOutputProtos.ModuleExtensionTagClassInfo value) The tag classes of the extension.setTagClass(int index, StardocOutputProtos.ModuleExtensionTagClassInfo.Builder builderForValue) The tag classes of the extension.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.ModuleExtensionInfo.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.ModuleExtensionInfo.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.ModuleExtensionInfo.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<StardocOutputProtos.ModuleExtensionInfo.Builder>
-
mergeFrom
public StardocOutputProtos.ModuleExtensionInfo.Builder mergeFrom(StardocOutputProtos.ModuleExtensionInfo other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ModuleExtensionInfo.Builder>
-
mergeFrom
public StardocOutputProtos.ModuleExtensionInfo.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.ModuleExtensionInfo.Builder>- Throws:
IOException
-
getExtensionName
The name under which the extension is made accessible to a user of this Starlark module.
string extension_name = 1;- Specified by:
getExtensionNamein interfaceStardocOutputProtos.ModuleExtensionInfoOrBuilder- Returns:
- The extensionName.
-
getExtensionNameBytes
public com.google.protobuf.ByteString getExtensionNameBytes()The name under which the extension is made accessible to a user of this Starlark module.
string extension_name = 1;- Specified by:
getExtensionNameBytesin interfaceStardocOutputProtos.ModuleExtensionInfoOrBuilder- Returns:
- The bytes for extensionName.
-
setExtensionName
The name under which the extension is made accessible to a user of this Starlark module.
string extension_name = 1;- Parameters:
value- The extensionName to set.- Returns:
- This builder for chaining.
-
clearExtensionName
The name under which the extension is made accessible to a user of this Starlark module.
string extension_name = 1;- Returns:
- This builder for chaining.
-
setExtensionNameBytes
public StardocOutputProtos.ModuleExtensionInfo.Builder setExtensionNameBytes(com.google.protobuf.ByteString value) The name under which the extension is made accessible to a user of this Starlark module.
string extension_name = 1;- Parameters:
value- The bytes for extensionName to set.- Returns:
- This builder for chaining.
-
getDocString
The documentation string of the extension.
string doc_string = 2;- Specified by:
getDocStringin interfaceStardocOutputProtos.ModuleExtensionInfoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public com.google.protobuf.ByteString getDocStringBytes()The documentation string of the extension.
string doc_string = 2;- Specified by:
getDocStringBytesin interfaceStardocOutputProtos.ModuleExtensionInfoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
The documentation string of the extension.
string doc_string = 2;- Parameters:
value- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
The documentation string of the extension.
string doc_string = 2;- Returns:
- This builder for chaining.
-
setDocStringBytes
public StardocOutputProtos.ModuleExtensionInfo.Builder setDocStringBytes(com.google.protobuf.ByteString value) The documentation string of the extension.
string doc_string = 2;- Parameters:
value- The bytes for docString to set.- Returns:
- This builder for chaining.
-
getTagClassList
The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3;- Specified by:
getTagClassListin interfaceStardocOutputProtos.ModuleExtensionInfoOrBuilder
-
getTagClassCount
public int getTagClassCount()The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3;- Specified by:
getTagClassCountin interfaceStardocOutputProtos.ModuleExtensionInfoOrBuilder
-
getTagClass
The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3;- Specified by:
getTagClassin interfaceStardocOutputProtos.ModuleExtensionInfoOrBuilder
-
setTagClass
public StardocOutputProtos.ModuleExtensionInfo.Builder setTagClass(int index, StardocOutputProtos.ModuleExtensionTagClassInfo value) The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
setTagClass
public StardocOutputProtos.ModuleExtensionInfo.Builder setTagClass(int index, StardocOutputProtos.ModuleExtensionTagClassInfo.Builder builderForValue) The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
addTagClass
public StardocOutputProtos.ModuleExtensionInfo.Builder addTagClass(StardocOutputProtos.ModuleExtensionTagClassInfo value) The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
addTagClass
public StardocOutputProtos.ModuleExtensionInfo.Builder addTagClass(int index, StardocOutputProtos.ModuleExtensionTagClassInfo value) The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
addTagClass
public StardocOutputProtos.ModuleExtensionInfo.Builder addTagClass(StardocOutputProtos.ModuleExtensionTagClassInfo.Builder builderForValue) The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
addTagClass
public StardocOutputProtos.ModuleExtensionInfo.Builder addTagClass(int index, StardocOutputProtos.ModuleExtensionTagClassInfo.Builder builderForValue) The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
addAllTagClass
public StardocOutputProtos.ModuleExtensionInfo.Builder addAllTagClass(Iterable<? extends StardocOutputProtos.ModuleExtensionTagClassInfo> values) The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
clearTagClass
The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
removeTagClass
The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
getTagClassBuilder
The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
getTagClassOrBuilder
The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3;- Specified by:
getTagClassOrBuilderin interfaceStardocOutputProtos.ModuleExtensionInfoOrBuilder
-
getTagClassOrBuilderList
public List<? extends StardocOutputProtos.ModuleExtensionTagClassInfoOrBuilder> getTagClassOrBuilderList()The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3;- Specified by:
getTagClassOrBuilderListin interfaceStardocOutputProtos.ModuleExtensionInfoOrBuilder
-
addTagClassBuilder
The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
addTagClassBuilder
The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
getTagClassBuilderList
The tag classes of the extension.
repeated .stardoc_output.ModuleExtensionTagClassInfo tag_class = 3; -
hasOriginKey
public boolean hasOriginKey()The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set. TODO(arostovtsev): attempt to retrieve the name under which the module extension was originally declared if it was declared as a global.
.stardoc_output.OriginKey origin_key = 4;- Specified by:
hasOriginKeyin interfaceStardocOutputProtos.ModuleExtensionInfoOrBuilder- Returns:
- Whether the originKey field is set.
-
getOriginKey
The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set. TODO(arostovtsev): attempt to retrieve the name under which the module extension was originally declared if it was declared as a global.
.stardoc_output.OriginKey origin_key = 4;- Specified by:
getOriginKeyin interfaceStardocOutputProtos.ModuleExtensionInfoOrBuilder- Returns:
- The originKey.
-
setOriginKey
public StardocOutputProtos.ModuleExtensionInfo.Builder setOriginKey(StardocOutputProtos.OriginKey value) The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set. TODO(arostovtsev): attempt to retrieve the name under which the module extension was originally declared if it was declared as a global.
.stardoc_output.OriginKey origin_key = 4; -
setOriginKey
public StardocOutputProtos.ModuleExtensionInfo.Builder setOriginKey(StardocOutputProtos.OriginKey.Builder builderForValue) The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set. TODO(arostovtsev): attempt to retrieve the name under which the module extension was originally declared if it was declared as a global.
.stardoc_output.OriginKey origin_key = 4; -
mergeOriginKey
public StardocOutputProtos.ModuleExtensionInfo.Builder mergeOriginKey(StardocOutputProtos.OriginKey value) The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set. TODO(arostovtsev): attempt to retrieve the name under which the module extension was originally declared if it was declared as a global.
.stardoc_output.OriginKey origin_key = 4; -
clearOriginKey
The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set. TODO(arostovtsev): attempt to retrieve the name under which the module extension was originally declared if it was declared as a global.
.stardoc_output.OriginKey origin_key = 4; -
getOriginKeyBuilder
The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set. TODO(arostovtsev): attempt to retrieve the name under which the module extension was originally declared if it was declared as a global.
.stardoc_output.OriginKey origin_key = 4; -
getOriginKeyOrBuilder
The Starlark module where the Bazel module extension was originally declared; origin_key.name is currently never set. TODO(arostovtsev): attempt to retrieve the name under which the module extension was originally declared if it was declared as a global.
.stardoc_output.OriginKey origin_key = 4;- Specified by:
getOriginKeyOrBuilderin interfaceStardocOutputProtos.ModuleExtensionInfoOrBuilder
-