Package com.viam.common.v1
Class Common.PoseInFrame.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.PoseInFrame,Common.PoseInFrame.Builder>
com.viam.common.v1.Common.PoseInFrame.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Common.PoseInFrameOrBuilder
,Cloneable
- Enclosing class:
- Common.PoseInFrame
public static final class Common.PoseInFrame.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.PoseInFrame,Common.PoseInFrame.Builder>
implements Common.PoseInFrameOrBuilder
PoseInFrame contains a pose and the and the reference frame in which it was observedProtobuf type
viam.common.v1.PoseInFrame
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.common.v1.Pose pose = 2 [json_name = "pose"];
string reference_frame = 1 [json_name = "referenceFrame"];
getPose()
.viam.common.v1.Pose pose = 2 [json_name = "pose"];
string reference_frame = 1 [json_name = "referenceFrame"];
com.google.protobuf.ByteString
string reference_frame = 1 [json_name = "referenceFrame"];
boolean
hasPose()
.viam.common.v1.Pose pose = 2 [json_name = "pose"];
mergePose
(Common.Pose value) .viam.common.v1.Pose pose = 2 [json_name = "pose"];
setPose
(Common.Pose value) .viam.common.v1.Pose pose = 2 [json_name = "pose"];
setPose
(Common.Pose.Builder builderForValue) .viam.common.v1.Pose pose = 2 [json_name = "pose"];
setReferenceFrame
(String value) string reference_frame = 1 [json_name = "referenceFrame"];
setReferenceFrameBytes
(com.google.protobuf.ByteString value) string reference_frame = 1 [json_name = "referenceFrame"];
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
-
getReferenceFrame
string reference_frame = 1 [json_name = "referenceFrame"];
- Specified by:
getReferenceFrame
in interfaceCommon.PoseInFrameOrBuilder
- Returns:
- The referenceFrame.
-
getReferenceFrameBytes
public com.google.protobuf.ByteString getReferenceFrameBytes()string reference_frame = 1 [json_name = "referenceFrame"];
- Specified by:
getReferenceFrameBytes
in interfaceCommon.PoseInFrameOrBuilder
- Returns:
- The bytes for referenceFrame.
-
setReferenceFrame
string reference_frame = 1 [json_name = "referenceFrame"];
- Parameters:
value
- The referenceFrame to set.- Returns:
- This builder for chaining.
-
clearReferenceFrame
string reference_frame = 1 [json_name = "referenceFrame"];
- Returns:
- This builder for chaining.
-
setReferenceFrameBytes
string reference_frame = 1 [json_name = "referenceFrame"];
- Parameters:
value
- The bytes for referenceFrame to set.- Returns:
- This builder for chaining.
-
hasPose
public boolean hasPose().viam.common.v1.Pose pose = 2 [json_name = "pose"];
- Specified by:
hasPose
in interfaceCommon.PoseInFrameOrBuilder
- Returns:
- Whether the pose field is set.
-
getPose
.viam.common.v1.Pose pose = 2 [json_name = "pose"];
- Specified by:
getPose
in interfaceCommon.PoseInFrameOrBuilder
- Returns:
- The pose.
-
setPose
.viam.common.v1.Pose pose = 2 [json_name = "pose"];
-
setPose
.viam.common.v1.Pose pose = 2 [json_name = "pose"];
-
mergePose
.viam.common.v1.Pose pose = 2 [json_name = "pose"];
-
clearPose
.viam.common.v1.Pose pose = 2 [json_name = "pose"];
-