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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Error indicator of received carrier frequency offset computation.Offset of received carrier frequency from nominal carrier frequency [Hz].Whether received carrier frequency was computed.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Noise level of this frame [dBm].Signal level of this frame [dBm].Number of bits that have been corrected.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) 14 (or 7, in case of a short frame) bytes of payload.Raw samples of the signal (only set if explicitly enabled).Timestamp [ns] of the frame.Time base.Synchronization source.clone()
float
Error indicator of received carrier frequency offset computation.float
Offset of received carrier frequency from nominal carrier frequency [Hz].boolean
Whether received carrier frequency was computed.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
float
Noise level of this frame [dBm].float
Signal level of this frame [dBm].int
Number of bits that have been corrected.com.google.protobuf.ByteString
14 (or 7, in case of a short frame) bytes of payload.Raw samples of the signal (only set if explicitly enabled).Raw samples of the signal (only set if explicitly enabled).Raw samples of the signal (only set if explicitly enabled).long
Timestamp [ns] of the frame.Time base.int
Time base.Synchronization source.int
Synchronization source.boolean
Raw samples of the signal (only set if explicitly enabled).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) Raw samples of the signal (only set if explicitly enabled).mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCarrierFrequencyEstimationError
(float value) Error indicator of received carrier frequency offset computation.setCarrierFrequencyOffset
(float value) Offset of received carrier frequency from nominal carrier frequency [Hz].setCarrierFrequencyOffsetComputed
(boolean value) Whether received carrier frequency was computed.setLevelNoise
(float value) Noise level of this frame [dBm].setLevelSignal
(float value) Signal level of this frame [dBm].setNumberCorrectedBits
(int value) Number of bits that have been corrected.setPayload
(com.google.protobuf.ByteString value) 14 (or 7, in case of a short frame) bytes of payload.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Raw samples of the signal (only set if explicitly enabled).setSamples
(ReceiverDProto.SignalSamples.Builder builderForValue) Raw samples of the signal (only set if explicitly enabled).setTimestamp
(long value) Timestamp [ns] of the frame.Time base.setTimingBaseValue
(int value) Time base.Synchronization source.setTimingSyncSourceValue
(int value) Synchronization source.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.ModeSDownlinkFrame.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.ModeSDownlinkFrame.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.ModeSDownlinkFrame.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.ModeSDownlinkFrame.Builder>
-
clearField
public ReceiverDProto.ModeSDownlinkFrame.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.ModeSDownlinkFrame.Builder>
-
clearOneof
public ReceiverDProto.ModeSDownlinkFrame.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.ModeSDownlinkFrame.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReceiverDProto.ModeSDownlinkFrame.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- The timestamp.
-
setTimestamp
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 interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- The enum numeric value on the wire for timingBase.
-
setTimingBaseValue
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
Time base.
.serosystems.proto.v3.grx.receiverd.TimingBase timing_base = 2;
- Specified by:
getTimingBase
in interfaceReceiverDProto.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 interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- The enum numeric value on the wire for timingSyncSource.
-
setTimingSyncSourceValue
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
Synchronization source.
.serosystems.proto.v3.grx.receiverd.TimingSyncSource timing_sync_source = 3;
- Specified by:
getTimingSyncSource
in interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- The timingSyncSource.
-
setTimingSyncSource
public ReceiverDProto.ModeSDownlinkFrame.Builder setTimingSyncSource(ReceiverDProto.TimingSyncSource value) Synchronization source.
.serosystems.proto.v3.grx.receiverd.TimingSyncSource timing_sync_source = 3;
- Parameters:
value
- The timingSyncSource to set.- Returns:
- This builder for chaining.
-
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 interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- The numberCorrectedBits.
-
setNumberCorrectedBits
Number of bits that have been corrected.
uint32 number_corrected_bits = 4;
- Parameters:
value
- The numberCorrectedBits to set.- Returns:
- This builder for chaining.
-
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 interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- The levelNoise.
-
setLevelNoise
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 interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- The levelSignal.
-
setLevelSignal
Signal level of this frame [dBm].
float level_signal = 6;
- Parameters:
value
- The levelSignal to set.- Returns:
- This builder for chaining.
-
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 interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- The carrierFrequencyOffsetComputed.
-
setCarrierFrequencyOffsetComputed
Whether received carrier frequency was computed.
bool carrier_frequency_offset_computed = 7;
- Parameters:
value
- The carrierFrequencyOffsetComputed to set.- Returns:
- This builder for chaining.
-
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 interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- The carrierFrequencyOffset.
-
setCarrierFrequencyOffset
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
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 interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- The carrierFrequencyEstimationError.
-
setCarrierFrequencyEstimationError
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
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 interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- The payload.
-
setPayload
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 interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- Whether the samples field is set.
-
getSamples
Raw samples of the signal (only set if explicitly enabled).
.serosystems.proto.v3.grx.receiverd.SignalSamples samples = 11;
- Specified by:
getSamples
in interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
- Returns:
- The samples.
-
setSamples
Raw samples of the signal (only set if explicitly enabled).
.serosystems.proto.v3.grx.receiverd.SignalSamples samples = 11;
-
setSamples
public ReceiverDProto.ModeSDownlinkFrame.Builder setSamples(ReceiverDProto.SignalSamples.Builder builderForValue) 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
Raw samples of the signal (only set if explicitly enabled).
.serosystems.proto.v3.grx.receiverd.SignalSamples samples = 11;
-
getSamplesOrBuilder
Raw samples of the signal (only set if explicitly enabled).
.serosystems.proto.v3.grx.receiverd.SignalSamples samples = 11;
- Specified by:
getSamplesOrBuilder
in interfaceReceiverDProto.ModeSDownlinkFrameOrBuilder
-
setUnknownFields
public final ReceiverDProto.ModeSDownlinkFrame.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.ModeSDownlinkFrame.Builder>
-
mergeUnknownFields
public final ReceiverDProto.ModeSDownlinkFrame.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.ModeSDownlinkFrame.Builder>
-