Class Movementsensor.GetAccuracyResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Movementsensor.GetAccuracyResponse,Movementsensor.GetAccuracyResponse.Builder>
com.viam.component.movementsensor.v1.Movementsensor.GetAccuracyResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Movementsensor.GetAccuracyResponseOrBuilder
,Cloneable
- Enclosing class:
- Movementsensor.GetAccuracyResponse
public static final class Movementsensor.GetAccuracyResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Movementsensor.GetAccuracyResponse,Movementsensor.GetAccuracyResponse.Builder>
implements Movementsensor.GetAccuracyResponseOrBuilder
Protobuf type
viam.component.movementsensor.v1.GetAccuracyResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionoptional float compass_degrees_error = 5 [json_name = "compassDegreesError"];
optional float position_hdop = 2 [json_name = "positionHdop"];
optional int32 position_nmea_gga_fix = 4 [json_name = "positionNmeaGgaFix"];
optional float position_vdop = 3 [json_name = "positionVdop"];
boolean
containsAccuracy
(String key) map<string, float> accuracy = 1 [json_name = "accuracy"];
Deprecated.int
map<string, float> accuracy = 1 [json_name = "accuracy"];
map<string, float> accuracy = 1 [json_name = "accuracy"];
float
getAccuracyOrDefault
(String key, float defaultValue) map<string, float> accuracy = 1 [json_name = "accuracy"];
float
getAccuracyOrThrow
(String key) map<string, float> accuracy = 1 [json_name = "accuracy"];
float
optional float compass_degrees_error = 5 [json_name = "compassDegreesError"];
float
optional float position_hdop = 2 [json_name = "positionHdop"];
int
optional int32 position_nmea_gga_fix = 4 [json_name = "positionNmeaGgaFix"];
float
optional float position_vdop = 3 [json_name = "positionVdop"];
boolean
optional float compass_degrees_error = 5 [json_name = "compassDegreesError"];
boolean
optional float position_hdop = 2 [json_name = "positionHdop"];
boolean
optional int32 position_nmea_gga_fix = 4 [json_name = "positionNmeaGgaFix"];
boolean
optional float position_vdop = 3 [json_name = "positionVdop"];
putAccuracy
(String key, float value) map<string, float> accuracy = 1 [json_name = "accuracy"];
putAllAccuracy
(Map<String, Float> values) map<string, float> accuracy = 1 [json_name = "accuracy"];
removeAccuracy
(String key) map<string, float> accuracy = 1 [json_name = "accuracy"];
setCompassDegreesError
(float value) optional float compass_degrees_error = 5 [json_name = "compassDegreesError"];
setPositionHdop
(float value) optional float position_hdop = 2 [json_name = "positionHdop"];
setPositionNmeaGgaFix
(int value) optional int32 position_nmea_gga_fix = 4 [json_name = "positionNmeaGgaFix"];
setPositionVdop
(float value) optional float position_vdop = 3 [json_name = "positionVdop"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getAccuracyCount
public int getAccuracyCount()Description copied from interface:Movementsensor.GetAccuracyResponseOrBuilder
map<string, float> accuracy = 1 [json_name = "accuracy"];
- Specified by:
getAccuracyCount
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
-
containsAccuracy
map<string, float> accuracy = 1 [json_name = "accuracy"];
- Specified by:
containsAccuracy
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
-
clearAccuracy
-
removeAccuracy
map<string, float> accuracy = 1 [json_name = "accuracy"];
-
getAccuracy
Deprecated.UsegetAccuracyMap()
instead.- Specified by:
getAccuracy
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
-
getAccuracyMap
map<string, float> accuracy = 1 [json_name = "accuracy"];
- Specified by:
getAccuracyMap
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
-
getAccuracyOrDefault
map<string, float> accuracy = 1 [json_name = "accuracy"];
- Specified by:
getAccuracyOrDefault
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
-
getAccuracyOrThrow
map<string, float> accuracy = 1 [json_name = "accuracy"];
- Specified by:
getAccuracyOrThrow
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
-
putAccuracy
map<string, float> accuracy = 1 [json_name = "accuracy"];
-
putAllAccuracy
map<string, float> accuracy = 1 [json_name = "accuracy"];
-
hasPositionHdop
public boolean hasPositionHdop()optional float position_hdop = 2 [json_name = "positionHdop"];
- Specified by:
hasPositionHdop
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
- Returns:
- Whether the positionHdop field is set.
-
getPositionHdop
public float getPositionHdop()optional float position_hdop = 2 [json_name = "positionHdop"];
- Specified by:
getPositionHdop
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
- Returns:
- The positionHdop.
-
setPositionHdop
optional float position_hdop = 2 [json_name = "positionHdop"];
- Parameters:
value
- The positionHdop to set.- Returns:
- This builder for chaining.
-
clearPositionHdop
optional float position_hdop = 2 [json_name = "positionHdop"];
- Returns:
- This builder for chaining.
-
hasPositionVdop
public boolean hasPositionVdop()optional float position_vdop = 3 [json_name = "positionVdop"];
- Specified by:
hasPositionVdop
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
- Returns:
- Whether the positionVdop field is set.
-
getPositionVdop
public float getPositionVdop()optional float position_vdop = 3 [json_name = "positionVdop"];
- Specified by:
getPositionVdop
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
- Returns:
- The positionVdop.
-
setPositionVdop
optional float position_vdop = 3 [json_name = "positionVdop"];
- Parameters:
value
- The positionVdop to set.- Returns:
- This builder for chaining.
-
clearPositionVdop
optional float position_vdop = 3 [json_name = "positionVdop"];
- Returns:
- This builder for chaining.
-
hasPositionNmeaGgaFix
public boolean hasPositionNmeaGgaFix()optional int32 position_nmea_gga_fix = 4 [json_name = "positionNmeaGgaFix"];
- Specified by:
hasPositionNmeaGgaFix
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
- Returns:
- Whether the positionNmeaGgaFix field is set.
-
getPositionNmeaGgaFix
public int getPositionNmeaGgaFix()optional int32 position_nmea_gga_fix = 4 [json_name = "positionNmeaGgaFix"];
- Specified by:
getPositionNmeaGgaFix
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
- Returns:
- The positionNmeaGgaFix.
-
setPositionNmeaGgaFix
optional int32 position_nmea_gga_fix = 4 [json_name = "positionNmeaGgaFix"];
- Parameters:
value
- The positionNmeaGgaFix to set.- Returns:
- This builder for chaining.
-
clearPositionNmeaGgaFix
optional int32 position_nmea_gga_fix = 4 [json_name = "positionNmeaGgaFix"];
- Returns:
- This builder for chaining.
-
hasCompassDegreesError
public boolean hasCompassDegreesError()optional float compass_degrees_error = 5 [json_name = "compassDegreesError"];
- Specified by:
hasCompassDegreesError
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
- Returns:
- Whether the compassDegreesError field is set.
-
getCompassDegreesError
public float getCompassDegreesError()optional float compass_degrees_error = 5 [json_name = "compassDegreesError"];
- Specified by:
getCompassDegreesError
in interfaceMovementsensor.GetAccuracyResponseOrBuilder
- Returns:
- The compassDegreesError.
-
setCompassDegreesError
optional float compass_degrees_error = 5 [json_name = "compassDegreesError"];
- Parameters:
value
- The compassDegreesError to set.- Returns:
- This builder for chaining.
-
clearCompassDegreesError
optional float compass_degrees_error = 5 [json_name = "compassDegreesError"];
- Returns:
- This builder for chaining.
-