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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ProviderNameGroup.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ProviderNameGroup.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.ProviderNameGroup.Builder>
    • getDefaultInstanceForType

      public StardocOutputProtos.ProviderNameGroup getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public StardocOutputProtos.ProviderNameGroup.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StardocOutputProtos.ProviderNameGroup.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getProviderNameList in interface StardocOutputProtos.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:
      getProviderNameCount in interface StardocOutputProtos.ProviderNameGroupOrBuilder
      Returns:
      The count of providerName.
    • getProviderName

      public String getProviderName(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:
      getProviderName in interface StardocOutputProtos.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:
      getProviderNameBytes in interface StardocOutputProtos.ProviderNameGroupOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the providerName at the given index.
    • setProviderName

      public StardocOutputProtos.ProviderNameGroup.Builder setProviderName(int index, String 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:
      index - The index to set the value at.
      value - The providerName to set.
      Returns:
      This builder for chaining.
    • addProviderName

      public StardocOutputProtos.ProviderNameGroup.Builder addProviderName(String 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 providerName to add.
      Returns:
      This builder for chaining.
    • addAllProviderName

      public StardocOutputProtos.ProviderNameGroup.Builder addAllProviderName(Iterable<String> values)
       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

      public List<StardocOutputProtos.OriginKey> 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:
      getOriginKeyList in interface StardocOutputProtos.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:
      getOriginKeyCount in interface StardocOutputProtos.ProviderNameGroupOrBuilder
    • getOriginKey

      public StardocOutputProtos.OriginKey getOriginKey(int index)
       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:
      getOriginKey in interface StardocOutputProtos.ProviderNameGroupOrBuilder
    • setOriginKey

       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

       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

       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

       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

       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

       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

       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

      public StardocOutputProtos.ProviderNameGroup.Builder removeOriginKey(int index)
       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

      public StardocOutputProtos.OriginKey.Builder getOriginKeyBuilder(int index)
       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

      public StardocOutputProtos.OriginKeyOrBuilder getOriginKeyOrBuilder(int index)
       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:
      getOriginKeyOrBuilder in interface StardocOutputProtos.ProviderNameGroupOrBuilder
    • getOriginKeyOrBuilderList

      public List<? extends StardocOutputProtos.OriginKeyOrBuilder> 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:
      getOriginKeyOrBuilderList in interface StardocOutputProtos.ProviderNameGroupOrBuilder
    • addOriginKeyBuilder

      public StardocOutputProtos.OriginKey.Builder 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

      public StardocOutputProtos.OriginKey.Builder addOriginKeyBuilder(int index)
       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

      public List<StardocOutputProtos.OriginKey.Builder> 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;