Class StardocOutputProtos.ProviderInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ProviderInfo.Builder>
com.google.devtools.build.lib.starlarkdocextract.StardocOutputProtos.ProviderInfo.Builder
- All Implemented Interfaces:
StardocOutputProtos.ProviderInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StardocOutputProtos.ProviderInfo
public static final class StardocOutputProtos.ProviderInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ProviderInfo.Builder>
implements StardocOutputProtos.ProviderInfoOrBuilder
Representation of a Starlark provider definition.Protobuf type
stardoc_output.ProviderInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllFieldInfo(Iterable<? extends StardocOutputProtos.ProviderFieldInfo> values) The fields of the provider.addFieldInfo(int index, StardocOutputProtos.ProviderFieldInfo value) The fields of the provider.addFieldInfo(int index, StardocOutputProtos.ProviderFieldInfo.Builder builderForValue) The fields of the provider.The fields of the provider.addFieldInfo(StardocOutputProtos.ProviderFieldInfo.Builder builderForValue) The fields of the provider.The fields of the provider.addFieldInfoBuilder(int index) The fields of the provider.build()clear()The description of the provider.The fields of the provider.The provider's init callback.The module where and the name under which the provider was originally declared.The name under which the provider is made accessible to a user of this module, including any structs it is nested in, for example "foo.FooInfo".static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe description of the provider.com.google.protobuf.ByteStringThe description of the provider.getFieldInfo(int index) The fields of the provider.getFieldInfoBuilder(int index) The fields of the provider.The fields of the provider.intThe fields of the provider.The fields of the provider.getFieldInfoOrBuilder(int index) The fields of the provider.The fields of the provider.getInit()The provider's init callback.The provider's init callback.The provider's init callback.The module where and the name under which the provider was originally declared.The module where and the name under which the provider was originally declared.The module where and the name under which the provider was originally declared.The name under which the provider is made accessible to a user of this module, including any structs it is nested in, for example "foo.FooInfo".com.google.protobuf.ByteStringThe name under which the provider is made accessible to a user of this module, including any structs it is nested in, for example "foo.FooInfo".booleanhasInit()The provider's init callback.booleanThe module where and the name under which the provider was originally declared.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The provider's init callback.The module where and the name under which the provider was originally declared.removeFieldInfo(int index) The fields of the provider.setDocString(String value) The description of the provider.setDocStringBytes(com.google.protobuf.ByteString value) The description of the provider.setFieldInfo(int index, StardocOutputProtos.ProviderFieldInfo value) The fields of the provider.setFieldInfo(int index, StardocOutputProtos.ProviderFieldInfo.Builder builderForValue) The fields of the provider.The provider's init callback.setInit(StardocOutputProtos.StarlarkFunctionInfo.Builder builderForValue) The provider's init callback.The module where and the name under which the provider was originally declared.setOriginKey(StardocOutputProtos.OriginKey.Builder builderForValue) The module where and the name under which the provider was originally declared.setProviderName(String value) The name under which the provider is made accessible to a user of this module, including any structs it is nested in, for example "foo.FooInfo".setProviderNameBytes(com.google.protobuf.ByteString value) The name under which the provider is made accessible to a user of this module, including any structs it is nested in, for example "foo.FooInfo".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.ProviderInfo.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.ProviderInfo.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.ProviderInfo.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.ProviderInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ProviderInfo.Builder>
-
mergeFrom
public StardocOutputProtos.ProviderInfo.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.ProviderInfo.Builder>- Throws:
IOException
-
getProviderName
The name under which the provider is made accessible to a user of this module, including any structs it is nested in, for example "foo.FooInfo".
string provider_name = 1;- Specified by:
getProviderNamein interfaceStardocOutputProtos.ProviderInfoOrBuilder- Returns:
- The providerName.
-
getProviderNameBytes
public com.google.protobuf.ByteString getProviderNameBytes()The name under which the provider is made accessible to a user of this module, including any structs it is nested in, for example "foo.FooInfo".
string provider_name = 1;- Specified by:
getProviderNameBytesin interfaceStardocOutputProtos.ProviderInfoOrBuilder- Returns:
- The bytes for providerName.
-
setProviderName
The name under which the provider is made accessible to a user of this module, including any structs it is nested in, for example "foo.FooInfo".
string provider_name = 1;- Parameters:
value- The providerName to set.- Returns:
- This builder for chaining.
-
clearProviderName
The name under which the provider is made accessible to a user of this module, including any structs it is nested in, for example "foo.FooInfo".
string provider_name = 1;- Returns:
- This builder for chaining.
-
setProviderNameBytes
public StardocOutputProtos.ProviderInfo.Builder setProviderNameBytes(com.google.protobuf.ByteString value) The name under which the provider is made accessible to a user of this module, including any structs it is nested in, for example "foo.FooInfo".
string provider_name = 1;- Parameters:
value- The bytes for providerName to set.- Returns:
- This builder for chaining.
-
getDocString
The description of the provider.
string doc_string = 2;- Specified by:
getDocStringin interfaceStardocOutputProtos.ProviderInfoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public com.google.protobuf.ByteString getDocStringBytes()The description of the provider.
string doc_string = 2;- Specified by:
getDocStringBytesin interfaceStardocOutputProtos.ProviderInfoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
The description of the provider.
string doc_string = 2;- Parameters:
value- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
The description of the provider.
string doc_string = 2;- Returns:
- This builder for chaining.
-
setDocStringBytes
public StardocOutputProtos.ProviderInfo.Builder setDocStringBytes(com.google.protobuf.ByteString value) The description of the provider.
string doc_string = 2;- Parameters:
value- The bytes for docString to set.- Returns:
- This builder for chaining.
-
getFieldInfoList
The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3;- Specified by:
getFieldInfoListin interfaceStardocOutputProtos.ProviderInfoOrBuilder
-
getFieldInfoCount
public int getFieldInfoCount()The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3;- Specified by:
getFieldInfoCountin interfaceStardocOutputProtos.ProviderInfoOrBuilder
-
getFieldInfo
The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3;- Specified by:
getFieldInfoin interfaceStardocOutputProtos.ProviderInfoOrBuilder
-
setFieldInfo
public StardocOutputProtos.ProviderInfo.Builder setFieldInfo(int index, StardocOutputProtos.ProviderFieldInfo value) The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
setFieldInfo
public StardocOutputProtos.ProviderInfo.Builder setFieldInfo(int index, StardocOutputProtos.ProviderFieldInfo.Builder builderForValue) The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
addFieldInfo
public StardocOutputProtos.ProviderInfo.Builder addFieldInfo(StardocOutputProtos.ProviderFieldInfo value) The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
addFieldInfo
public StardocOutputProtos.ProviderInfo.Builder addFieldInfo(int index, StardocOutputProtos.ProviderFieldInfo value) The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
addFieldInfo
public StardocOutputProtos.ProviderInfo.Builder addFieldInfo(StardocOutputProtos.ProviderFieldInfo.Builder builderForValue) The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
addFieldInfo
public StardocOutputProtos.ProviderInfo.Builder addFieldInfo(int index, StardocOutputProtos.ProviderFieldInfo.Builder builderForValue) The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
addAllFieldInfo
public StardocOutputProtos.ProviderInfo.Builder addAllFieldInfo(Iterable<? extends StardocOutputProtos.ProviderFieldInfo> values) The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
clearFieldInfo
The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
removeFieldInfo
The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
getFieldInfoBuilder
The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
getFieldInfoOrBuilder
The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3;- Specified by:
getFieldInfoOrBuilderin interfaceStardocOutputProtos.ProviderInfoOrBuilder
-
getFieldInfoOrBuilderList
The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3;- Specified by:
getFieldInfoOrBuilderListin interfaceStardocOutputProtos.ProviderInfoOrBuilder
-
addFieldInfoBuilder
The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
addFieldInfoBuilder
The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
getFieldInfoBuilderList
The fields of the provider.
repeated .stardoc_output.ProviderFieldInfo field_info = 3; -
hasOriginKey
public boolean hasOriginKey()The module where and the name under which the provider was originally declared.
.stardoc_output.OriginKey origin_key = 4;- Specified by:
hasOriginKeyin interfaceStardocOutputProtos.ProviderInfoOrBuilder- Returns:
- Whether the originKey field is set.
-
getOriginKey
The module where and the name under which the provider was originally declared.
.stardoc_output.OriginKey origin_key = 4;- Specified by:
getOriginKeyin interfaceStardocOutputProtos.ProviderInfoOrBuilder- Returns:
- The originKey.
-
setOriginKey
The module where and the name under which the provider was originally declared.
.stardoc_output.OriginKey origin_key = 4; -
setOriginKey
public StardocOutputProtos.ProviderInfo.Builder setOriginKey(StardocOutputProtos.OriginKey.Builder builderForValue) The module where and the name under which the provider was originally declared.
.stardoc_output.OriginKey origin_key = 4; -
mergeOriginKey
The module where and the name under which the provider was originally declared.
.stardoc_output.OriginKey origin_key = 4; -
clearOriginKey
The module where and the name under which the provider was originally declared.
.stardoc_output.OriginKey origin_key = 4; -
getOriginKeyBuilder
The module where and the name under which the provider was originally declared.
.stardoc_output.OriginKey origin_key = 4; -
getOriginKeyOrBuilder
The module where and the name under which the provider was originally declared.
.stardoc_output.OriginKey origin_key = 4;- Specified by:
getOriginKeyOrBuilderin interfaceStardocOutputProtos.ProviderInfoOrBuilder
-
hasInit
public boolean hasInit()The provider's init callback.
.stardoc_output.StarlarkFunctionInfo init = 5;- Specified by:
hasInitin interfaceStardocOutputProtos.ProviderInfoOrBuilder- Returns:
- Whether the init field is set.
-
getInit
The provider's init callback.
.stardoc_output.StarlarkFunctionInfo init = 5;- Specified by:
getInitin interfaceStardocOutputProtos.ProviderInfoOrBuilder- Returns:
- The init.
-
setInit
public StardocOutputProtos.ProviderInfo.Builder setInit(StardocOutputProtos.StarlarkFunctionInfo value) The provider's init callback.
.stardoc_output.StarlarkFunctionInfo init = 5; -
setInit
public StardocOutputProtos.ProviderInfo.Builder setInit(StardocOutputProtos.StarlarkFunctionInfo.Builder builderForValue) The provider's init callback.
.stardoc_output.StarlarkFunctionInfo init = 5; -
mergeInit
public StardocOutputProtos.ProviderInfo.Builder mergeInit(StardocOutputProtos.StarlarkFunctionInfo value) The provider's init callback.
.stardoc_output.StarlarkFunctionInfo init = 5; -
clearInit
The provider's init callback.
.stardoc_output.StarlarkFunctionInfo init = 5; -
getInitBuilder
The provider's init callback.
.stardoc_output.StarlarkFunctionInfo init = 5; -
getInitOrBuilder
The provider's init callback.
.stardoc_output.StarlarkFunctionInfo init = 5;- Specified by:
getInitOrBuilderin interfaceStardocOutputProtos.ProviderInfoOrBuilder
-