Class SpectrumDProto.GetWaterfallJPEGRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
de.serosystems.proto.v3.grx.spectrumd.SpectrumDProto.GetWaterfallJPEGRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,SpectrumDProto.GetWaterfallJPEGRequestOrBuilder
,Cloneable
- Enclosing class:
- SpectrumDProto.GetWaterfallJPEGRequest
public static final class SpectrumDProto.GetWaterfallJPEGRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
implements SpectrumDProto.GetWaterfallJPEGRequestOrBuilder
Request of GetWaterfallJPEG() and GetWaterfallJPEGStream() calls.Protobuf type
serosystems.proto.v3.grx.spectrumd.GetWaterfallJPEGRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Aggregation type for aggregated FFT blocks.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) JPEG quality [%].Upper limit of the color scale [dBm].Lower limit of the color scale [dBm].Number of lines of the rendered image, defining the JPEG height [px].clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
Aggregation type for aggregated FFT blocks.int
Aggregation type for aggregated FFT blocks.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
JPEG quality [%].float
Upper limit of the color scale [dBm].float
Lower limit of the color scale [dBm].int
Number of lines of the rendered image, defining the JPEG height [px].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) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Aggregation type for aggregated FFT blocks.setAggregationTypeValue
(int value) Aggregation type for aggregated FFT blocks.setJpegQuality
(int value) JPEG quality [%].setMaxLevel
(float value) Upper limit of the color scale [dBm].setMinLevel
(float value) Lower limit of the color scale [dBm].setNumLines
(int value) Number of lines of the rendered image, defining the JPEG height [px].setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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<SpectrumDProto.GetWaterfallJPEGRequest.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<SpectrumDProto.GetWaterfallJPEGRequest.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<SpectrumDProto.GetWaterfallJPEGRequest.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<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
-
setField
public SpectrumDProto.GetWaterfallJPEGRequest.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<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
-
clearField
public SpectrumDProto.GetWaterfallJPEGRequest.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<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
-
clearOneof
public SpectrumDProto.GetWaterfallJPEGRequest.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<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
-
setRepeatedField
public SpectrumDProto.GetWaterfallJPEGRequest.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<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
-
addRepeatedField
public SpectrumDProto.GetWaterfallJPEGRequest.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<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
-
mergeFrom
public SpectrumDProto.GetWaterfallJPEGRequest.Builder mergeFrom(SpectrumDProto.GetWaterfallJPEGRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
-
mergeFrom
public SpectrumDProto.GetWaterfallJPEGRequest.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<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
- Throws:
IOException
-
getNumLines
public int getNumLines()Number of lines of the rendered image, defining the JPEG height [px]. The service records num_lines aggregated FFT block messages and renders them as JPEG. Each line corresponds to one aggregated FFT block. The duration shown in the waterfall plot corresponds to (lines * aggregation_factor * fft_size / sample_rate) which is also the duration needed for the call to return.
uint32 num_lines = 1;
- Specified by:
getNumLines
in interfaceSpectrumDProto.GetWaterfallJPEGRequestOrBuilder
- Returns:
- The numLines.
-
setNumLines
Number of lines of the rendered image, defining the JPEG height [px]. The service records num_lines aggregated FFT block messages and renders them as JPEG. Each line corresponds to one aggregated FFT block. The duration shown in the waterfall plot corresponds to (lines * aggregation_factor * fft_size / sample_rate) which is also the duration needed for the call to return.
uint32 num_lines = 1;
- Parameters:
value
- The numLines to set.- Returns:
- This builder for chaining.
-
clearNumLines
Number of lines of the rendered image, defining the JPEG height [px]. The service records num_lines aggregated FFT block messages and renders them as JPEG. Each line corresponds to one aggregated FFT block. The duration shown in the waterfall plot corresponds to (lines * aggregation_factor * fft_size / sample_rate) which is also the duration needed for the call to return.
uint32 num_lines = 1;
- Returns:
- This builder for chaining.
-
getMinLevel
public float getMinLevel()Lower limit of the color scale [dBm].
float min_level = 2;
- Specified by:
getMinLevel
in interfaceSpectrumDProto.GetWaterfallJPEGRequestOrBuilder
- Returns:
- The minLevel.
-
setMinLevel
Lower limit of the color scale [dBm].
float min_level = 2;
- Parameters:
value
- The minLevel to set.- Returns:
- This builder for chaining.
-
clearMinLevel
Lower limit of the color scale [dBm].
float min_level = 2;
- Returns:
- This builder for chaining.
-
getMaxLevel
public float getMaxLevel()Upper limit of the color scale [dBm].
float max_level = 3;
- Specified by:
getMaxLevel
in interfaceSpectrumDProto.GetWaterfallJPEGRequestOrBuilder
- Returns:
- The maxLevel.
-
setMaxLevel
Upper limit of the color scale [dBm].
float max_level = 3;
- Parameters:
value
- The maxLevel to set.- Returns:
- This builder for chaining.
-
clearMaxLevel
Upper limit of the color scale [dBm].
float max_level = 3;
- Returns:
- This builder for chaining.
-
getJpegQuality
public int getJpegQuality()JPEG quality [%].
uint32 jpeg_quality = 4;
- Specified by:
getJpegQuality
in interfaceSpectrumDProto.GetWaterfallJPEGRequestOrBuilder
- Returns:
- The jpegQuality.
-
setJpegQuality
JPEG quality [%].
uint32 jpeg_quality = 4;
- Parameters:
value
- The jpegQuality to set.- Returns:
- This builder for chaining.
-
clearJpegQuality
JPEG quality [%].
uint32 jpeg_quality = 4;
- Returns:
- This builder for chaining.
-
getAggregationTypeValue
public int getAggregationTypeValue()Aggregation type for aggregated FFT blocks.
.serosystems.proto.v3.grx.spectrumd.GetWaterfallJPEGRequest.AggregationType aggregation_type = 5;
- Specified by:
getAggregationTypeValue
in interfaceSpectrumDProto.GetWaterfallJPEGRequestOrBuilder
- Returns:
- The enum numeric value on the wire for aggregationType.
-
setAggregationTypeValue
Aggregation type for aggregated FFT blocks.
.serosystems.proto.v3.grx.spectrumd.GetWaterfallJPEGRequest.AggregationType aggregation_type = 5;
- Parameters:
value
- The enum numeric value on the wire for aggregationType to set.- Returns:
- This builder for chaining.
-
getAggregationType
Aggregation type for aggregated FFT blocks.
.serosystems.proto.v3.grx.spectrumd.GetWaterfallJPEGRequest.AggregationType aggregation_type = 5;
- Specified by:
getAggregationType
in interfaceSpectrumDProto.GetWaterfallJPEGRequestOrBuilder
- Returns:
- The aggregationType.
-
setAggregationType
public SpectrumDProto.GetWaterfallJPEGRequest.Builder setAggregationType(SpectrumDProto.GetWaterfallJPEGRequest.AggregationType value) Aggregation type for aggregated FFT blocks.
.serosystems.proto.v3.grx.spectrumd.GetWaterfallJPEGRequest.AggregationType aggregation_type = 5;
- Parameters:
value
- The aggregationType to set.- Returns:
- This builder for chaining.
-
clearAggregationType
Aggregation type for aggregated FFT blocks.
.serosystems.proto.v3.grx.spectrumd.GetWaterfallJPEGRequest.AggregationType aggregation_type = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final SpectrumDProto.GetWaterfallJPEGRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
-
mergeUnknownFields
public final SpectrumDProto.GetWaterfallJPEGRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpectrumDProto.GetWaterfallJPEGRequest.Builder>
-