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 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<ReceiverDProto.RangeChart.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<ReceiverDProto.RangeChart.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<ReceiverDProto.RangeChart.Builder>
    • getDefaultInstanceForType

      public ReceiverDProto.RangeChart getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ReceiverDProto.RangeChart build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ReceiverDProto.RangeChart 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<ReceiverDProto.RangeChart.Builder>
    • setField

      public ReceiverDProto.RangeChart.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<ReceiverDProto.RangeChart.Builder>
    • clearField

      public ReceiverDProto.RangeChart.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<ReceiverDProto.RangeChart.Builder>
    • clearOneof

      public ReceiverDProto.RangeChart.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<ReceiverDProto.RangeChart.Builder>
    • setRepeatedField

      public ReceiverDProto.RangeChart.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<ReceiverDProto.RangeChart.Builder>
    • addRepeatedField

      public ReceiverDProto.RangeChart.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<ReceiverDProto.RangeChart.Builder>
    • mergeFrom

      public ReceiverDProto.RangeChart.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<ReceiverDProto.RangeChart.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<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 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<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 interface ReceiverDProto.RangeChartOrBuilder
      Returns:
      Whether the center field is set.
    • getCenter

      public ReceiverDProto.Position2D 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 interface ReceiverDProto.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

      
       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

      public ReceiverDProto.RangeChart.Builder 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

      public ReceiverDProto.Position2D.Builder 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

      public ReceiverDProto.Position2DOrBuilder 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 interface ReceiverDProto.RangeChartOrBuilder
    • getRangesList

      public List<Float> getRangesList()
      
       Reception range [m] from the center for each degree.
       Exactly 360 items.
       
      repeated float ranges = 2;
      Specified by:
      getRangesList in interface ReceiverDProto.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 interface ReceiverDProto.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 interface ReceiverDProto.RangeChartOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The ranges at the given index.
    • setRanges

      public ReceiverDProto.RangeChart.Builder setRanges(int index, float value)
      
       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

      public ReceiverDProto.RangeChart.Builder addRanges(float value)
      
       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

      public ReceiverDProto.RangeChart.Builder addAllRanges(Iterable<? extends Float> values)
      
       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

      public ReceiverDProto.RangeChart.Builder 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.RangeChart.Builder>
    • mergeUnknownFields

      public final ReceiverDProto.RangeChart.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<ReceiverDProto.RangeChart.Builder>