Class StardocOutputProtos.ProviderNameGroup.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ProviderNameGroup.Builder>
com.google.devtools.build.lib.starlarkdocextract.StardocOutputProtos.ProviderNameGroup.Builder
- All Implemented Interfaces:
StardocOutputProtos.ProviderNameGroupOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StardocOutputProtos.ProviderNameGroup
public static final class StardocOutputProtos.ProviderNameGroup.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ProviderNameGroup.Builder>
implements StardocOutputProtos.ProviderNameGroupOrBuilder
Representation of a set of providers.Protobuf type
stardoc_output.ProviderNameGroup-
Method Summary
Modifier and TypeMethodDescriptionaddAllOriginKey(Iterable<? extends StardocOutputProtos.OriginKey> values) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.addAllProviderName(Iterable<String> values) The names of the providers.addOriginKey(int index, StardocOutputProtos.OriginKey value) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.addOriginKey(int index, StardocOutputProtos.OriginKey.Builder builderForValue) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.addOriginKey(StardocOutputProtos.OriginKey.Builder builderForValue) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.addOriginKeyBuilder(int index) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.addProviderName(String value) The names of the providers.addProviderNameBytes(com.google.protobuf.ByteString value) The names of the providers.build()clear()A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.The names of the providers.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetOriginKey(int index) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.getOriginKeyBuilder(int index) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.intA list of unambiguous references to providers, of the same length and in the same order as the provider_name list.A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.getOriginKeyOrBuilder(int index) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.List<? extends StardocOutputProtos.OriginKeyOrBuilder>A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.getProviderName(int index) The names of the providers.com.google.protobuf.ByteStringgetProviderNameBytes(int index) The names of the providers.intThe names of the providers.com.google.protobuf.ProtocolStringListThe names of the providers.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeOriginKey(int index) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.setOriginKey(int index, StardocOutputProtos.OriginKey value) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.setOriginKey(int index, StardocOutputProtos.OriginKey.Builder builderForValue) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list.setProviderName(int index, String value) The names of the providers.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.ProviderNameGroup.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.ProviderNameGroup.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.ProviderNameGroup.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.ProviderNameGroup.Builder>
-
mergeFrom
public StardocOutputProtos.ProviderNameGroup.Builder mergeFrom(StardocOutputProtos.ProviderNameGroup other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ProviderNameGroup.Builder>
-
mergeFrom
public StardocOutputProtos.ProviderNameGroup.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.ProviderNameGroup.Builder>- Throws:
IOException
-
getProviderNameList
public com.google.protobuf.ProtocolStringList getProviderNameList()The names of the providers. This field is only intended for rendering human-readable output. Please use origin_key (a list of the same length and in the same order as this field) for cross-references and tooling. Note: legacy Stardoc (0.5.x and earlier) is unable to extract the name in some circumstances (for example, if the provider is nested in a struct), and in that case, the provider name will be "Unknown Provider".
repeated string provider_name = 1;- Specified by:
getProviderNameListin interfaceStardocOutputProtos.ProviderNameGroupOrBuilder- Returns:
- A list containing the providerName.
-
getProviderNameCount
public int getProviderNameCount()The names of the providers. This field is only intended for rendering human-readable output. Please use origin_key (a list of the same length and in the same order as this field) for cross-references and tooling. Note: legacy Stardoc (0.5.x and earlier) is unable to extract the name in some circumstances (for example, if the provider is nested in a struct), and in that case, the provider name will be "Unknown Provider".
repeated string provider_name = 1;- Specified by:
getProviderNameCountin interfaceStardocOutputProtos.ProviderNameGroupOrBuilder- Returns:
- The count of providerName.
-
getProviderName
The names of the providers. This field is only intended for rendering human-readable output. Please use origin_key (a list of the same length and in the same order as this field) for cross-references and tooling. Note: legacy Stardoc (0.5.x and earlier) is unable to extract the name in some circumstances (for example, if the provider is nested in a struct), and in that case, the provider name will be "Unknown Provider".
repeated string provider_name = 1;- Specified by:
getProviderNamein interfaceStardocOutputProtos.ProviderNameGroupOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The providerName at the given index.
-
getProviderNameBytes
public com.google.protobuf.ByteString getProviderNameBytes(int index) The names of the providers. This field is only intended for rendering human-readable output. Please use origin_key (a list of the same length and in the same order as this field) for cross-references and tooling. Note: legacy Stardoc (0.5.x and earlier) is unable to extract the name in some circumstances (for example, if the provider is nested in a struct), and in that case, the provider name will be "Unknown Provider".
repeated string provider_name = 1;- Specified by:
getProviderNameBytesin interfaceStardocOutputProtos.ProviderNameGroupOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the providerName at the given index.
-
setProviderName
The names of the providers. This field is only intended for rendering human-readable output. Please use origin_key (a list of the same length and in the same order as this field) for cross-references and tooling. Note: legacy Stardoc (0.5.x and earlier) is unable to extract the name in some circumstances (for example, if the provider is nested in a struct), and in that case, the provider name will be "Unknown Provider".
repeated string provider_name = 1;- Parameters:
index- The index to set the value at.value- The providerName to set.- Returns:
- This builder for chaining.
-
addProviderName
The names of the providers. This field is only intended for rendering human-readable output. Please use origin_key (a list of the same length and in the same order as this field) for cross-references and tooling. Note: legacy Stardoc (0.5.x and earlier) is unable to extract the name in some circumstances (for example, if the provider is nested in a struct), and in that case, the provider name will be "Unknown Provider".
repeated string provider_name = 1;- Parameters:
value- The providerName to add.- Returns:
- This builder for chaining.
-
addAllProviderName
The names of the providers. This field is only intended for rendering human-readable output. Please use origin_key (a list of the same length and in the same order as this field) for cross-references and tooling. Note: legacy Stardoc (0.5.x and earlier) is unable to extract the name in some circumstances (for example, if the provider is nested in a struct), and in that case, the provider name will be "Unknown Provider".
repeated string provider_name = 1;- Parameters:
values- The providerName to add.- Returns:
- This builder for chaining.
-
clearProviderName
The names of the providers. This field is only intended for rendering human-readable output. Please use origin_key (a list of the same length and in the same order as this field) for cross-references and tooling. Note: legacy Stardoc (0.5.x and earlier) is unable to extract the name in some circumstances (for example, if the provider is nested in a struct), and in that case, the provider name will be "Unknown Provider".
repeated string provider_name = 1;- Returns:
- This builder for chaining.
-
addProviderNameBytes
public StardocOutputProtos.ProviderNameGroup.Builder addProviderNameBytes(com.google.protobuf.ByteString value) The names of the providers. This field is only intended for rendering human-readable output. Please use origin_key (a list of the same length and in the same order as this field) for cross-references and tooling. Note: legacy Stardoc (0.5.x and earlier) is unable to extract the name in some circumstances (for example, if the provider is nested in a struct), and in that case, the provider name will be "Unknown Provider".
repeated string provider_name = 1;- Parameters:
value- The bytes of the providerName to add.- Returns:
- This builder for chaining.
-
getOriginKeyList
A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2;- Specified by:
getOriginKeyListin interfaceStardocOutputProtos.ProviderNameGroupOrBuilder
-
getOriginKeyCount
public int getOriginKeyCount()A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2;- Specified by:
getOriginKeyCountin interfaceStardocOutputProtos.ProviderNameGroupOrBuilder
-
getOriginKey
A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2;- Specified by:
getOriginKeyin interfaceStardocOutputProtos.ProviderNameGroupOrBuilder
-
setOriginKey
public StardocOutputProtos.ProviderNameGroup.Builder setOriginKey(int index, StardocOutputProtos.OriginKey value) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2; -
setOriginKey
public StardocOutputProtos.ProviderNameGroup.Builder setOriginKey(int index, StardocOutputProtos.OriginKey.Builder builderForValue) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2; -
addOriginKey
public StardocOutputProtos.ProviderNameGroup.Builder addOriginKey(StardocOutputProtos.OriginKey value) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2; -
addOriginKey
public StardocOutputProtos.ProviderNameGroup.Builder addOriginKey(int index, StardocOutputProtos.OriginKey value) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2; -
addOriginKey
public StardocOutputProtos.ProviderNameGroup.Builder addOriginKey(StardocOutputProtos.OriginKey.Builder builderForValue) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2; -
addOriginKey
public StardocOutputProtos.ProviderNameGroup.Builder addOriginKey(int index, StardocOutputProtos.OriginKey.Builder builderForValue) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2; -
addAllOriginKey
public StardocOutputProtos.ProviderNameGroup.Builder addAllOriginKey(Iterable<? extends StardocOutputProtos.OriginKey> values) A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2; -
clearOriginKey
A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2; -
removeOriginKey
A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2; -
getOriginKeyBuilder
A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2; -
getOriginKeyOrBuilder
A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2;- Specified by:
getOriginKeyOrBuilderin interfaceStardocOutputProtos.ProviderNameGroupOrBuilder
-
getOriginKeyOrBuilderList
A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2;- Specified by:
getOriginKeyOrBuilderListin interfaceStardocOutputProtos.ProviderNameGroupOrBuilder
-
addOriginKeyBuilder
A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2; -
addOriginKeyBuilder
A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2; -
getOriginKeyBuilderList
A list of unambiguous references to providers, of the same length and in the same order as the provider_name list. For provider symbols, this means modules where and the names under which the providers were originally declared. For legacy struct providers, origin_key.file is unset. Note: legacy Stardoc (0.5.x and earlier) does not set this field.
repeated .stardoc_output.OriginKey origin_key = 2;
-