Package com.viam.component.arm.v1
Class Arm.JointVelocities.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Arm.JointVelocities,Arm.JointVelocities.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Arm.JointVelocities,Arm.JointVelocities.Builder>
com.viam.component.arm.v1.Arm.JointVelocities.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Arm.JointVelocitiesOrBuilder,Cloneable
- Enclosing class:
Arm.JointVelocities
public static final class Arm.JointVelocities.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Arm.JointVelocities,Arm.JointVelocities.Builder>
implements Arm.JointVelocitiesOrBuilder
Protobuf type
viam.component.arm.v1.JointVelocities-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllValues(Iterable<? extends Double> values) A list of joint velocities.addValues(double value) A list of joint velocities.A list of joint velocities.doublegetValues(int index) A list of joint velocities.intA list of joint velocities.A list of joint velocities.setValues(int index, double value) A list of joint velocities.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
-
getValuesList
A list of joint velocities. Rotational values are in degrees per second, translational values in mm per second. There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm.
repeated double values = 1 [json_name = "values"];- Specified by:
getValuesListin interfaceArm.JointVelocitiesOrBuilder- Returns:
- A list containing the values.
-
getValuesCount
public int getValuesCount()A list of joint velocities. Rotational values are in degrees per second, translational values in mm per second. There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm.
repeated double values = 1 [json_name = "values"];- Specified by:
getValuesCountin interfaceArm.JointVelocitiesOrBuilder- Returns:
- The count of values.
-
getValues
public double getValues(int index) A list of joint velocities. Rotational values are in degrees per second, translational values in mm per second. There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm.
repeated double values = 1 [json_name = "values"];- Specified by:
getValuesin interfaceArm.JointVelocitiesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
setValues
A list of joint velocities. Rotational values are in degrees per second, translational values in mm per second. There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm.
repeated double values = 1 [json_name = "values"];- Parameters:
value- The values to set.- Returns:
- This builder for chaining.
-
addValues
A list of joint velocities. Rotational values are in degrees per second, translational values in mm per second. There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm.
repeated double values = 1 [json_name = "values"];- Parameters:
value- The values to add.- Returns:
- This builder for chaining.
-
addAllValues
A list of joint velocities. Rotational values are in degrees per second, translational values in mm per second. There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm.
repeated double values = 1 [json_name = "values"];- Parameters:
values- The values to add.- Returns:
- This builder for chaining.
-
clearValues
A list of joint velocities. Rotational values are in degrees per second, translational values in mm per second. There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm.
repeated double values = 1 [json_name = "values"];- Returns:
- This builder for chaining.
-