Class MonitorDProto.GNSSInformation.Position.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.GNSSInformation.Position.Builder>
de.serosystems.proto.v3.grx.monitord.MonitorDProto.GNSSInformation.Position.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,MonitorDProto.GNSSInformation.PositionOrBuilder
,Cloneable
- Enclosing class:
- MonitorDProto.GNSSInformation.Position
public static final class MonitorDProto.GNSSInformation.Position.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.GNSSInformation.Position.Builder>
implements MonitorDProto.GNSSInformation.PositionOrBuilder
Position information.Protobuf type
serosystems.proto.v3.grx.monitord.GNSSInformation.Position
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Type of fix.Height above WGS-84 ellipsoid [m].Estimated horizontal accuracy [m].Latitude [degrees].Longitude [degrees].clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Number of satellites used in the solution.Estimated vertical accuracy [m].clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Type of fix.int
Type of fix.double
Height above WGS-84 ellipsoid [m].double
Estimated horizontal accuracy [m].double
Latitude [degrees].double
Longitude [degrees].int
Number of satellites used in the solution.double
Estimated vertical accuracy [m].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) Type of fix.setFixTypeValue
(int value) Type of fix.setHeight
(double value) Height above WGS-84 ellipsoid [m].setHorizontalAccuracy
(double value) Estimated horizontal accuracy [m].setLatitude
(double value) Latitude [degrees].setLongitude
(double value) Longitude [degrees].setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSatsUsed
(int value) Number of satellites used in the solution.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVerticalAccuracy
(double value) Estimated vertical accuracy [m].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<MonitorDProto.GNSSInformation.Position.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<MonitorDProto.GNSSInformation.Position.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<MonitorDProto.GNSSInformation.Position.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<MonitorDProto.GNSSInformation.Position.Builder>
-
setField
public MonitorDProto.GNSSInformation.Position.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<MonitorDProto.GNSSInformation.Position.Builder>
-
clearField
public MonitorDProto.GNSSInformation.Position.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<MonitorDProto.GNSSInformation.Position.Builder>
-
clearOneof
public MonitorDProto.GNSSInformation.Position.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<MonitorDProto.GNSSInformation.Position.Builder>
-
setRepeatedField
public MonitorDProto.GNSSInformation.Position.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<MonitorDProto.GNSSInformation.Position.Builder>
-
addRepeatedField
public MonitorDProto.GNSSInformation.Position.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<MonitorDProto.GNSSInformation.Position.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MonitorDProto.GNSSInformation.Position.Builder>
-
mergeFrom
public MonitorDProto.GNSSInformation.Position.Builder mergeFrom(MonitorDProto.GNSSInformation.Position other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.GNSSInformation.Position.Builder>
-
mergeFrom
public MonitorDProto.GNSSInformation.Position.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<MonitorDProto.GNSSInformation.Position.Builder>
- Throws:
IOException
-
getFixTypeValue
public int getFixTypeValue()Type of fix.
.serosystems.proto.v3.grx.monitord.GNSSInformation.Position.FixType fix_type = 1;
- Specified by:
getFixTypeValue
in interfaceMonitorDProto.GNSSInformation.PositionOrBuilder
- Returns:
- The enum numeric value on the wire for fixType.
-
setFixTypeValue
Type of fix.
.serosystems.proto.v3.grx.monitord.GNSSInformation.Position.FixType fix_type = 1;
- Parameters:
value
- The enum numeric value on the wire for fixType to set.- Returns:
- This builder for chaining.
-
getFixType
Type of fix.
.serosystems.proto.v3.grx.monitord.GNSSInformation.Position.FixType fix_type = 1;
- Specified by:
getFixType
in interfaceMonitorDProto.GNSSInformation.PositionOrBuilder
- Returns:
- The fixType.
-
setFixType
public MonitorDProto.GNSSInformation.Position.Builder setFixType(MonitorDProto.GNSSInformation.Position.FixType value) Type of fix.
.serosystems.proto.v3.grx.monitord.GNSSInformation.Position.FixType fix_type = 1;
- Parameters:
value
- The fixType to set.- Returns:
- This builder for chaining.
-
clearFixType
Type of fix.
.serosystems.proto.v3.grx.monitord.GNSSInformation.Position.FixType fix_type = 1;
- Returns:
- This builder for chaining.
-
getSatsUsed
public int getSatsUsed()Number of satellites used in the solution. Actually uint8.
uint32 sats_used = 2;
- Specified by:
getSatsUsed
in interfaceMonitorDProto.GNSSInformation.PositionOrBuilder
- Returns:
- The satsUsed.
-
setSatsUsed
Number of satellites used in the solution. Actually uint8.
uint32 sats_used = 2;
- Parameters:
value
- The satsUsed to set.- Returns:
- This builder for chaining.
-
clearSatsUsed
Number of satellites used in the solution. Actually uint8.
uint32 sats_used = 2;
- Returns:
- This builder for chaining.
-
getLatitude
public double getLatitude()Latitude [degrees].
double latitude = 3;
- Specified by:
getLatitude
in interfaceMonitorDProto.GNSSInformation.PositionOrBuilder
- Returns:
- The latitude.
-
setLatitude
Latitude [degrees].
double latitude = 3;
- Parameters:
value
- The latitude to set.- Returns:
- This builder for chaining.
-
clearLatitude
Latitude [degrees].
double latitude = 3;
- Returns:
- This builder for chaining.
-
getLongitude
public double getLongitude()Longitude [degrees].
double longitude = 4;
- Specified by:
getLongitude
in interfaceMonitorDProto.GNSSInformation.PositionOrBuilder
- Returns:
- The longitude.
-
setLongitude
Longitude [degrees].
double longitude = 4;
- Parameters:
value
- The longitude to set.- Returns:
- This builder for chaining.
-
clearLongitude
Longitude [degrees].
double longitude = 4;
- Returns:
- This builder for chaining.
-
getHeight
public double getHeight()Height above WGS-84 ellipsoid [m].
double height = 5;
- Specified by:
getHeight
in interfaceMonitorDProto.GNSSInformation.PositionOrBuilder
- Returns:
- The height.
-
setHeight
Height above WGS-84 ellipsoid [m].
double height = 5;
- Parameters:
value
- The height to set.- Returns:
- This builder for chaining.
-
clearHeight
Height above WGS-84 ellipsoid [m].
double height = 5;
- Returns:
- This builder for chaining.
-
getHorizontalAccuracy
public double getHorizontalAccuracy()Estimated horizontal accuracy [m].
double horizontal_accuracy = 6;
- Specified by:
getHorizontalAccuracy
in interfaceMonitorDProto.GNSSInformation.PositionOrBuilder
- Returns:
- The horizontalAccuracy.
-
setHorizontalAccuracy
Estimated horizontal accuracy [m].
double horizontal_accuracy = 6;
- Parameters:
value
- The horizontalAccuracy to set.- Returns:
- This builder for chaining.
-
clearHorizontalAccuracy
Estimated horizontal accuracy [m].
double horizontal_accuracy = 6;
- Returns:
- This builder for chaining.
-
getVerticalAccuracy
public double getVerticalAccuracy()Estimated vertical accuracy [m].
double vertical_accuracy = 7;
- Specified by:
getVerticalAccuracy
in interfaceMonitorDProto.GNSSInformation.PositionOrBuilder
- Returns:
- The verticalAccuracy.
-
setVerticalAccuracy
Estimated vertical accuracy [m].
double vertical_accuracy = 7;
- Parameters:
value
- The verticalAccuracy to set.- Returns:
- This builder for chaining.
-
clearVerticalAccuracy
Estimated vertical accuracy [m].
double vertical_accuracy = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final MonitorDProto.GNSSInformation.Position.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.GNSSInformation.Position.Builder>
-
mergeUnknownFields
public final MonitorDProto.GNSSInformation.Position.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.GNSSInformation.Position.Builder>
-