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 Type
    Method
    Description
    addAllValues(Iterable<? extends Double> values)
    A list of joint velocities.
    addValues(double value)
    A list of joint velocities.
    A list of joint velocities.
    double
    getValues(int index)
    A list of joint velocities.
    int
    A 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, 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

    • getValuesList

      public List<Double> 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:
      getValuesList in interface Arm.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:
      getValuesCount in interface Arm.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:
      getValues in interface Arm.JointVelocitiesOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The values at the given index.
    • setValues

      public Arm.JointVelocities.Builder setValues(int index, double value)
       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

      public Arm.JointVelocities.Builder addValues(double value)
       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

      public Arm.JointVelocities.Builder addAllValues(Iterable<? extends Double> values)
       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

      public Arm.JointVelocities.Builder 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.