Class StardocOutputProtos.ProviderNameGroup

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.lib.starlarkdocextract.StardocOutputProtos.ProviderNameGroup
All Implemented Interfaces:
StardocOutputProtos.ProviderNameGroupOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
StardocOutputProtos

public static final class StardocOutputProtos.ProviderNameGroup extends com.google.protobuf.GeneratedMessage implements StardocOutputProtos.ProviderNameGroupOrBuilder
 Representation of a set of providers.
 
Protobuf type stardoc_output.ProviderNameGroup
See Also:
  • Field Details

    • PROVIDER_NAME_FIELD_NUMBER

      public static final int PROVIDER_NAME_FIELD_NUMBER
      See Also:
    • ORIGIN_KEY_FIELD_NUMBER

      public static final int ORIGIN_KEY_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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
    • 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
    • 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
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static StardocOutputProtos.ProviderNameGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StardocOutputProtos.ProviderNameGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StardocOutputProtos.ProviderNameGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StardocOutputProtos.ProviderNameGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StardocOutputProtos.ProviderNameGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StardocOutputProtos.ProviderNameGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StardocOutputProtos.ProviderNameGroup parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StardocOutputProtos.ProviderNameGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StardocOutputProtos.ProviderNameGroup parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StardocOutputProtos.ProviderNameGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StardocOutputProtos.ProviderNameGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StardocOutputProtos.ProviderNameGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected StardocOutputProtos.ProviderNameGroup.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static StardocOutputProtos.ProviderNameGroup getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StardocOutputProtos.ProviderNameGroup> parser()
    • getParserForType

      public com.google.protobuf.Parser<StardocOutputProtos.ProviderNameGroup> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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