Class ReceiverDProto.ModeSDownlinkFrame.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.ModeSDownlinkFrame.Builder>
de.serosystems.proto.v3.grx.receiverd.ReceiverDProto.ModeSDownlinkFrame.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ReceiverDProto.ModeSDownlinkFrameOrBuilder, Cloneable
Enclosing class:
ReceiverDProto.ModeSDownlinkFrame

public static final class ReceiverDProto.ModeSDownlinkFrame.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.ModeSDownlinkFrame.Builder> implements ReceiverDProto.ModeSDownlinkFrameOrBuilder
 Mode S Downlink Frame. 
 
Protobuf type serosystems.proto.v3.grx.receiverd.ModeSDownlinkFrame
  • 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<ReceiverDProto.ModeSDownlinkFrame.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<ReceiverDProto.ModeSDownlinkFrame.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<ReceiverDProto.ModeSDownlinkFrame.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

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

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

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

      public ReceiverDProto.ModeSDownlinkFrame.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<ReceiverDProto.ModeSDownlinkFrame.Builder>
      Throws:
      IOException
    • getTimestamp

      public long getTimestamp()
      
       Timestamp [ns] of the frame.
       Also look at timing_base and timing_sync_source to know how to interpret
        the timestamp.
       
      fixed64 timestamp = 1;
      Specified by:
      getTimestamp in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public ReceiverDProto.ModeSDownlinkFrame.Builder setTimestamp(long value)
      
       Timestamp [ns] of the frame.
       Also look at timing_base and timing_sync_source to know how to interpret
        the timestamp.
       
      fixed64 timestamp = 1;
      Parameters:
      value - The timestamp to set.
      Returns:
      This builder for chaining.
    • clearTimestamp

      
       Timestamp [ns] of the frame.
       Also look at timing_base and timing_sync_source to know how to interpret
        the timestamp.
       
      fixed64 timestamp = 1;
      Returns:
      This builder for chaining.
    • getTimingBaseValue

      public int getTimingBaseValue()
       Time base. 
       
      .serosystems.proto.v3.grx.receiverd.TimingBase timing_base = 2;
      Specified by:
      getTimingBaseValue in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The enum numeric value on the wire for timingBase.
    • setTimingBaseValue

      public ReceiverDProto.ModeSDownlinkFrame.Builder setTimingBaseValue(int value)
       Time base. 
       
      .serosystems.proto.v3.grx.receiverd.TimingBase timing_base = 2;
      Parameters:
      value - The enum numeric value on the wire for timingBase to set.
      Returns:
      This builder for chaining.
    • getTimingBase

      public ReceiverDProto.TimingBase getTimingBase()
       Time base. 
       
      .serosystems.proto.v3.grx.receiverd.TimingBase timing_base = 2;
      Specified by:
      getTimingBase in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The timingBase.
    • setTimingBase

       Time base. 
       
      .serosystems.proto.v3.grx.receiverd.TimingBase timing_base = 2;
      Parameters:
      value - The timingBase to set.
      Returns:
      This builder for chaining.
    • clearTimingBase

       Time base. 
       
      .serosystems.proto.v3.grx.receiverd.TimingBase timing_base = 2;
      Returns:
      This builder for chaining.
    • getTimingSyncSourceValue

      public int getTimingSyncSourceValue()
       Synchronization source. 
       
      .serosystems.proto.v3.grx.receiverd.TimingSyncSource timing_sync_source = 3;
      Specified by:
      getTimingSyncSourceValue in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The enum numeric value on the wire for timingSyncSource.
    • setTimingSyncSourceValue

      public ReceiverDProto.ModeSDownlinkFrame.Builder setTimingSyncSourceValue(int value)
       Synchronization source. 
       
      .serosystems.proto.v3.grx.receiverd.TimingSyncSource timing_sync_source = 3;
      Parameters:
      value - The enum numeric value on the wire for timingSyncSource to set.
      Returns:
      This builder for chaining.
    • getTimingSyncSource

      public ReceiverDProto.TimingSyncSource getTimingSyncSource()
       Synchronization source. 
       
      .serosystems.proto.v3.grx.receiverd.TimingSyncSource timing_sync_source = 3;
      Specified by:
      getTimingSyncSource in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The timingSyncSource.
    • setTimingSyncSource

       Synchronization source. 
       
      .serosystems.proto.v3.grx.receiverd.TimingSyncSource timing_sync_source = 3;
      Parameters:
      value - The timingSyncSource to set.
      Returns:
      This builder for chaining.
    • clearTimingSyncSource

      public ReceiverDProto.ModeSDownlinkFrame.Builder clearTimingSyncSource()
       Synchronization source. 
       
      .serosystems.proto.v3.grx.receiverd.TimingSyncSource timing_sync_source = 3;
      Returns:
      This builder for chaining.
    • getNumberCorrectedBits

      public int getNumberCorrectedBits()
       Number of bits that have been corrected. 
       
      uint32 number_corrected_bits = 4;
      Specified by:
      getNumberCorrectedBits in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The numberCorrectedBits.
    • setNumberCorrectedBits

      public ReceiverDProto.ModeSDownlinkFrame.Builder setNumberCorrectedBits(int value)
       Number of bits that have been corrected. 
       
      uint32 number_corrected_bits = 4;
      Parameters:
      value - The numberCorrectedBits to set.
      Returns:
      This builder for chaining.
    • clearNumberCorrectedBits

      public ReceiverDProto.ModeSDownlinkFrame.Builder clearNumberCorrectedBits()
       Number of bits that have been corrected. 
       
      uint32 number_corrected_bits = 4;
      Returns:
      This builder for chaining.
    • getLevelNoise

      public float getLevelNoise()
       Noise level of this frame [dBm]. 
       
      float level_noise = 5;
      Specified by:
      getLevelNoise in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The levelNoise.
    • setLevelNoise

      public ReceiverDProto.ModeSDownlinkFrame.Builder setLevelNoise(float value)
       Noise level of this frame [dBm]. 
       
      float level_noise = 5;
      Parameters:
      value - The levelNoise to set.
      Returns:
      This builder for chaining.
    • clearLevelNoise

       Noise level of this frame [dBm]. 
       
      float level_noise = 5;
      Returns:
      This builder for chaining.
    • getLevelSignal

      public float getLevelSignal()
       Signal level of this frame [dBm]. 
       
      float level_signal = 6;
      Specified by:
      getLevelSignal in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The levelSignal.
    • setLevelSignal

      public ReceiverDProto.ModeSDownlinkFrame.Builder setLevelSignal(float value)
       Signal level of this frame [dBm]. 
       
      float level_signal = 6;
      Parameters:
      value - The levelSignal to set.
      Returns:
      This builder for chaining.
    • clearLevelSignal

      public ReceiverDProto.ModeSDownlinkFrame.Builder clearLevelSignal()
       Signal level of this frame [dBm]. 
       
      float level_signal = 6;
      Returns:
      This builder for chaining.
    • getCarrierFrequencyOffsetComputed

      public boolean getCarrierFrequencyOffsetComputed()
       Whether received carrier frequency was computed. 
       
      bool carrier_frequency_offset_computed = 7;
      Specified by:
      getCarrierFrequencyOffsetComputed in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The carrierFrequencyOffsetComputed.
    • setCarrierFrequencyOffsetComputed

      public ReceiverDProto.ModeSDownlinkFrame.Builder setCarrierFrequencyOffsetComputed(boolean value)
       Whether received carrier frequency was computed. 
       
      bool carrier_frequency_offset_computed = 7;
      Parameters:
      value - The carrierFrequencyOffsetComputed to set.
      Returns:
      This builder for chaining.
    • clearCarrierFrequencyOffsetComputed

      public ReceiverDProto.ModeSDownlinkFrame.Builder clearCarrierFrequencyOffsetComputed()
       Whether received carrier frequency was computed. 
       
      bool carrier_frequency_offset_computed = 7;
      Returns:
      This builder for chaining.
    • getCarrierFrequencyOffset

      public float getCarrierFrequencyOffset()
      
       Offset of received carrier frequency from nominal carrier frequency [Hz].
       Only valid if carrier_frequency_offset_computed is true.
       
      float carrier_frequency_offset = 8;
      Specified by:
      getCarrierFrequencyOffset in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The carrierFrequencyOffset.
    • setCarrierFrequencyOffset

      public ReceiverDProto.ModeSDownlinkFrame.Builder setCarrierFrequencyOffset(float value)
      
       Offset of received carrier frequency from nominal carrier frequency [Hz].
       Only valid if carrier_frequency_offset_computed is true.
       
      float carrier_frequency_offset = 8;
      Parameters:
      value - The carrierFrequencyOffset to set.
      Returns:
      This builder for chaining.
    • clearCarrierFrequencyOffset

      public ReceiverDProto.ModeSDownlinkFrame.Builder clearCarrierFrequencyOffset()
      
       Offset of received carrier frequency from nominal carrier frequency [Hz].
       Only valid if carrier_frequency_offset_computed is true.
       
      float carrier_frequency_offset = 8;
      Returns:
      This builder for chaining.
    • getCarrierFrequencyEstimationError

      public float getCarrierFrequencyEstimationError()
      
       Error indicator of received carrier frequency offset computation.
       Only valid if carrier_frequency_offset_computed is true.
       Smaller values signify a better estimation of the offset.
       Should be a sufficiently small value (<= 0.16) to assert a meaningful
        estimation.
       
      float carrier_frequency_estimation_error = 9;
      Specified by:
      getCarrierFrequencyEstimationError in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The carrierFrequencyEstimationError.
    • setCarrierFrequencyEstimationError

      public ReceiverDProto.ModeSDownlinkFrame.Builder setCarrierFrequencyEstimationError(float value)
      
       Error indicator of received carrier frequency offset computation.
       Only valid if carrier_frequency_offset_computed is true.
       Smaller values signify a better estimation of the offset.
       Should be a sufficiently small value (<= 0.16) to assert a meaningful
        estimation.
       
      float carrier_frequency_estimation_error = 9;
      Parameters:
      value - The carrierFrequencyEstimationError to set.
      Returns:
      This builder for chaining.
    • clearCarrierFrequencyEstimationError

      public ReceiverDProto.ModeSDownlinkFrame.Builder clearCarrierFrequencyEstimationError()
      
       Error indicator of received carrier frequency offset computation.
       Only valid if carrier_frequency_offset_computed is true.
       Smaller values signify a better estimation of the offset.
       Should be a sufficiently small value (<= 0.16) to assert a meaningful
        estimation.
       
      float carrier_frequency_estimation_error = 9;
      Returns:
      This builder for chaining.
    • getPayload

      public com.google.protobuf.ByteString getPayload()
       14 (or 7, in case of a short frame) bytes of payload. 
       
      bytes payload = 10;
      Specified by:
      getPayload in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The payload.
    • setPayload

      public ReceiverDProto.ModeSDownlinkFrame.Builder setPayload(com.google.protobuf.ByteString value)
       14 (or 7, in case of a short frame) bytes of payload. 
       
      bytes payload = 10;
      Parameters:
      value - The payload to set.
      Returns:
      This builder for chaining.
    • clearPayload

       14 (or 7, in case of a short frame) bytes of payload. 
       
      bytes payload = 10;
      Returns:
      This builder for chaining.
    • hasSamples

      public boolean hasSamples()
       Raw samples of the signal (only set if explicitly enabled). 
       
      .serosystems.proto.v3.grx.receiverd.SignalSamples samples = 11;
      Specified by:
      hasSamples in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      Whether the samples field is set.
    • getSamples

      public ReceiverDProto.SignalSamples getSamples()
       Raw samples of the signal (only set if explicitly enabled). 
       
      .serosystems.proto.v3.grx.receiverd.SignalSamples samples = 11;
      Specified by:
      getSamples in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
      Returns:
      The samples.
    • setSamples

       Raw samples of the signal (only set if explicitly enabled). 
       
      .serosystems.proto.v3.grx.receiverd.SignalSamples samples = 11;
    • setSamples

       Raw samples of the signal (only set if explicitly enabled). 
       
      .serosystems.proto.v3.grx.receiverd.SignalSamples samples = 11;
    • mergeSamples

       Raw samples of the signal (only set if explicitly enabled). 
       
      .serosystems.proto.v3.grx.receiverd.SignalSamples samples = 11;
    • clearSamples

       Raw samples of the signal (only set if explicitly enabled). 
       
      .serosystems.proto.v3.grx.receiverd.SignalSamples samples = 11;
    • getSamplesBuilder

      public ReceiverDProto.SignalSamples.Builder getSamplesBuilder()
       Raw samples of the signal (only set if explicitly enabled). 
       
      .serosystems.proto.v3.grx.receiverd.SignalSamples samples = 11;
    • getSamplesOrBuilder

      public ReceiverDProto.SignalSamplesOrBuilder getSamplesOrBuilder()
       Raw samples of the signal (only set if explicitly enabled). 
       
      .serosystems.proto.v3.grx.receiverd.SignalSamples samples = 11;
      Specified by:
      getSamplesOrBuilder in interface ReceiverDProto.ModeSDownlinkFrameOrBuilder
    • setUnknownFields

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

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