Class Movementsensor.GetLinearAccelerationResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Movementsensor.GetLinearAccelerationResponse,Movementsensor.GetLinearAccelerationResponse.Builder>
com.viam.component.movementsensor.v1.Movementsensor.GetLinearAccelerationResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Movementsensor.GetLinearAccelerationResponseOrBuilder
,Cloneable
- Enclosing class:
- Movementsensor.GetLinearAccelerationResponse
public static final class Movementsensor.GetLinearAccelerationResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Movementsensor.GetLinearAccelerationResponse,Movementsensor.GetLinearAccelerationResponse.Builder>
implements Movementsensor.GetLinearAccelerationResponseOrBuilder
Protobuf type
viam.component.movementsensor.v1.GetLinearAccelerationResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionLinear acceleration in m/s across x/y/z axesLinear acceleration in m/s across x/y/z axesboolean
Linear acceleration in m/s across x/y/z axesLinear acceleration in m/s across x/y/z axesLinear acceleration in m/s across x/y/z axessetLinearAcceleration
(Common.Vector3.Builder builderForValue) Linear acceleration in m/s across x/y/z axesMethods 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
-
hasLinearAcceleration
public boolean hasLinearAcceleration()Linear acceleration in m/s across x/y/z axes
.viam.common.v1.Vector3 linear_acceleration = 1 [json_name = "linearAcceleration"];
- Specified by:
hasLinearAcceleration
in interfaceMovementsensor.GetLinearAccelerationResponseOrBuilder
- Returns:
- Whether the linearAcceleration field is set.
-
getLinearAcceleration
Linear acceleration in m/s across x/y/z axes
.viam.common.v1.Vector3 linear_acceleration = 1 [json_name = "linearAcceleration"];
- Specified by:
getLinearAcceleration
in interfaceMovementsensor.GetLinearAccelerationResponseOrBuilder
- Returns:
- The linearAcceleration.
-
setLinearAcceleration
public Movementsensor.GetLinearAccelerationResponse.Builder setLinearAcceleration(Common.Vector3 value) Linear acceleration in m/s across x/y/z axes
.viam.common.v1.Vector3 linear_acceleration = 1 [json_name = "linearAcceleration"];
-
setLinearAcceleration
public Movementsensor.GetLinearAccelerationResponse.Builder setLinearAcceleration(Common.Vector3.Builder builderForValue) Linear acceleration in m/s across x/y/z axes
.viam.common.v1.Vector3 linear_acceleration = 1 [json_name = "linearAcceleration"];
-
mergeLinearAcceleration
public Movementsensor.GetLinearAccelerationResponse.Builder mergeLinearAcceleration(Common.Vector3 value) Linear acceleration in m/s across x/y/z axes
.viam.common.v1.Vector3 linear_acceleration = 1 [json_name = "linearAcceleration"];
-
clearLinearAcceleration
Linear acceleration in m/s across x/y/z axes
.viam.common.v1.Vector3 linear_acceleration = 1 [json_name = "linearAcceleration"];
-