Class Movementsensor.GetOrientationResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Movementsensor.GetOrientationResponse,Movementsensor.GetOrientationResponse.Builder>
com.viam.component.movementsensor.v1.Movementsensor.GetOrientationResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Movementsensor.GetOrientationResponseOrBuilder,Cloneable
- Enclosing class:
- Movementsensor.GetOrientationResponse
public static final class Movementsensor.GetOrientationResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Movementsensor.GetOrientationResponse,Movementsensor.GetOrientationResponse.Builder>
implements Movementsensor.GetOrientationResponseOrBuilder
Protobuf type
viam.component.movementsensor.v1.GetOrientationResponse-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionOrientation is returned as an orientation message with OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degreesOrientation is returned as an orientation message with OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degreesbooleanOrientation is returned as an orientation message with OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degreesOrientation is returned as an orientation message with OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degreessetOrientation(Common.Orientation value) Orientation is returned as an orientation message with OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degreessetOrientation(Common.Orientation.Builder builderForValue) Orientation is returned as an orientation message with OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degreesMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasOrientation
public boolean hasOrientation()Orientation is returned as an orientation message with OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degrees
.viam.common.v1.Orientation orientation = 1 [json_name = "orientation"];- Specified by:
hasOrientationin interfaceMovementsensor.GetOrientationResponseOrBuilder- Returns:
- Whether the orientation field is set.
-
getOrientation
Orientation is returned as an orientation message with OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degrees
.viam.common.v1.Orientation orientation = 1 [json_name = "orientation"];- Specified by:
getOrientationin interfaceMovementsensor.GetOrientationResponseOrBuilder- Returns:
- The orientation.
-
setOrientation
Orientation is returned as an orientation message with OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degrees
.viam.common.v1.Orientation orientation = 1 [json_name = "orientation"]; -
setOrientation
public Movementsensor.GetOrientationResponse.Builder setOrientation(Common.Orientation.Builder builderForValue) Orientation is returned as an orientation message with OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degrees
.viam.common.v1.Orientation orientation = 1 [json_name = "orientation"]; -
mergeOrientation
Orientation is returned as an orientation message with OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degrees
.viam.common.v1.Orientation orientation = 1 [json_name = "orientation"]; -
clearOrientation
Orientation is returned as an orientation message with OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degrees
.viam.common.v1.Orientation orientation = 1 [json_name = "orientation"];
-