Package com.viam.component.arm.v1
Class Arm.TrajectoryPoint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Arm.TrajectoryPoint,Arm.TrajectoryPoint.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Arm.TrajectoryPoint,Arm.TrajectoryPoint.Builder>
com.viam.component.arm.v1.Arm.TrajectoryPoint.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Arm.TrajectoryPointOrBuilder,Cloneable
- Enclosing class:
Arm.TrajectoryPoint
public static final class Arm.TrajectoryPoint.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Arm.TrajectoryPoint,Arm.TrajectoryPoint.Builder>
implements Arm.TrajectoryPointOrBuilder
One waypoint in a streamed joint-space trajectory.Protobuf type
viam.component.arm.v1.TrajectoryPoint-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionOptional target kinematic constraints at this waypoint.Joint positions at this waypoint.Time from the start of the motion at which this waypoint should be reached.Optional target kinematic constraints at this waypoint.Joint positions at this waypoint.com.google.protobuf.DurationgetTime()Time from the start of the motion at which this waypoint should be reached.booleanOptional target kinematic constraints at this waypoint.booleanJoint positions at this waypoint.booleanhasTime()Time from the start of the motion at which this waypoint should be reached.Optional target kinematic constraints at this waypoint.mergePositions(Arm.JointPositions value) Joint positions at this waypoint.mergeTime(com.google.protobuf.Duration value) Time from the start of the motion at which this waypoint should be reached.Optional target kinematic constraints at this waypoint.setConstraints(Arm.TrajectoryPoint.KinematicConstraints.Builder builderForValue) Optional target kinematic constraints at this waypoint.setPositions(Arm.JointPositions value) Joint positions at this waypoint.setPositions(Arm.JointPositions.Builder builderForValue) Joint positions at this waypoint.setTime(com.google.protobuf.Duration value) Time from the start of the motion at which this waypoint should be reached.setTime(com.google.protobuf.Duration.Builder builderForValue) Time from the start of the motion at which this waypoint should be reached.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
-
hasTime
public boolean hasTime()Time from the start of the motion at which this waypoint should be reached. Must be zero for the first point of the stream and strictly increasing thereafter. Server implementations should validate these constraints.
.google.protobuf.Duration time = 1 [json_name = "time"];- Specified by:
hasTimein interfaceArm.TrajectoryPointOrBuilder- Returns:
- Whether the time field is set.
-
getTime
public com.google.protobuf.Duration getTime()Time from the start of the motion at which this waypoint should be reached. Must be zero for the first point of the stream and strictly increasing thereafter. Server implementations should validate these constraints.
.google.protobuf.Duration time = 1 [json_name = "time"];- Specified by:
getTimein interfaceArm.TrajectoryPointOrBuilder- Returns:
- The time.
-
setTime
Time from the start of the motion at which this waypoint should be reached. Must be zero for the first point of the stream and strictly increasing thereafter. Server implementations should validate these constraints.
.google.protobuf.Duration time = 1 [json_name = "time"]; -
setTime
Time from the start of the motion at which this waypoint should be reached. Must be zero for the first point of the stream and strictly increasing thereafter. Server implementations should validate these constraints.
.google.protobuf.Duration time = 1 [json_name = "time"]; -
mergeTime
Time from the start of the motion at which this waypoint should be reached. Must be zero for the first point of the stream and strictly increasing thereafter. Server implementations should validate these constraints.
.google.protobuf.Duration time = 1 [json_name = "time"]; -
clearTime
Time from the start of the motion at which this waypoint should be reached. Must be zero for the first point of the stream and strictly increasing thereafter. Server implementations should validate these constraints.
.google.protobuf.Duration time = 1 [json_name = "time"]; -
hasPositions
public boolean hasPositions()Joint positions at this waypoint.
.viam.component.arm.v1.JointPositions positions = 2 [json_name = "positions"];- Specified by:
hasPositionsin interfaceArm.TrajectoryPointOrBuilder- Returns:
- Whether the positions field is set.
-
getPositions
Joint positions at this waypoint.
.viam.component.arm.v1.JointPositions positions = 2 [json_name = "positions"];- Specified by:
getPositionsin interfaceArm.TrajectoryPointOrBuilder- Returns:
- The positions.
-
setPositions
Joint positions at this waypoint.
.viam.component.arm.v1.JointPositions positions = 2 [json_name = "positions"]; -
setPositions
Joint positions at this waypoint.
.viam.component.arm.v1.JointPositions positions = 2 [json_name = "positions"]; -
mergePositions
Joint positions at this waypoint.
.viam.component.arm.v1.JointPositions positions = 2 [json_name = "positions"]; -
clearPositions
Joint positions at this waypoint.
.viam.component.arm.v1.JointPositions positions = 2 [json_name = "positions"]; -
hasConstraints
public boolean hasConstraints()Optional target kinematic constraints at this waypoint.
optional .viam.component.arm.v1.TrajectoryPoint.KinematicConstraints constraints = 3 [json_name = "constraints"];- Specified by:
hasConstraintsin interfaceArm.TrajectoryPointOrBuilder- Returns:
- Whether the constraints field is set.
-
getConstraints
Optional target kinematic constraints at this waypoint.
optional .viam.component.arm.v1.TrajectoryPoint.KinematicConstraints constraints = 3 [json_name = "constraints"];- Specified by:
getConstraintsin interfaceArm.TrajectoryPointOrBuilder- Returns:
- The constraints.
-
setConstraints
Optional target kinematic constraints at this waypoint.
optional .viam.component.arm.v1.TrajectoryPoint.KinematicConstraints constraints = 3 [json_name = "constraints"]; -
setConstraints
public Arm.TrajectoryPoint.Builder setConstraints(Arm.TrajectoryPoint.KinematicConstraints.Builder builderForValue) Optional target kinematic constraints at this waypoint.
optional .viam.component.arm.v1.TrajectoryPoint.KinematicConstraints constraints = 3 [json_name = "constraints"]; -
mergeConstraints
Optional target kinematic constraints at this waypoint.
optional .viam.component.arm.v1.TrajectoryPoint.KinematicConstraints constraints = 3 [json_name = "constraints"]; -
clearConstraints
Optional target kinematic constraints at this waypoint.
optional .viam.component.arm.v1.TrajectoryPoint.KinematicConstraints constraints = 3 [json_name = "constraints"];
-