Class SpectrumDProto.AggregatedFFTProperties.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SpectrumDProto.AggregatedFFTProperties.Builder>
de.serosystems.proto.v3.grx.spectrumd.SpectrumDProto.AggregatedFFTProperties.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SpectrumDProto.AggregatedFFTPropertiesOrBuilder, Cloneable
Enclosing class:
SpectrumDProto.AggregatedFFTProperties

public static final class SpectrumDProto.AggregatedFFTProperties.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SpectrumDProto.AggregatedFFTProperties.Builder> implements SpectrumDProto.AggregatedFFTPropertiesOrBuilder

 Aggregated FFT properties.
 Response of GetAggregatedFFTProperties() call.
 
Protobuf type serosystems.proto.v3.grx.spectrumd.AggregatedFFTProperties
  • 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<SpectrumDProto.AggregatedFFTProperties.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<SpectrumDProto.AggregatedFFTProperties.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<SpectrumDProto.AggregatedFFTProperties.Builder>
    • getDefaultInstanceForType

      public SpectrumDProto.AggregatedFFTProperties 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

      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<SpectrumDProto.AggregatedFFTProperties.Builder>
    • setField

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

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

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

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

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

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

      public SpectrumDProto.AggregatedFFTProperties.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<SpectrumDProto.AggregatedFFTProperties.Builder>
      Throws:
      IOException
    • getCenterFrequency

      public int getCenterFrequency()
       Center Frequency [Hz]. 
       
      uint32 center_frequency = 1;
      Specified by:
      getCenterFrequency in interface SpectrumDProto.AggregatedFFTPropertiesOrBuilder
      Returns:
      The centerFrequency.
    • setCenterFrequency

      public SpectrumDProto.AggregatedFFTProperties.Builder setCenterFrequency(int value)
       Center Frequency [Hz]. 
       
      uint32 center_frequency = 1;
      Parameters:
      value - The centerFrequency to set.
      Returns:
      This builder for chaining.
    • clearCenterFrequency

      public SpectrumDProto.AggregatedFFTProperties.Builder clearCenterFrequency()
       Center Frequency [Hz]. 
       
      uint32 center_frequency = 1;
      Returns:
      This builder for chaining.
    • getSampleRate

      public int getSampleRate()
      
       Sample rate [Hz].
       Observed band is [-sample_rate/2,+sample_rate/2),
        centered at (center_frequency).
       
      uint32 sample_rate = 2;
      Specified by:
      getSampleRate in interface SpectrumDProto.AggregatedFFTPropertiesOrBuilder
      Returns:
      The sampleRate.
    • setSampleRate

      public SpectrumDProto.AggregatedFFTProperties.Builder setSampleRate(int value)
      
       Sample rate [Hz].
       Observed band is [-sample_rate/2,+sample_rate/2),
        centered at (center_frequency).
       
      uint32 sample_rate = 2;
      Parameters:
      value - The sampleRate to set.
      Returns:
      This builder for chaining.
    • clearSampleRate

      
       Sample rate [Hz].
       Observed band is [-sample_rate/2,+sample_rate/2),
        centered at (center_frequency).
       
      uint32 sample_rate = 2;
      Returns:
      This builder for chaining.
    • getFftSize

      public int getFftSize()
      
       FFT size, i.e. number of samples used in a single FFT block.
       This translates directly into the number of frequency bins of the FFT
        result. Each bin has bandwidth (sample_rate / fft_size).
       Thinking of a waterfall plot, this is the number of steps of the x axis
        (frequency).
       
      uint32 fft_size = 3;
      Specified by:
      getFftSize in interface SpectrumDProto.AggregatedFFTPropertiesOrBuilder
      Returns:
      The fftSize.
    • setFftSize

      public SpectrumDProto.AggregatedFFTProperties.Builder setFftSize(int value)
      
       FFT size, i.e. number of samples used in a single FFT block.
       This translates directly into the number of frequency bins of the FFT
        result. Each bin has bandwidth (sample_rate / fft_size).
       Thinking of a waterfall plot, this is the number of steps of the x axis
        (frequency).
       
      uint32 fft_size = 3;
      Parameters:
      value - The fftSize to set.
      Returns:
      This builder for chaining.
    • clearFftSize

      
       FFT size, i.e. number of samples used in a single FFT block.
       This translates directly into the number of frequency bins of the FFT
        result. Each bin has bandwidth (sample_rate / fft_size).
       Thinking of a waterfall plot, this is the number of steps of the x axis
        (frequency).
       
      uint32 fft_size = 3;
      Returns:
      This builder for chaining.
    • getAggregationFactor

      public int getAggregationFactor()
      
       Number of FFT blocks aggregated into an aggregated FFT block.
       The duration observed for a single FFT block is
        (fft_size / sample_rate). Accordingly, the duration observed for an
        aggregated FFT block is (aggregation_factor * fft_size / sample_rate).
       
      uint32 aggregation_factor = 4;
      Specified by:
      getAggregationFactor in interface SpectrumDProto.AggregatedFFTPropertiesOrBuilder
      Returns:
      The aggregationFactor.
    • setAggregationFactor

      public SpectrumDProto.AggregatedFFTProperties.Builder setAggregationFactor(int value)
      
       Number of FFT blocks aggregated into an aggregated FFT block.
       The duration observed for a single FFT block is
        (fft_size / sample_rate). Accordingly, the duration observed for an
        aggregated FFT block is (aggregation_factor * fft_size / sample_rate).
       
      uint32 aggregation_factor = 4;
      Parameters:
      value - The aggregationFactor to set.
      Returns:
      This builder for chaining.
    • clearAggregationFactor

      public SpectrumDProto.AggregatedFFTProperties.Builder clearAggregationFactor()
      
       Number of FFT blocks aggregated into an aggregated FFT block.
       The duration observed for a single FFT block is
        (fft_size / sample_rate). Accordingly, the duration observed for an
        aggregated FFT block is (aggregation_factor * fft_size / sample_rate).
       
      uint32 aggregation_factor = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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