Package com.viam.common.v1
Class Common.KinematicJoint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Common.KinematicJoint,Common.KinematicJoint.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Common.KinematicJoint,Common.KinematicJoint.Builder>
com.viam.common.v1.Common.KinematicJoint.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Common.KinematicJointOrBuilder,Cloneable
- Enclosing class:
Common.KinematicJoint
public static final class Common.KinematicJoint.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.KinematicJoint,Common.KinematicJoint.Builder>
implements Common.KinematicJointOrBuilder
Protobuf type
viam.common.v1.KinematicJoint-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription.viam.common.v1.Vector3 axis = 4 [json_name = "axis"];Only meaningful for prismatic jointsclearId()string id = 1 [json_name = "id"];Effective limits the component serves.viam.common.v1.MimicJoint mimic = 6 [json_name = "mimic"];Parent link id.viam.common.v1.JointType type = 3 [json_name = "type"];getAxis().viam.common.v1.Vector3 axis = 4 [json_name = "axis"];Only meaningful for prismatic jointsgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringstring id = 1 [json_name = "id"];Effective limits the component servesgetMimic().viam.common.v1.MimicJoint mimic = 6 [json_name = "mimic"];Parent link idcom.google.protobuf.ByteStringParent link idgetType().viam.common.v1.JointType type = 3 [json_name = "type"];int.viam.common.v1.JointType type = 3 [json_name = "type"];booleanhasAxis().viam.common.v1.Vector3 axis = 4 [json_name = "axis"];booleanOnly meaningful for prismatic jointsbooleanEffective limits the component servesbooleanhasMimic().viam.common.v1.MimicJoint mimic = 6 [json_name = "mimic"];mergeAxis(Common.Vector3 value) .viam.common.v1.Vector3 axis = 4 [json_name = "axis"];mergeGeometry(Common.Geometry value) Only meaningful for prismatic jointsmergeLimits(Common.JointLimits value) Effective limits the component servesmergeMimic(Common.MimicJoint value) .viam.common.v1.MimicJoint mimic = 6 [json_name = "mimic"];setAxis(Common.Vector3 value) .viam.common.v1.Vector3 axis = 4 [json_name = "axis"];setAxis(Common.Vector3.Builder builderForValue) .viam.common.v1.Vector3 axis = 4 [json_name = "axis"];setGeometry(Common.Geometry value) Only meaningful for prismatic jointssetGeometry(Common.Geometry.Builder builderForValue) Only meaningful for prismatic jointsstring id = 1 [json_name = "id"];setIdBytes(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];setLimits(Common.JointLimits value) Effective limits the component servessetLimits(Common.JointLimits.Builder builderForValue) Effective limits the component servessetMimic(Common.MimicJoint value) .viam.common.v1.MimicJoint mimic = 6 [json_name = "mimic"];setMimic(Common.MimicJoint.Builder builderForValue) .viam.common.v1.MimicJoint mimic = 6 [json_name = "mimic"];Parent link idsetParentBytes(com.google.protobuf.ByteString value) Parent link idsetType(Common.JointType value) .viam.common.v1.JointType type = 3 [json_name = "type"];setTypeValue(int value) .viam.common.v1.JointType type = 3 [json_name = "type"];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
-
getId
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceCommon.KinematicJointOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceCommon.KinematicJointOrBuilder- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id"];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getParent
Parent link id
string parent = 2 [json_name = "parent"];- Specified by:
getParentin interfaceCommon.KinematicJointOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Parent link id
string parent = 2 [json_name = "parent"];- Specified by:
getParentBytesin interfaceCommon.KinematicJointOrBuilder- Returns:
- The bytes for parent.
-
setParent
Parent link id
string parent = 2 [json_name = "parent"];- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
Parent link id
string parent = 2 [json_name = "parent"];- Returns:
- This builder for chaining.
-
setParentBytes
Parent link id
string parent = 2 [json_name = "parent"];- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue().viam.common.v1.JointType type = 3 [json_name = "type"];- Specified by:
getTypeValuein interfaceCommon.KinematicJointOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
.viam.common.v1.JointType type = 3 [json_name = "type"];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
getType
.viam.common.v1.JointType type = 3 [json_name = "type"];- Specified by:
getTypein interfaceCommon.KinematicJointOrBuilder- Returns:
- The type.
-
setType
.viam.common.v1.JointType type = 3 [json_name = "type"];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
clearType
.viam.common.v1.JointType type = 3 [json_name = "type"];- Returns:
- This builder for chaining.
-
hasAxis
public boolean hasAxis().viam.common.v1.Vector3 axis = 4 [json_name = "axis"];- Specified by:
hasAxisin interfaceCommon.KinematicJointOrBuilder- Returns:
- Whether the axis field is set.
-
getAxis
.viam.common.v1.Vector3 axis = 4 [json_name = "axis"];- Specified by:
getAxisin interfaceCommon.KinematicJointOrBuilder- Returns:
- The axis.
-
setAxis
.viam.common.v1.Vector3 axis = 4 [json_name = "axis"]; -
setAxis
.viam.common.v1.Vector3 axis = 4 [json_name = "axis"]; -
mergeAxis
.viam.common.v1.Vector3 axis = 4 [json_name = "axis"]; -
clearAxis
.viam.common.v1.Vector3 axis = 4 [json_name = "axis"]; -
hasLimits
public boolean hasLimits()Effective limits the component serves
.viam.common.v1.JointLimits limits = 5 [json_name = "limits"];- Specified by:
hasLimitsin interfaceCommon.KinematicJointOrBuilder- Returns:
- Whether the limits field is set.
-
getLimits
Effective limits the component serves
.viam.common.v1.JointLimits limits = 5 [json_name = "limits"];- Specified by:
getLimitsin interfaceCommon.KinematicJointOrBuilder- Returns:
- The limits.
-
setLimits
Effective limits the component serves
.viam.common.v1.JointLimits limits = 5 [json_name = "limits"]; -
setLimits
Effective limits the component serves
.viam.common.v1.JointLimits limits = 5 [json_name = "limits"]; -
mergeLimits
Effective limits the component serves
.viam.common.v1.JointLimits limits = 5 [json_name = "limits"]; -
clearLimits
Effective limits the component serves
.viam.common.v1.JointLimits limits = 5 [json_name = "limits"]; -
hasMimic
public boolean hasMimic().viam.common.v1.MimicJoint mimic = 6 [json_name = "mimic"];- Specified by:
hasMimicin interfaceCommon.KinematicJointOrBuilder- Returns:
- Whether the mimic field is set.
-
getMimic
.viam.common.v1.MimicJoint mimic = 6 [json_name = "mimic"];- Specified by:
getMimicin interfaceCommon.KinematicJointOrBuilder- Returns:
- The mimic.
-
setMimic
.viam.common.v1.MimicJoint mimic = 6 [json_name = "mimic"]; -
setMimic
.viam.common.v1.MimicJoint mimic = 6 [json_name = "mimic"]; -
mergeMimic
.viam.common.v1.MimicJoint mimic = 6 [json_name = "mimic"]; -
clearMimic
.viam.common.v1.MimicJoint mimic = 6 [json_name = "mimic"]; -
hasGeometry
public boolean hasGeometry()Only meaningful for prismatic joints
.viam.common.v1.Geometry geometry = 7 [json_name = "geometry"];- Specified by:
hasGeometryin interfaceCommon.KinematicJointOrBuilder- Returns:
- Whether the geometry field is set.
-
getGeometry
Only meaningful for prismatic joints
.viam.common.v1.Geometry geometry = 7 [json_name = "geometry"];- Specified by:
getGeometryin interfaceCommon.KinematicJointOrBuilder- Returns:
- The geometry.
-
setGeometry
Only meaningful for prismatic joints
.viam.common.v1.Geometry geometry = 7 [json_name = "geometry"]; -
setGeometry
Only meaningful for prismatic joints
.viam.common.v1.Geometry geometry = 7 [json_name = "geometry"]; -
mergeGeometry
Only meaningful for prismatic joints
.viam.common.v1.Geometry geometry = 7 [json_name = "geometry"]; -
clearGeometry
Only meaningful for prismatic joints
.viam.common.v1.Geometry geometry = 7 [json_name = "geometry"];
-