Package com.viam.component.arm.v1
Class Arm.JointAccelerations.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Arm.JointAccelerations,Arm.JointAccelerations.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Arm.JointAccelerations,Arm.JointAccelerations.Builder>
com.viam.component.arm.v1.Arm.JointAccelerations.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Arm.JointAccelerationsOrBuilder,Cloneable
- Enclosing class:
Arm.JointAccelerations
public static final class Arm.JointAccelerations.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Arm.JointAccelerations,Arm.JointAccelerations.Builder>
implements Arm.JointAccelerationsOrBuilder
Protobuf type
viam.component.arm.v1.JointAccelerations-
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 accelerations.addValues(double value) A list of joint accelerations.A list of joint accelerations.doublegetValues(int index) A list of joint accelerations.intA list of joint accelerations.A list of joint accelerations.setValues(int index, double value) A list of joint accelerations.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 accelerations. Rotational values are in degrees per second squared, translational values in mm per second squared. 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.JointAccelerationsOrBuilder- Returns:
- A list containing the values.
-
getValuesCount
public int getValuesCount()A list of joint accelerations. Rotational values are in degrees per second squared, translational values in mm per second squared. 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.JointAccelerationsOrBuilder- Returns:
- The count of values.
-
getValues
public double getValues(int index) A list of joint accelerations. Rotational values are in degrees per second squared, translational values in mm per second squared. 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.JointAccelerationsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
setValues
A list of joint accelerations. Rotational values are in degrees per second squared, translational values in mm per second squared. 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 accelerations. Rotational values are in degrees per second squared, translational values in mm per second squared. 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 accelerations. Rotational values are in degrees per second squared, translational values in mm per second squared. 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 accelerations. Rotational values are in degrees per second squared, translational values in mm per second squared. 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.
-