Package viam.app.v1
Class Robot.Orientation.OrientationVectorDegrees.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.Orientation.OrientationVectorDegrees,Robot.Orientation.OrientationVectorDegrees.Builder>
viam.app.v1.Robot.Orientation.OrientationVectorDegrees.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,Robot.Orientation.OrientationVectorDegreesOrBuilder
- Enclosing class:
- Robot.Orientation.OrientationVectorDegrees
public static final class Robot.Orientation.OrientationVectorDegrees.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.Orientation.OrientationVectorDegrees,Robot.Orientation.OrientationVectorDegrees.Builder>
implements Robot.Orientation.OrientationVectorDegreesOrBuilder
OrientationVectorDegrees is the orientation vector between two objects, but expressed in degrees rather than radians. Because protobuf Pose is in degrees, this is necessary.Protobuf type
viam.app.v1.Orientation.OrientationVectorDegrees-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptiondouble theta = 1 [json_name = "theta", (.tagger.v1.tags) = "json:\"th\""];clearX()double x = 2 [json_name = "x"];clearY()double y = 3 [json_name = "y"];clearZ()double z = 4 [json_name = "z"];doublegetTheta()double theta = 1 [json_name = "theta", (.tagger.v1.tags) = "json:\"th\""];doublegetX()double x = 2 [json_name = "x"];doublegetY()double y = 3 [json_name = "y"];doublegetZ()double z = 4 [json_name = "z"];setTheta(double value) double theta = 1 [json_name = "theta", (.tagger.v1.tags) = "json:\"th\""];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, 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
-
getTheta
public double getTheta()double theta = 1 [json_name = "theta", (.tagger.v1.tags) = "json:\"th\""];- Specified by:
getThetain interfaceRobot.Orientation.OrientationVectorDegreesOrBuilder- Returns:
- The theta.
-
setTheta
double theta = 1 [json_name = "theta", (.tagger.v1.tags) = "json:\"th\""];- Parameters:
value- The theta to set.- Returns:
- This builder for chaining.
-
clearTheta
double theta = 1 [json_name = "theta", (.tagger.v1.tags) = "json:\"th\""];- Returns:
- This builder for chaining.
-
getX
public double getX()double x = 2 [json_name = "x"];- Specified by:
getXin interfaceRobot.Orientation.OrientationVectorDegreesOrBuilder- 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:
getYin interfaceRobot.Orientation.OrientationVectorDegreesOrBuilder- 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:
getZin interfaceRobot.Orientation.OrientationVectorDegreesOrBuilder- 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.
-