Package viam.app.v1
Class Robot.Orientation.Quaternion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.Orientation.Quaternion,Robot.Orientation.Quaternion.Builder>
viam.app.v1.Robot.Orientation.Quaternion.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Robot.Orientation.QuaternionOrBuilder
- Enclosing class:
- Robot.Orientation.Quaternion
public static final class Robot.Orientation.Quaternion.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.Orientation.Quaternion,Robot.Orientation.Quaternion.Builder>
implements Robot.Orientation.QuaternionOrBuilder
Quaternion is a float64 precision quaternion.Protobuf type
viam.app.v1.Orientation.Quaternion
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionclearW()
double w = 1 [json_name = "w"];
clearX()
double x = 2 [json_name = "x"];
clearY()
double y = 3 [json_name = "y"];
clearZ()
double z = 4 [json_name = "z"];
double
getW()
double w = 1 [json_name = "w"];
double
getX()
double x = 2 [json_name = "x"];
double
getY()
double y = 3 [json_name = "y"];
double
getZ()
double z = 4 [json_name = "z"];
setW
(double value) double w = 1 [json_name = "w"];
setX
(double value) double x = 2 [json_name = "x"];
setY
(double value) double y = 3 [json_name = "y"];
setZ
(double value) double z = 4 [json_name = "z"];
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
-
getW
public double getW()double w = 1 [json_name = "w"];
- Specified by:
getW
in interfaceRobot.Orientation.QuaternionOrBuilder
- Returns:
- The w.
-
setW
double w = 1 [json_name = "w"];
- Parameters:
value
- The w to set.- Returns:
- This builder for chaining.
-
clearW
double w = 1 [json_name = "w"];
- Returns:
- This builder for chaining.
-
getX
public double getX()double x = 2 [json_name = "x"];
- Specified by:
getX
in interfaceRobot.Orientation.QuaternionOrBuilder
- Returns:
- The x.
-
setX
double x = 2 [json_name = "x"];
- Parameters:
value
- The x to set.- Returns:
- This builder for chaining.
-
clearX
double x = 2 [json_name = "x"];
- Returns:
- This builder for chaining.
-
getY
public double getY()double y = 3 [json_name = "y"];
- Specified by:
getY
in interfaceRobot.Orientation.QuaternionOrBuilder
- Returns:
- The y.
-
setY
double y = 3 [json_name = "y"];
- Parameters:
value
- The y to set.- Returns:
- This builder for chaining.
-
clearY
double y = 3 [json_name = "y"];
- Returns:
- This builder for chaining.
-
getZ
public double getZ()double z = 4 [json_name = "z"];
- Specified by:
getZ
in interfaceRobot.Orientation.QuaternionOrBuilder
- Returns:
- The z.
-
setZ
double z = 4 [json_name = "z"];
- Parameters:
value
- The z to set.- Returns:
- This builder for chaining.
-
clearZ
double z = 4 [json_name = "z"];
- Returns:
- This builder for chaining.
-