Package com.viam.common.v1
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 TypeMethodDescriptionclearMax()optional double max = 2 [json_name = "max"];optional double max_acceleration = 4 [json_name = "maxAcceleration"];optional double max_velocity = 3 [json_name = "maxVelocity"];clearMin()optional double min = 1 [json_name = "min"];doublegetMax()optional double max = 2 [json_name = "max"];doubleoptional double max_acceleration = 4 [json_name = "maxAcceleration"];doubleoptional double max_velocity = 3 [json_name = "maxVelocity"];doublegetMin()optional double min = 1 [json_name = "min"];booleanhasMax()optional double max = 2 [json_name = "max"];booleanoptional double max_acceleration = 4 [json_name = "maxAcceleration"];booleanoptional double max_velocity = 3 [json_name = "maxVelocity"];booleanhasMin()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, 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
-
hasMin
public boolean hasMin()optional double min = 1 [json_name = "min"];- Specified by:
hasMinin interfaceCommon.JointLimitsOrBuilder- Returns:
- Whether the min field is set.
-
getMin
public double getMin()optional double min = 1 [json_name = "min"];- Specified by:
getMinin interfaceCommon.JointLimitsOrBuilder- Returns:
- The min.
-
setMin
optional double min = 1 [json_name = "min"];- Parameters:
value- The min to set.- Returns:
- This builder for chaining.
-
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:
hasMaxin interfaceCommon.JointLimitsOrBuilder- Returns:
- Whether the max field is set.
-
getMax
public double getMax()optional double max = 2 [json_name = "max"];- Specified by:
getMaxin interfaceCommon.JointLimitsOrBuilder- Returns:
- The max.
-
setMax
optional double max = 2 [json_name = "max"];- Parameters:
value- The max to set.- Returns:
- This builder for chaining.
-
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:
hasMaxVelocityin interfaceCommon.JointLimitsOrBuilder- Returns:
- Whether the maxVelocity field is set.
-
getMaxVelocity
public double getMaxVelocity()optional double max_velocity = 3 [json_name = "maxVelocity"];- Specified by:
getMaxVelocityin interfaceCommon.JointLimitsOrBuilder- Returns:
- The maxVelocity.
-
setMaxVelocity
optional double max_velocity = 3 [json_name = "maxVelocity"];- Parameters:
value- The maxVelocity to set.- Returns:
- This builder for chaining.
-
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:
hasMaxAccelerationin interfaceCommon.JointLimitsOrBuilder- Returns:
- Whether the maxAcceleration field is set.
-
getMaxAcceleration
public double getMaxAcceleration()optional double max_acceleration = 4 [json_name = "maxAcceleration"];- Specified by:
getMaxAccelerationin interfaceCommon.JointLimitsOrBuilder- Returns:
- The maxAcceleration.
-
setMaxAcceleration
optional double max_acceleration = 4 [json_name = "maxAcceleration"];- Parameters:
value- The maxAcceleration to set.- Returns:
- This builder for chaining.
-
clearMaxAcceleration
optional double max_acceleration = 4 [json_name = "maxAcceleration"];- Returns:
- This builder for chaining.
-