Class SpectrumDProto.ChannelPowerRequest.Builder

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

public static final class SpectrumDProto.ChannelPowerRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SpectrumDProto.ChannelPowerRequest.Builder> implements SpectrumDProto.ChannelPowerRequestOrBuilder
 Request of GetChannelPowerStream() call. 
 
Protobuf type serosystems.proto.v3.grx.spectrumd.ChannelPowerRequest
  • 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.ChannelPowerRequest.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.ChannelPowerRequest.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.ChannelPowerRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

      public int getChannelAggregationFactor()
      
       Additional aggregation factor for channel power measurements.
       The total aggregation factor will be this factor multiplied by
        (aggregation_factor).
       The response is measured over a period of
        (channel_aggregation_factor * aggregation_factor * fft_size
         / sample_rate). This is also the time needed for the call to return.
       
      uint32 channel_aggregation_factor = 1;
      Specified by:
      getChannelAggregationFactor in interface SpectrumDProto.ChannelPowerRequestOrBuilder
      Returns:
      The channelAggregationFactor.
    • setChannelAggregationFactor

      public SpectrumDProto.ChannelPowerRequest.Builder setChannelAggregationFactor(int value)
      
       Additional aggregation factor for channel power measurements.
       The total aggregation factor will be this factor multiplied by
        (aggregation_factor).
       The response is measured over a period of
        (channel_aggregation_factor * aggregation_factor * fft_size
         / sample_rate). This is also the time needed for the call to return.
       
      uint32 channel_aggregation_factor = 1;
      Parameters:
      value - The channelAggregationFactor to set.
      Returns:
      This builder for chaining.
    • clearChannelAggregationFactor

      public SpectrumDProto.ChannelPowerRequest.Builder clearChannelAggregationFactor()
      
       Additional aggregation factor for channel power measurements.
       The total aggregation factor will be this factor multiplied by
        (aggregation_factor).
       The response is measured over a period of
        (channel_aggregation_factor * aggregation_factor * fft_size
         / sample_rate). This is also the time needed for the call to return.
       
      uint32 channel_aggregation_factor = 1;
      Returns:
      This builder for chaining.
    • getLowerBin

      public int getLowerBin()
      
       Lower bin index of the FFT to be included in the result.
       See also documentation of AggregatedFFTBlock.bins_avg.
       
      uint32 lower_bin = 2;
      Specified by:
      getLowerBin in interface SpectrumDProto.ChannelPowerRequestOrBuilder
      Returns:
      The lowerBin.
    • setLowerBin

      public SpectrumDProto.ChannelPowerRequest.Builder setLowerBin(int value)
      
       Lower bin index of the FFT to be included in the result.
       See also documentation of AggregatedFFTBlock.bins_avg.
       
      uint32 lower_bin = 2;
      Parameters:
      value - The lowerBin to set.
      Returns:
      This builder for chaining.
    • clearLowerBin

      
       Lower bin index of the FFT to be included in the result.
       See also documentation of AggregatedFFTBlock.bins_avg.
       
      uint32 lower_bin = 2;
      Returns:
      This builder for chaining.
    • getUpperBin

      public int getUpperBin()
      
       Upper bin index of the FFT to be included in the result.
       See also documentation of AggregatedFFTBlock.bins_avg.
       
      uint32 upper_bin = 3;
      Specified by:
      getUpperBin in interface SpectrumDProto.ChannelPowerRequestOrBuilder
      Returns:
      The upperBin.
    • setUpperBin

      public SpectrumDProto.ChannelPowerRequest.Builder setUpperBin(int value)
      
       Upper bin index of the FFT to be included in the result.
       See also documentation of AggregatedFFTBlock.bins_avg.
       
      uint32 upper_bin = 3;
      Parameters:
      value - The upperBin to set.
      Returns:
      This builder for chaining.
    • clearUpperBin

      
       Upper bin index of the FFT to be included in the result.
       See also documentation of AggregatedFFTBlock.bins_avg.
       
      uint32 upper_bin = 3;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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