Class ReceiverDProto.RangeChart.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.RangeChart.Builder>
de.serosystems.proto.v3.grx.receiverd.ReceiverDProto.RangeChart.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ReceiverDProto.RangeChartOrBuilder
,Cloneable
- Enclosing class:
- ReceiverDProto.RangeChart
public static final class ReceiverDProto.RangeChart.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.RangeChart.Builder>
implements ReceiverDProto.RangeChartOrBuilder
Range chart, computed by directly received (non-rebroadcasted) position messages.Protobuf type
serosystems.proto.v3.grx.receiverd.RangeChart
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRanges
(Iterable<? extends Float> values) Reception range [m] from the center for each degree.addRanges
(float value) Reception range [m] from the center for each degree.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Center of the chart, i.e.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Reception range [m] from the center for each degree.clone()
Center of the chart, i.e.Center of the chart, i.e.Center of the chart, i.e.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
float
getRanges
(int index) Reception range [m] from the center for each degree.int
Reception range [m] from the center for each degree.Reception range [m] from the center for each degree.boolean
Center of the chart, i.e.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
Center of the chart, i.e.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Center of the chart, i.e.setCenter
(ReceiverDProto.Position2D.Builder builderForValue) Center of the chart, i.e.setRanges
(int index, float value) Reception range [m] from the center for each degree.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<ReceiverDProto.RangeChart.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.RangeChart.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.RangeChart.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.RangeChart.Builder>
-
setField
public ReceiverDProto.RangeChart.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.RangeChart.Builder>
-
clearField
public ReceiverDProto.RangeChart.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.RangeChart.Builder>
-
clearOneof
public ReceiverDProto.RangeChart.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.RangeChart.Builder>
-
setRepeatedField
public ReceiverDProto.RangeChart.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.RangeChart.Builder>
-
addRepeatedField
public ReceiverDProto.RangeChart.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.RangeChart.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReceiverDProto.RangeChart.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.RangeChart.Builder>
-
mergeFrom
public ReceiverDProto.RangeChart.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.RangeChart.Builder>
- Throws:
IOException
-
hasCenter
public boolean hasCenter()Center of the chart, i.e. sensor position. Note: not included if position is not available.
.serosystems.proto.v3.grx.receiverd.Position2D center = 1;
- Specified by:
hasCenter
in interfaceReceiverDProto.RangeChartOrBuilder
- Returns:
- Whether the center field is set.
-
getCenter
Center of the chart, i.e. sensor position. Note: not included if position is not available.
.serosystems.proto.v3.grx.receiverd.Position2D center = 1;
- Specified by:
getCenter
in interfaceReceiverDProto.RangeChartOrBuilder
- Returns:
- The center.
-
setCenter
Center of the chart, i.e. sensor position. Note: not included if position is not available.
.serosystems.proto.v3.grx.receiverd.Position2D center = 1;
-
setCenter
public ReceiverDProto.RangeChart.Builder setCenter(ReceiverDProto.Position2D.Builder builderForValue) Center of the chart, i.e. sensor position. Note: not included if position is not available.
.serosystems.proto.v3.grx.receiverd.Position2D center = 1;
-
mergeCenter
Center of the chart, i.e. sensor position. Note: not included if position is not available.
.serosystems.proto.v3.grx.receiverd.Position2D center = 1;
-
clearCenter
Center of the chart, i.e. sensor position. Note: not included if position is not available.
.serosystems.proto.v3.grx.receiverd.Position2D center = 1;
-
getCenterBuilder
Center of the chart, i.e. sensor position. Note: not included if position is not available.
.serosystems.proto.v3.grx.receiverd.Position2D center = 1;
-
getCenterOrBuilder
Center of the chart, i.e. sensor position. Note: not included if position is not available.
.serosystems.proto.v3.grx.receiverd.Position2D center = 1;
- Specified by:
getCenterOrBuilder
in interfaceReceiverDProto.RangeChartOrBuilder
-
getRangesList
Reception range [m] from the center for each degree. Exactly 360 items.
repeated float ranges = 2;
- Specified by:
getRangesList
in interfaceReceiverDProto.RangeChartOrBuilder
- Returns:
- A list containing the ranges.
-
getRangesCount
public int getRangesCount()Reception range [m] from the center for each degree. Exactly 360 items.
repeated float ranges = 2;
- Specified by:
getRangesCount
in interfaceReceiverDProto.RangeChartOrBuilder
- Returns:
- The count of ranges.
-
getRanges
public float getRanges(int index) Reception range [m] from the center for each degree. Exactly 360 items.
repeated float ranges = 2;
- Specified by:
getRanges
in interfaceReceiverDProto.RangeChartOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The ranges at the given index.
-
setRanges
Reception range [m] from the center for each degree. Exactly 360 items.
repeated float ranges = 2;
- Parameters:
index
- The index to set the value at.value
- The ranges to set.- Returns:
- This builder for chaining.
-
addRanges
Reception range [m] from the center for each degree. Exactly 360 items.
repeated float ranges = 2;
- Parameters:
value
- The ranges to add.- Returns:
- This builder for chaining.
-
addAllRanges
Reception range [m] from the center for each degree. Exactly 360 items.
repeated float ranges = 2;
- Parameters:
values
- The ranges to add.- Returns:
- This builder for chaining.
-
clearRanges
Reception range [m] from the center for each degree. Exactly 360 items.
repeated float ranges = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReceiverDProto.RangeChart.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.RangeChart.Builder>
-
mergeUnknownFields
public final ReceiverDProto.RangeChart.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.RangeChart.Builder>
-