Class ListPacketNamesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
org.yamcs.protobuf.ListPacketNamesResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ListPacketNamesResponseOrBuilder
Enclosing class:
ListPacketNamesResponse

public static final class ListPacketNamesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder> implements ListPacketNamesResponseOrBuilder
Protobuf type yamcs.protobuf.packets.ListPacketNamesResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.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.GeneratedMessageV3.Builder<ListPacketNamesResponse.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.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
    • getDefaultInstanceForType

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

      public ListPacketNamesResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListPacketNamesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
    • setField

      public ListPacketNamesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
    • clearField

      public ListPacketNamesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
    • clearOneof

      public ListPacketNamesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
    • setRepeatedField

      public ListPacketNamesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
    • addRepeatedField

      public ListPacketNamesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
    • mergeFrom

      public ListPacketNamesResponse.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<ListPacketNamesResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
    • mergeFrom

      public ListPacketNamesResponse.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<ListPacketNamesResponse.Builder>
      Throws:
      IOException
    • getNameList

      @Deprecated public com.google.protobuf.ProtocolStringList getNameList()
      Deprecated.
       Known packet names.
       
      repeated string name = 1 [deprecated = true];
      Specified by:
      getNameList in interface ListPacketNamesResponseOrBuilder
      Returns:
      A list containing the name.
    • getNameCount

      @Deprecated public int getNameCount()
      Deprecated.
       Known packet names.
       
      repeated string name = 1 [deprecated = true];
      Specified by:
      getNameCount in interface ListPacketNamesResponseOrBuilder
      Returns:
      The count of name.
    • getName

      @Deprecated public String getName(int index)
      Deprecated.
       Known packet names.
       
      repeated string name = 1 [deprecated = true];
      Specified by:
      getName in interface ListPacketNamesResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The name at the given index.
    • getNameBytes

      @Deprecated public com.google.protobuf.ByteString getNameBytes(int index)
      Deprecated.
       Known packet names.
       
      repeated string name = 1 [deprecated = true];
      Specified by:
      getNameBytes in interface ListPacketNamesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the name at the given index.
    • setName

      @Deprecated public ListPacketNamesResponse.Builder setName(int index, String value)
      Deprecated.
       Known packet names.
       
      repeated string name = 1 [deprecated = true];
      Parameters:
      index - The index to set the value at.
      value - The name to set.
      Returns:
      This builder for chaining.
    • addName

      Deprecated.
       Known packet names.
       
      repeated string name = 1 [deprecated = true];
      Parameters:
      value - The name to add.
      Returns:
      This builder for chaining.
    • addAllName

      Deprecated.
       Known packet names.
       
      repeated string name = 1 [deprecated = true];
      Parameters:
      values - The name to add.
      Returns:
      This builder for chaining.
    • clearName

      Deprecated.
       Known packet names.
       
      repeated string name = 1 [deprecated = true];
      Returns:
      This builder for chaining.
    • addNameBytes

      @Deprecated public ListPacketNamesResponse.Builder addNameBytes(com.google.protobuf.ByteString value)
      Deprecated.
       Known packet names.
       
      repeated string name = 1 [deprecated = true];
      Parameters:
      value - The bytes of the name to add.
      Returns:
      This builder for chaining.
    • getPacketsList

      public com.google.protobuf.ProtocolStringList getPacketsList()
       Known packet names.
       
      repeated string packets = 2;
      Specified by:
      getPacketsList in interface ListPacketNamesResponseOrBuilder
      Returns:
      A list containing the packets.
    • getPacketsCount

      public int getPacketsCount()
       Known packet names.
       
      repeated string packets = 2;
      Specified by:
      getPacketsCount in interface ListPacketNamesResponseOrBuilder
      Returns:
      The count of packets.
    • getPackets

      public String getPackets(int index)
       Known packet names.
       
      repeated string packets = 2;
      Specified by:
      getPackets in interface ListPacketNamesResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The packets at the given index.
    • getPacketsBytes

      public com.google.protobuf.ByteString getPacketsBytes(int index)
       Known packet names.
       
      repeated string packets = 2;
      Specified by:
      getPacketsBytes in interface ListPacketNamesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the packets at the given index.
    • setPackets

      public ListPacketNamesResponse.Builder setPackets(int index, String value)
       Known packet names.
       
      repeated string packets = 2;
      Parameters:
      index - The index to set the value at.
      value - The packets to set.
      Returns:
      This builder for chaining.
    • addPackets

      public ListPacketNamesResponse.Builder addPackets(String value)
       Known packet names.
       
      repeated string packets = 2;
      Parameters:
      value - The packets to add.
      Returns:
      This builder for chaining.
    • addAllPackets

      public ListPacketNamesResponse.Builder addAllPackets(Iterable<String> values)
       Known packet names.
       
      repeated string packets = 2;
      Parameters:
      values - The packets to add.
      Returns:
      This builder for chaining.
    • clearPackets

      public ListPacketNamesResponse.Builder clearPackets()
       Known packet names.
       
      repeated string packets = 2;
      Returns:
      This builder for chaining.
    • addPacketsBytes

      public ListPacketNamesResponse.Builder addPacketsBytes(com.google.protobuf.ByteString value)
       Known packet names.
       
      repeated string packets = 2;
      Parameters:
      value - The bytes of the packets to add.
      Returns:
      This builder for chaining.
    • getLinksList

      public com.google.protobuf.ProtocolStringList getLinksList()
       Known link names.
       
      repeated string links = 3;
      Specified by:
      getLinksList in interface ListPacketNamesResponseOrBuilder
      Returns:
      A list containing the links.
    • getLinksCount

      public int getLinksCount()
       Known link names.
       
      repeated string links = 3;
      Specified by:
      getLinksCount in interface ListPacketNamesResponseOrBuilder
      Returns:
      The count of links.
    • getLinks

      public String getLinks(int index)
       Known link names.
       
      repeated string links = 3;
      Specified by:
      getLinks in interface ListPacketNamesResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The links at the given index.
    • getLinksBytes

      public com.google.protobuf.ByteString getLinksBytes(int index)
       Known link names.
       
      repeated string links = 3;
      Specified by:
      getLinksBytes in interface ListPacketNamesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the links at the given index.
    • setLinks

      public ListPacketNamesResponse.Builder setLinks(int index, String value)
       Known link names.
       
      repeated string links = 3;
      Parameters:
      index - The index to set the value at.
      value - The links to set.
      Returns:
      This builder for chaining.
    • addLinks

      public ListPacketNamesResponse.Builder addLinks(String value)
       Known link names.
       
      repeated string links = 3;
      Parameters:
      value - The links to add.
      Returns:
      This builder for chaining.
    • addAllLinks

      public ListPacketNamesResponse.Builder addAllLinks(Iterable<String> values)
       Known link names.
       
      repeated string links = 3;
      Parameters:
      values - The links to add.
      Returns:
      This builder for chaining.
    • clearLinks

      public ListPacketNamesResponse.Builder clearLinks()
       Known link names.
       
      repeated string links = 3;
      Returns:
      This builder for chaining.
    • addLinksBytes

      public ListPacketNamesResponse.Builder addLinksBytes(com.google.protobuf.ByteString value)
       Known link names.
       
      repeated string links = 3;
      Parameters:
      value - The bytes of the links to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListPacketNamesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
    • mergeUnknownFields

      public final ListPacketNamesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>