Package com.viam.common.v1
Class Common.Orientation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.Orientation,Common.Orientation.Builder>
com.viam.common.v1.Common.Orientation.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Common.OrientationOrBuilder
,Cloneable
- Enclosing class:
- Common.Orientation
public static final class Common.Orientation.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.Orientation,Common.Orientation.Builder>
implements Common.OrientationOrBuilder
Protobuf type
viam.common.v1.Orientation
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionclearOX()
x component of a vector defining axis of rotationclearOY()
y component of a vector defining axis of rotationclearOZ()
z component of a vector defining axis of rotationdegreesdouble
getOX()
x component of a vector defining axis of rotationdouble
getOY()
y component of a vector defining axis of rotationdouble
getOZ()
z component of a vector defining axis of rotationdouble
getTheta()
degreessetOX
(double value) x component of a vector defining axis of rotationsetOY
(double value) y component of a vector defining axis of rotationsetOZ
(double value) z component of a vector defining axis of rotationsetTheta
(double value) degreesMethods 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
-
getOX
public double getOX()x component of a vector defining axis of rotation
double o_x = 1 [json_name = "oX"];
- Specified by:
getOX
in interfaceCommon.OrientationOrBuilder
- Returns:
- The oX.
-
setOX
x component of a vector defining axis of rotation
double o_x = 1 [json_name = "oX"];
- Parameters:
value
- The oX to set.- Returns:
- This builder for chaining.
-
clearOX
x component of a vector defining axis of rotation
double o_x = 1 [json_name = "oX"];
- Returns:
- This builder for chaining.
-
getOY
public double getOY()y component of a vector defining axis of rotation
double o_y = 2 [json_name = "oY"];
- Specified by:
getOY
in interfaceCommon.OrientationOrBuilder
- Returns:
- The oY.
-
setOY
y component of a vector defining axis of rotation
double o_y = 2 [json_name = "oY"];
- Parameters:
value
- The oY to set.- Returns:
- This builder for chaining.
-
clearOY
y component of a vector defining axis of rotation
double o_y = 2 [json_name = "oY"];
- Returns:
- This builder for chaining.
-
getOZ
public double getOZ()z component of a vector defining axis of rotation
double o_z = 3 [json_name = "oZ"];
- Specified by:
getOZ
in interfaceCommon.OrientationOrBuilder
- Returns:
- The oZ.
-
setOZ
z component of a vector defining axis of rotation
double o_z = 3 [json_name = "oZ"];
- Parameters:
value
- The oZ to set.- Returns:
- This builder for chaining.
-
clearOZ
z component of a vector defining axis of rotation
double o_z = 3 [json_name = "oZ"];
- Returns:
- This builder for chaining.
-
getTheta
public double getTheta()degrees
double theta = 4 [json_name = "theta"];
- Specified by:
getTheta
in interfaceCommon.OrientationOrBuilder
- Returns:
- The theta.
-
setTheta
degrees
double theta = 4 [json_name = "theta"];
- Parameters:
value
- The theta to set.- Returns:
- This builder for chaining.
-
clearTheta
degrees
double theta = 4 [json_name = "theta"];
- Returns:
- This builder for chaining.
-