Class ListPacketsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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

      public List<TmPacketData> getPacketList()
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
      Specified by:
      getPacketList in interface ListPacketsResponseOrBuilder
    • getPacketCount

      public int getPacketCount()
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
      Specified by:
      getPacketCount in interface ListPacketsResponseOrBuilder
    • getPacket

      public TmPacketData getPacket(int index)
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
      Specified by:
      getPacket in interface ListPacketsResponseOrBuilder
    • setPacket

      public ListPacketsResponse.Builder setPacket(int index, TmPacketData value)
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • setPacket

      public ListPacketsResponse.Builder setPacket(int index, TmPacketData.Builder builderForValue)
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • addPacket

      public ListPacketsResponse.Builder addPacket(TmPacketData value)
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • addPacket

      public ListPacketsResponse.Builder addPacket(int index, TmPacketData value)
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • addPacket

      public ListPacketsResponse.Builder addPacket(TmPacketData.Builder builderForValue)
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • addPacket

      public ListPacketsResponse.Builder addPacket(int index, TmPacketData.Builder builderForValue)
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • addAllPacket

      public ListPacketsResponse.Builder addAllPacket(Iterable<? extends TmPacketData> values)
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • clearPacket

      public ListPacketsResponse.Builder clearPacket()
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • removePacket

      public ListPacketsResponse.Builder removePacket(int index)
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • getPacketBuilder

      public TmPacketData.Builder getPacketBuilder(int index)
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • getPacketOrBuilder

      public TmPacketDataOrBuilder getPacketOrBuilder(int index)
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
      Specified by:
      getPacketOrBuilder in interface ListPacketsResponseOrBuilder
    • getPacketOrBuilderList

      public List<? extends TmPacketDataOrBuilder> getPacketOrBuilderList()
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
      Specified by:
      getPacketOrBuilderList in interface ListPacketsResponseOrBuilder
    • addPacketBuilder

      public TmPacketData.Builder addPacketBuilder()
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • addPacketBuilder

      public TmPacketData.Builder addPacketBuilder(int index)
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • getPacketBuilderList

      public List<TmPacketData.Builder> getPacketBuilderList()
      repeated .yamcs.protobuf.packets.TmPacketData packet = 1;
    • 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>