Class ListPacketsResponse.Builder

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

public static final class ListPacketsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListPacketsResponse.Builder> implements ListPacketsResponseOrBuilder
Protobuf type yamcs.protobuf.packets.ListPacketsResponse
  • 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<ListPacketsResponse.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<ListPacketsResponse.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<ListPacketsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListPacketsResponse 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<ListPacketsResponse.Builder>
    • setField

      public ListPacketsResponse.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<ListPacketsResponse.Builder>
    • clearField

      public ListPacketsResponse.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<ListPacketsResponse.Builder>
    • clearOneof

      public ListPacketsResponse.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<ListPacketsResponse.Builder>
    • setRepeatedField

      public ListPacketsResponse.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<ListPacketsResponse.Builder>
    • addRepeatedField

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

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

      public ListPacketsResponse.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<ListPacketsResponse.Builder>
      Throws:
      IOException
    • getPacketList

      @Deprecated public List<TmPacketData> getPacketList()
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
      Specified by:
      getPacketList in interface ListPacketsResponseOrBuilder
    • getPacketCount

      @Deprecated public int getPacketCount()
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
      Specified by:
      getPacketCount in interface ListPacketsResponseOrBuilder
    • getPacket

      @Deprecated public TmPacketData getPacket(int index)
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
      Specified by:
      getPacket in interface ListPacketsResponseOrBuilder
    • setPacket

      @Deprecated public ListPacketsResponse.Builder setPacket(int index, TmPacketData value)
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • setPacket

      @Deprecated public ListPacketsResponse.Builder setPacket(int index, TmPacketData.Builder builderForValue)
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • addPacket

      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • addPacket

      @Deprecated public ListPacketsResponse.Builder addPacket(int index, TmPacketData value)
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • addPacket

      @Deprecated public ListPacketsResponse.Builder addPacket(TmPacketData.Builder builderForValue)
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • addPacket

      @Deprecated public ListPacketsResponse.Builder addPacket(int index, TmPacketData.Builder builderForValue)
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • addAllPacket

      @Deprecated public ListPacketsResponse.Builder addAllPacket(Iterable<? extends TmPacketData> values)
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • clearPacket

      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • removePacket

      @Deprecated public ListPacketsResponse.Builder removePacket(int index)
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • getPacketBuilder

      @Deprecated public TmPacketData.Builder getPacketBuilder(int index)
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • getPacketOrBuilder

      @Deprecated public TmPacketDataOrBuilder getPacketOrBuilder(int index)
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
      Specified by:
      getPacketOrBuilder in interface ListPacketsResponseOrBuilder
    • getPacketOrBuilderList

      @Deprecated public List<? extends TmPacketDataOrBuilder> getPacketOrBuilderList()
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
      Specified by:
      getPacketOrBuilderList in interface ListPacketsResponseOrBuilder
    • addPacketBuilder

      @Deprecated public TmPacketData.Builder addPacketBuilder()
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • addPacketBuilder

      @Deprecated public TmPacketData.Builder addPacketBuilder(int index)
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • getPacketBuilderList

      @Deprecated public List<TmPacketData.Builder> getPacketBuilderList()
      Deprecated.
       Deprecated, use ``packets`` instead
       
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1 [deprecated = true];
    • getPacketsList

      public List<TmPacketData> getPacketsList()
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
      Specified by:
      getPacketsList in interface ListPacketsResponseOrBuilder
    • getPacketsCount

      public int getPacketsCount()
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
      Specified by:
      getPacketsCount in interface ListPacketsResponseOrBuilder
    • getPackets

      public TmPacketData getPackets(int index)
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
      Specified by:
      getPackets in interface ListPacketsResponseOrBuilder
    • setPackets

      public ListPacketsResponse.Builder setPackets(int index, TmPacketData value)
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • setPackets

      public ListPacketsResponse.Builder setPackets(int index, TmPacketData.Builder builderForValue)
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • addPackets

      public ListPacketsResponse.Builder addPackets(TmPacketData value)
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • addPackets

      public ListPacketsResponse.Builder addPackets(int index, TmPacketData value)
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • addPackets

      public ListPacketsResponse.Builder addPackets(TmPacketData.Builder builderForValue)
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • addPackets

      public ListPacketsResponse.Builder addPackets(int index, TmPacketData.Builder builderForValue)
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • addAllPackets

      public ListPacketsResponse.Builder addAllPackets(Iterable<? extends TmPacketData> values)
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • clearPackets

      public ListPacketsResponse.Builder clearPackets()
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • removePackets

      public ListPacketsResponse.Builder removePackets(int index)
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • getPacketsBuilder

      public TmPacketData.Builder getPacketsBuilder(int index)
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • getPacketsOrBuilder

      public TmPacketDataOrBuilder getPacketsOrBuilder(int index)
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
      Specified by:
      getPacketsOrBuilder in interface ListPacketsResponseOrBuilder
    • getPacketsOrBuilderList

      public List<? extends TmPacketDataOrBuilder> getPacketsOrBuilderList()
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
      Specified by:
      getPacketsOrBuilderList in interface ListPacketsResponseOrBuilder
    • addPacketsBuilder

      public TmPacketData.Builder addPacketsBuilder()
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • addPacketsBuilder

      public TmPacketData.Builder addPacketsBuilder(int index)
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • getPacketsBuilderList

      public List<TmPacketData.Builder> getPacketsBuilderList()
       Page with matching packets
       
      repeated .yamcs.protobuf.packets.TmPacketData packets = 3;
    • hasContinuationToken

      public boolean hasContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Specified by:
      hasContinuationToken in interface ListPacketsResponseOrBuilder
      Returns:
      Whether the continuationToken field is set.
    • getContinuationToken

      public String getContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Specified by:
      getContinuationToken in interface ListPacketsResponseOrBuilder
      Returns:
      The continuationToken.
    • getContinuationTokenBytes

      public com.google.protobuf.ByteString getContinuationTokenBytes()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Specified by:
      getContinuationTokenBytes in interface ListPacketsResponseOrBuilder
      Returns:
      The bytes for continuationToken.
    • setContinuationToken

      public ListPacketsResponse.Builder setContinuationToken(String value)
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Parameters:
      value - The continuationToken to set.
      Returns:
      This builder for chaining.
    • clearContinuationToken

      public ListPacketsResponse.Builder clearContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Returns:
      This builder for chaining.
    • setContinuationTokenBytes

      public ListPacketsResponse.Builder setContinuationTokenBytes(com.google.protobuf.ByteString value)
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Parameters:
      value - The bytes for continuationToken to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListPacketsResponse.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<ListPacketsResponse.Builder>
    • mergeUnknownFields

      public final ListPacketsResponse.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<ListPacketsResponse.Builder>