Class TmPacketData.Builder

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

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

      public TmPacketData.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<TmPacketData.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<TmPacketData.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public TmPacketData.Builder mergeFrom(TmPacketData other)
    • isInitialized

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

      public TmPacketData.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<TmPacketData.Builder>
      Throws:
      IOException
    • hasPacket

      public boolean hasPacket()
       Raw packet binary
       
      optional bytes packet = 2;
      Specified by:
      hasPacket in interface TmPacketDataOrBuilder
      Returns:
      Whether the packet field is set.
    • getPacket

      public com.google.protobuf.ByteString getPacket()
       Raw packet binary
       
      optional bytes packet = 2;
      Specified by:
      getPacket in interface TmPacketDataOrBuilder
      Returns:
      The packet.
    • setPacket

      public TmPacketData.Builder setPacket(com.google.protobuf.ByteString value)
       Raw packet binary
       
      optional bytes packet = 2;
      Parameters:
      value - The packet to set.
      Returns:
      This builder for chaining.
    • clearPacket

      public TmPacketData.Builder clearPacket()
       Raw packet binary
       
      optional bytes packet = 2;
      Returns:
      This builder for chaining.
    • hasSequenceNumber

      public boolean hasSequenceNumber()
       Storage discriminator in case of distinct packets
       with the same name and generation time
       
      optional int32 sequenceNumber = 4;
      Specified by:
      hasSequenceNumber in interface TmPacketDataOrBuilder
      Returns:
      Whether the sequenceNumber field is set.
    • getSequenceNumber

      public int getSequenceNumber()
       Storage discriminator in case of distinct packets
       with the same name and generation time
       
      optional int32 sequenceNumber = 4;
      Specified by:
      getSequenceNumber in interface TmPacketDataOrBuilder
      Returns:
      The sequenceNumber.
    • setSequenceNumber

      public TmPacketData.Builder setSequenceNumber(int value)
       Storage discriminator in case of distinct packets
       with the same name and generation time
       
      optional int32 sequenceNumber = 4;
      Parameters:
      value - The sequenceNumber to set.
      Returns:
      This builder for chaining.
    • clearSequenceNumber

      public TmPacketData.Builder clearSequenceNumber()
       Storage discriminator in case of distinct packets
       with the same name and generation time
       
      optional int32 sequenceNumber = 4;
      Returns:
      This builder for chaining.
    • hasId

      public boolean hasId()
       Packet name
       
      optional .yamcs.protobuf.NamedObjectId id = 5;
      Specified by:
      hasId in interface TmPacketDataOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public Yamcs.NamedObjectId getId()
       Packet name
       
      optional .yamcs.protobuf.NamedObjectId id = 5;
      Specified by:
      getId in interface TmPacketDataOrBuilder
      Returns:
      The id.
    • setId

       Packet name
       
      optional .yamcs.protobuf.NamedObjectId id = 5;
    • setId

      public TmPacketData.Builder setId(Yamcs.NamedObjectId.Builder builderForValue)
       Packet name
       
      optional .yamcs.protobuf.NamedObjectId id = 5;
    • mergeId

      public TmPacketData.Builder mergeId(Yamcs.NamedObjectId value)
       Packet name
       
      optional .yamcs.protobuf.NamedObjectId id = 5;
    • clearId

      public TmPacketData.Builder clearId()
       Packet name
       
      optional .yamcs.protobuf.NamedObjectId id = 5;
    • getIdBuilder

      public Yamcs.NamedObjectId.Builder getIdBuilder()
       Packet name
       
      optional .yamcs.protobuf.NamedObjectId id = 5;
    • getIdOrBuilder

      public Yamcs.NamedObjectIdOrBuilder getIdOrBuilder()
       Packet name
       
      optional .yamcs.protobuf.NamedObjectId id = 5;
      Specified by:
      getIdOrBuilder in interface TmPacketDataOrBuilder
    • hasGenerationTime

      public boolean hasGenerationTime()
       When the packet was generated
       
      optional .google.protobuf.Timestamp generationTime = 9;
      Specified by:
      hasGenerationTime in interface TmPacketDataOrBuilder
      Returns:
      Whether the generationTime field is set.
    • getGenerationTime

      public com.google.protobuf.Timestamp getGenerationTime()
       When the packet was generated
       
      optional .google.protobuf.Timestamp generationTime = 9;
      Specified by:
      getGenerationTime in interface TmPacketDataOrBuilder
      Returns:
      The generationTime.
    • setGenerationTime

      public TmPacketData.Builder setGenerationTime(com.google.protobuf.Timestamp value)
       When the packet was generated
       
      optional .google.protobuf.Timestamp generationTime = 9;
    • setGenerationTime

      public TmPacketData.Builder setGenerationTime(com.google.protobuf.Timestamp.Builder builderForValue)
       When the packet was generated
       
      optional .google.protobuf.Timestamp generationTime = 9;
    • mergeGenerationTime

      public TmPacketData.Builder mergeGenerationTime(com.google.protobuf.Timestamp value)
       When the packet was generated
       
      optional .google.protobuf.Timestamp generationTime = 9;
    • clearGenerationTime

      public TmPacketData.Builder clearGenerationTime()
       When the packet was generated
       
      optional .google.protobuf.Timestamp generationTime = 9;
    • getGenerationTimeBuilder

      public com.google.protobuf.Timestamp.Builder getGenerationTimeBuilder()
       When the packet was generated
       
      optional .google.protobuf.Timestamp generationTime = 9;
    • getGenerationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder()
       When the packet was generated
       
      optional .google.protobuf.Timestamp generationTime = 9;
      Specified by:
      getGenerationTimeOrBuilder in interface TmPacketDataOrBuilder
    • hasEarthReceptionTime

      public boolean hasEarthReceptionTime()
       When the signal has been received on ground
       
      optional .google.protobuf.Timestamp earthReceptionTime = 10;
      Specified by:
      hasEarthReceptionTime in interface TmPacketDataOrBuilder
      Returns:
      Whether the earthReceptionTime field is set.
    • getEarthReceptionTime

      public com.google.protobuf.Timestamp getEarthReceptionTime()
       When the signal has been received on ground
       
      optional .google.protobuf.Timestamp earthReceptionTime = 10;
      Specified by:
      getEarthReceptionTime in interface TmPacketDataOrBuilder
      Returns:
      The earthReceptionTime.
    • setEarthReceptionTime

      public TmPacketData.Builder setEarthReceptionTime(com.google.protobuf.Timestamp value)
       When the signal has been received on ground
       
      optional .google.protobuf.Timestamp earthReceptionTime = 10;
    • setEarthReceptionTime

      public TmPacketData.Builder setEarthReceptionTime(com.google.protobuf.Timestamp.Builder builderForValue)
       When the signal has been received on ground
       
      optional .google.protobuf.Timestamp earthReceptionTime = 10;
    • mergeEarthReceptionTime

      public TmPacketData.Builder mergeEarthReceptionTime(com.google.protobuf.Timestamp value)
       When the signal has been received on ground
       
      optional .google.protobuf.Timestamp earthReceptionTime = 10;
    • clearEarthReceptionTime

      public TmPacketData.Builder clearEarthReceptionTime()
       When the signal has been received on ground
       
      optional .google.protobuf.Timestamp earthReceptionTime = 10;
    • getEarthReceptionTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEarthReceptionTimeBuilder()
       When the signal has been received on ground
       
      optional .google.protobuf.Timestamp earthReceptionTime = 10;
    • getEarthReceptionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEarthReceptionTimeOrBuilder()
       When the signal has been received on ground
       
      optional .google.protobuf.Timestamp earthReceptionTime = 10;
      Specified by:
      getEarthReceptionTimeOrBuilder in interface TmPacketDataOrBuilder
    • hasReceptionTime

      public boolean hasReceptionTime()
       When the packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 8;
      Specified by:
      hasReceptionTime in interface TmPacketDataOrBuilder
      Returns:
      Whether the receptionTime field is set.
    • getReceptionTime

      public com.google.protobuf.Timestamp getReceptionTime()
       When the packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 8;
      Specified by:
      getReceptionTime in interface TmPacketDataOrBuilder
      Returns:
      The receptionTime.
    • setReceptionTime

      public TmPacketData.Builder setReceptionTime(com.google.protobuf.Timestamp value)
       When the packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 8;
    • setReceptionTime

      public TmPacketData.Builder setReceptionTime(com.google.protobuf.Timestamp.Builder builderForValue)
       When the packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 8;
    • mergeReceptionTime

      public TmPacketData.Builder mergeReceptionTime(com.google.protobuf.Timestamp value)
       When the packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 8;
    • clearReceptionTime

      public TmPacketData.Builder clearReceptionTime()
       When the packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 8;
    • getReceptionTimeBuilder

      public com.google.protobuf.Timestamp.Builder getReceptionTimeBuilder()
       When the packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 8;
    • getReceptionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getReceptionTimeOrBuilder()
       When the packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 8;
      Specified by:
      getReceptionTimeOrBuilder in interface TmPacketDataOrBuilder
    • hasLink

      public boolean hasLink()
       Name of the Yamcs link where this packet was received from
       
      optional string link = 11;
      Specified by:
      hasLink in interface TmPacketDataOrBuilder
      Returns:
      Whether the link field is set.
    • getLink

      public String getLink()
       Name of the Yamcs link where this packet was received from
       
      optional string link = 11;
      Specified by:
      getLink in interface TmPacketDataOrBuilder
      Returns:
      The link.
    • getLinkBytes

      public com.google.protobuf.ByteString getLinkBytes()
       Name of the Yamcs link where this packet was received from
       
      optional string link = 11;
      Specified by:
      getLinkBytes in interface TmPacketDataOrBuilder
      Returns:
      The bytes for link.
    • setLink

      public TmPacketData.Builder setLink(String value)
       Name of the Yamcs link where this packet was received from
       
      optional string link = 11;
      Parameters:
      value - The link to set.
      Returns:
      This builder for chaining.
    • clearLink

      public TmPacketData.Builder clearLink()
       Name of the Yamcs link where this packet was received from
       
      optional string link = 11;
      Returns:
      This builder for chaining.
    • setLinkBytes

      public TmPacketData.Builder setLinkBytes(com.google.protobuf.ByteString value)
       Name of the Yamcs link where this packet was received from
       
      optional string link = 11;
      Parameters:
      value - The bytes for link to set.
      Returns:
      This builder for chaining.
    • hasSize

      public boolean hasSize()
       Packet size in bytes
       
      optional int32 size = 12;
      Specified by:
      hasSize in interface TmPacketDataOrBuilder
      Returns:
      Whether the size field is set.
    • getSize

      public int getSize()
       Packet size in bytes
       
      optional int32 size = 12;
      Specified by:
      getSize in interface TmPacketDataOrBuilder
      Returns:
      The size.
    • setSize

      public TmPacketData.Builder setSize(int value)
       Packet size in bytes
       
      optional int32 size = 12;
      Parameters:
      value - The size to set.
      Returns:
      This builder for chaining.
    • clearSize

      public TmPacketData.Builder clearSize()
       Packet size in bytes
       
      optional int32 size = 12;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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