Package com.viam.common.v1
Class Common.Transform.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.Transform,Common.Transform.Builder>
com.viam.common.v1.Common.Transform.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Common.TransformOrBuilder
,Cloneable
- Enclosing class:
- Common.Transform
public static final class Common.Transform.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.Transform,Common.Transform.Builder>
implements Common.TransformOrBuilder
Transform contains a pose and two reference frames. The first reference frame is the starting reference frame, and the second reference frame is the observer reference frame. The second reference frame has a pose which represents the pose of an object in the first reference frame as observed within the second reference frame.Protobuf type
viam.common.v1.Transform
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionoptional .viam.common.v1.Geometry physical_object = 3 [json_name = "physicalObject"];
the pose of the above reference frame with respect to a different observer reference framethe name of a given reference frameoptional .viam.common.v1.Geometry physical_object = 3 [json_name = "physicalObject"];
the pose of the above reference frame with respect to a different observer reference framethe name of a given reference framecom.google.protobuf.ByteString
the name of a given reference frameboolean
optional .viam.common.v1.Geometry physical_object = 3 [json_name = "physicalObject"];
boolean
the pose of the above reference frame with respect to a different observer reference frameoptional .viam.common.v1.Geometry physical_object = 3 [json_name = "physicalObject"];
the pose of the above reference frame with respect to a different observer reference framesetPhysicalObject
(Common.Geometry value) optional .viam.common.v1.Geometry physical_object = 3 [json_name = "physicalObject"];
setPhysicalObject
(Common.Geometry.Builder builderForValue) optional .viam.common.v1.Geometry physical_object = 3 [json_name = "physicalObject"];
the pose of the above reference frame with respect to a different observer reference framesetPoseInObserverFrame
(Common.PoseInFrame.Builder builderForValue) the pose of the above reference frame with respect to a different observer reference framesetReferenceFrame
(String value) the name of a given reference framesetReferenceFrameBytes
(com.google.protobuf.ByteString value) the name of a given reference frameMethods 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
-
getReferenceFrame
the name of a given reference frame
string reference_frame = 1 [json_name = "referenceFrame"];
- Specified by:
getReferenceFrame
in interfaceCommon.TransformOrBuilder
- Returns:
- The referenceFrame.
-
getReferenceFrameBytes
public com.google.protobuf.ByteString getReferenceFrameBytes()the name of a given reference frame
string reference_frame = 1 [json_name = "referenceFrame"];
- Specified by:
getReferenceFrameBytes
in interfaceCommon.TransformOrBuilder
- Returns:
- The bytes for referenceFrame.
-
setReferenceFrame
the name of a given reference frame
string reference_frame = 1 [json_name = "referenceFrame"];
- Parameters:
value
- The referenceFrame to set.- Returns:
- This builder for chaining.
-
clearReferenceFrame
the name of a given reference frame
string reference_frame = 1 [json_name = "referenceFrame"];
- Returns:
- This builder for chaining.
-
setReferenceFrameBytes
the name of a given reference frame
string reference_frame = 1 [json_name = "referenceFrame"];
- Parameters:
value
- The bytes for referenceFrame to set.- Returns:
- This builder for chaining.
-
hasPoseInObserverFrame
public boolean hasPoseInObserverFrame()the pose of the above reference frame with respect to a different observer reference frame
.viam.common.v1.PoseInFrame pose_in_observer_frame = 2 [json_name = "poseInObserverFrame"];
- Specified by:
hasPoseInObserverFrame
in interfaceCommon.TransformOrBuilder
- Returns:
- Whether the poseInObserverFrame field is set.
-
getPoseInObserverFrame
the pose of the above reference frame with respect to a different observer reference frame
.viam.common.v1.PoseInFrame pose_in_observer_frame = 2 [json_name = "poseInObserverFrame"];
- Specified by:
getPoseInObserverFrame
in interfaceCommon.TransformOrBuilder
- Returns:
- The poseInObserverFrame.
-
setPoseInObserverFrame
the pose of the above reference frame with respect to a different observer reference frame
.viam.common.v1.PoseInFrame pose_in_observer_frame = 2 [json_name = "poseInObserverFrame"];
-
setPoseInObserverFrame
the pose of the above reference frame with respect to a different observer reference frame
.viam.common.v1.PoseInFrame pose_in_observer_frame = 2 [json_name = "poseInObserverFrame"];
-
mergePoseInObserverFrame
the pose of the above reference frame with respect to a different observer reference frame
.viam.common.v1.PoseInFrame pose_in_observer_frame = 2 [json_name = "poseInObserverFrame"];
-
clearPoseInObserverFrame
the pose of the above reference frame with respect to a different observer reference frame
.viam.common.v1.PoseInFrame pose_in_observer_frame = 2 [json_name = "poseInObserverFrame"];
-
hasPhysicalObject
public boolean hasPhysicalObject()optional .viam.common.v1.Geometry physical_object = 3 [json_name = "physicalObject"];
- Specified by:
hasPhysicalObject
in interfaceCommon.TransformOrBuilder
- Returns:
- Whether the physicalObject field is set.
-
getPhysicalObject
optional .viam.common.v1.Geometry physical_object = 3 [json_name = "physicalObject"];
- Specified by:
getPhysicalObject
in interfaceCommon.TransformOrBuilder
- Returns:
- The physicalObject.
-
setPhysicalObject
optional .viam.common.v1.Geometry physical_object = 3 [json_name = "physicalObject"];
-
setPhysicalObject
optional .viam.common.v1.Geometry physical_object = 3 [json_name = "physicalObject"];
-
mergePhysicalObject
optional .viam.common.v1.Geometry physical_object = 3 [json_name = "physicalObject"];
-
clearPhysicalObject
optional .viam.common.v1.Geometry physical_object = 3 [json_name = "physicalObject"];
-