Class Movementsensor.GetPositionResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Movementsensor.GetPositionResponse,Movementsensor.GetPositionResponse.Builder>
com.viam.component.movementsensor.v1.Movementsensor.GetPositionResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Movementsensor.GetPositionResponseOrBuilder
,Cloneable
- Enclosing class:
- Movementsensor.GetPositionResponse
public static final class Movementsensor.GetPositionResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Movementsensor.GetPositionResponse,Movementsensor.GetPositionResponse.Builder>
implements Movementsensor.GetPositionResponseOrBuilder
Protobuf type
viam.component.movementsensor.v1.GetPositionResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionfloat altitude_m = 2 [json_name = "altitudeM"];
Position is returned in a coordinate of latitute and longitude and an altidue in metersfloat
float altitude_m = 2 [json_name = "altitudeM"];
Position is returned in a coordinate of latitute and longitude and an altidue in metersboolean
Position is returned in a coordinate of latitute and longitude and an altidue in metersmergeCoordinate
(Common.GeoPoint value) Position is returned in a coordinate of latitute and longitude and an altidue in meterssetAltitudeM
(float value) float altitude_m = 2 [json_name = "altitudeM"];
setCoordinate
(Common.GeoPoint value) Position is returned in a coordinate of latitute and longitude and an altidue in meterssetCoordinate
(Common.GeoPoint.Builder builderForValue) Position is returned in a coordinate of latitute and longitude and an altidue in metersMethods 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
-
hasCoordinate
public boolean hasCoordinate()Position is returned in a coordinate of latitute and longitude and an altidue in meters
.viam.common.v1.GeoPoint coordinate = 1 [json_name = "coordinate"];
- Specified by:
hasCoordinate
in interfaceMovementsensor.GetPositionResponseOrBuilder
- Returns:
- Whether the coordinate field is set.
-
getCoordinate
Position is returned in a coordinate of latitute and longitude and an altidue in meters
.viam.common.v1.GeoPoint coordinate = 1 [json_name = "coordinate"];
- Specified by:
getCoordinate
in interfaceMovementsensor.GetPositionResponseOrBuilder
- Returns:
- The coordinate.
-
setCoordinate
Position is returned in a coordinate of latitute and longitude and an altidue in meters
.viam.common.v1.GeoPoint coordinate = 1 [json_name = "coordinate"];
-
setCoordinate
public Movementsensor.GetPositionResponse.Builder setCoordinate(Common.GeoPoint.Builder builderForValue) Position is returned in a coordinate of latitute and longitude and an altidue in meters
.viam.common.v1.GeoPoint coordinate = 1 [json_name = "coordinate"];
-
mergeCoordinate
Position is returned in a coordinate of latitute and longitude and an altidue in meters
.viam.common.v1.GeoPoint coordinate = 1 [json_name = "coordinate"];
-
clearCoordinate
Position is returned in a coordinate of latitute and longitude and an altidue in meters
.viam.common.v1.GeoPoint coordinate = 1 [json_name = "coordinate"];
-
getAltitudeM
public float getAltitudeM()float altitude_m = 2 [json_name = "altitudeM"];
- Specified by:
getAltitudeM
in interfaceMovementsensor.GetPositionResponseOrBuilder
- Returns:
- The altitudeM.
-
setAltitudeM
float altitude_m = 2 [json_name = "altitudeM"];
- Parameters:
value
- The altitudeM to set.- Returns:
- This builder for chaining.
-
clearAltitudeM
float altitude_m = 2 [json_name = "altitudeM"];
- Returns:
- This builder for chaining.
-