Class Common.JointLimits.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Common.JointLimits,Common.JointLimits.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Common.JointLimits,Common.JointLimits.Builder>
com.viam.common.v1.Common.JointLimits.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Common.JointLimitsOrBuilder, Cloneable
Enclosing class:
Common.JointLimits

public static final class Common.JointLimits.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Common.JointLimits,Common.JointLimits.Builder> implements Common.JointLimitsOrBuilder
 Degrees, deg/s and deg/s^2 for revolute joints, mm, mm/s and mm/s^2 for prismatic. Absent means unbounded.
 
Protobuf type viam.common.v1.JointLimits
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    optional double max = 2 [json_name = "max"];
    optional double max_acceleration = 4 [json_name = "maxAcceleration"];
    optional double max_velocity = 3 [json_name = "maxVelocity"];
    optional double min = 1 [json_name = "min"];
    double
    optional double max = 2 [json_name = "max"];
    double
    optional double max_acceleration = 4 [json_name = "maxAcceleration"];
    double
    optional double max_velocity = 3 [json_name = "maxVelocity"];
    double
    optional double min = 1 [json_name = "min"];
    boolean
    optional double max = 2 [json_name = "max"];
    boolean
    optional double max_acceleration = 4 [json_name = "maxAcceleration"];
    boolean
    optional double max_velocity = 3 [json_name = "maxVelocity"];
    boolean
    optional double min = 1 [json_name = "min"];
    setMax(double value)
    optional double max = 2 [json_name = "max"];
    setMaxAcceleration(double value)
    optional double max_acceleration = 4 [json_name = "maxAcceleration"];
    setMaxVelocity(double value)
    optional double max_velocity = 3 [json_name = "maxVelocity"];
    setMin(double value)
    optional double min = 1 [json_name = "min"];

    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

    • hasMin

      public boolean hasMin()
      optional double min = 1 [json_name = "min"];
      Specified by:
      hasMin in interface Common.JointLimitsOrBuilder
      Returns:
      Whether the min field is set.
    • getMin

      public double getMin()
      optional double min = 1 [json_name = "min"];
      Specified by:
      getMin in interface Common.JointLimitsOrBuilder
      Returns:
      The min.
    • setMin

      public Common.JointLimits.Builder setMin(double value)
      optional double min = 1 [json_name = "min"];
      Parameters:
      value - The min to set.
      Returns:
      This builder for chaining.
    • clearMin

      public Common.JointLimits.Builder clearMin()
      optional double min = 1 [json_name = "min"];
      Returns:
      This builder for chaining.
    • hasMax

      public boolean hasMax()
      optional double max = 2 [json_name = "max"];
      Specified by:
      hasMax in interface Common.JointLimitsOrBuilder
      Returns:
      Whether the max field is set.
    • getMax

      public double getMax()
      optional double max = 2 [json_name = "max"];
      Specified by:
      getMax in interface Common.JointLimitsOrBuilder
      Returns:
      The max.
    • setMax

      public Common.JointLimits.Builder setMax(double value)
      optional double max = 2 [json_name = "max"];
      Parameters:
      value - The max to set.
      Returns:
      This builder for chaining.
    • clearMax

      public Common.JointLimits.Builder clearMax()
      optional double max = 2 [json_name = "max"];
      Returns:
      This builder for chaining.
    • hasMaxVelocity

      public boolean hasMaxVelocity()
      optional double max_velocity = 3 [json_name = "maxVelocity"];
      Specified by:
      hasMaxVelocity in interface Common.JointLimitsOrBuilder
      Returns:
      Whether the maxVelocity field is set.
    • getMaxVelocity

      public double getMaxVelocity()
      optional double max_velocity = 3 [json_name = "maxVelocity"];
      Specified by:
      getMaxVelocity in interface Common.JointLimitsOrBuilder
      Returns:
      The maxVelocity.
    • setMaxVelocity

      public Common.JointLimits.Builder setMaxVelocity(double value)
      optional double max_velocity = 3 [json_name = "maxVelocity"];
      Parameters:
      value - The maxVelocity to set.
      Returns:
      This builder for chaining.
    • clearMaxVelocity

      public Common.JointLimits.Builder clearMaxVelocity()
      optional double max_velocity = 3 [json_name = "maxVelocity"];
      Returns:
      This builder for chaining.
    • hasMaxAcceleration

      public boolean hasMaxAcceleration()
      optional double max_acceleration = 4 [json_name = "maxAcceleration"];
      Specified by:
      hasMaxAcceleration in interface Common.JointLimitsOrBuilder
      Returns:
      Whether the maxAcceleration field is set.
    • getMaxAcceleration

      public double getMaxAcceleration()
      optional double max_acceleration = 4 [json_name = "maxAcceleration"];
      Specified by:
      getMaxAcceleration in interface Common.JointLimitsOrBuilder
      Returns:
      The maxAcceleration.
    • setMaxAcceleration

      public Common.JointLimits.Builder setMaxAcceleration(double value)
      optional double max_acceleration = 4 [json_name = "maxAcceleration"];
      Parameters:
      value - The maxAcceleration to set.
      Returns:
      This builder for chaining.
    • clearMaxAcceleration

      public Common.JointLimits.Builder clearMaxAcceleration()
      optional double max_acceleration = 4 [json_name = "maxAcceleration"];
      Returns:
      This builder for chaining.