Package com.viam.service.motion.v1
Class Motion.Constraints.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.Constraints,Motion.Constraints.Builder>
com.viam.service.motion.v1.Motion.Constraints.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Motion.ConstraintsOrBuilder
,Cloneable
- Enclosing class:
- Motion.Constraints
public static final class Motion.Constraints.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.Constraints,Motion.Constraints.Builder>
implements Motion.ConstraintsOrBuilder
Constraints specifies all enumerated constraints to be passed to Viam's motion planning, along with any optional parametersProtobuf type
viam.service.motion.v1.Constraints
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllCollisionSpecification
(Iterable<? extends Motion.CollisionSpecification> values) Arc constraint, Time constraint, and others will be added here when they are supportedaddAllLinearConstraint
(Iterable<? extends Motion.LinearConstraint> values) Typed message for a specific constraintaddAllOrientationConstraint
(Iterable<? extends Motion.OrientationConstraint> values) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
addCollisionSpecification
(int index, Motion.CollisionSpecification value) Arc constraint, Time constraint, and others will be added here when they are supportedaddCollisionSpecification
(int index, Motion.CollisionSpecification.Builder builderForValue) Arc constraint, Time constraint, and others will be added here when they are supportedArc constraint, Time constraint, and others will be added here when they are supportedaddCollisionSpecification
(Motion.CollisionSpecification.Builder builderForValue) Arc constraint, Time constraint, and others will be added here when they are supportedaddLinearConstraint
(int index, Motion.LinearConstraint value) Typed message for a specific constraintaddLinearConstraint
(int index, Motion.LinearConstraint.Builder builderForValue) Typed message for a specific constraintTyped message for a specific constraintaddLinearConstraint
(Motion.LinearConstraint.Builder builderForValue) Typed message for a specific constraintaddOrientationConstraint
(int index, Motion.OrientationConstraint value) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
addOrientationConstraint
(int index, Motion.OrientationConstraint.Builder builderForValue) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
addOrientationConstraint
(Motion.OrientationConstraint.Builder builderForValue) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
Arc constraint, Time constraint, and others will be added here when they are supportedTyped message for a specific constraintrepeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
getCollisionSpecification
(int index) Arc constraint, Time constraint, and others will be added here when they are supportedint
Arc constraint, Time constraint, and others will be added here when they are supportedArc constraint, Time constraint, and others will be added here when they are supportedgetLinearConstraint
(int index) Typed message for a specific constraintint
Typed message for a specific constraintTyped message for a specific constraintgetOrientationConstraint
(int index) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
int
repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
removeCollisionSpecification
(int index) Arc constraint, Time constraint, and others will be added here when they are supportedremoveLinearConstraint
(int index) Typed message for a specific constraintremoveOrientationConstraint
(int index) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
setCollisionSpecification
(int index, Motion.CollisionSpecification value) Arc constraint, Time constraint, and others will be added here when they are supportedsetCollisionSpecification
(int index, Motion.CollisionSpecification.Builder builderForValue) Arc constraint, Time constraint, and others will be added here when they are supportedsetLinearConstraint
(int index, Motion.LinearConstraint value) Typed message for a specific constraintsetLinearConstraint
(int index, Motion.LinearConstraint.Builder builderForValue) Typed message for a specific constraintsetOrientationConstraint
(int index, Motion.OrientationConstraint value) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
setOrientationConstraint
(int index, Motion.OrientationConstraint.Builder builderForValue) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
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
-
getLinearConstraintList
Typed message for a specific constraint
repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
- Specified by:
getLinearConstraintList
in interfaceMotion.ConstraintsOrBuilder
-
getLinearConstraintCount
public int getLinearConstraintCount()Typed message for a specific constraint
repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
- Specified by:
getLinearConstraintCount
in interfaceMotion.ConstraintsOrBuilder
-
getLinearConstraint
Typed message for a specific constraint
repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
- Specified by:
getLinearConstraint
in interfaceMotion.ConstraintsOrBuilder
-
setLinearConstraint
Typed message for a specific constraint
repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
-
setLinearConstraint
public Motion.Constraints.Builder setLinearConstraint(int index, Motion.LinearConstraint.Builder builderForValue) Typed message for a specific constraint
repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
-
addLinearConstraint
Typed message for a specific constraint
repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
-
addLinearConstraint
Typed message for a specific constraint
repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
-
addLinearConstraint
public Motion.Constraints.Builder addLinearConstraint(Motion.LinearConstraint.Builder builderForValue) Typed message for a specific constraint
repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
-
addLinearConstraint
public Motion.Constraints.Builder addLinearConstraint(int index, Motion.LinearConstraint.Builder builderForValue) Typed message for a specific constraint
repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
-
addAllLinearConstraint
public Motion.Constraints.Builder addAllLinearConstraint(Iterable<? extends Motion.LinearConstraint> values) Typed message for a specific constraint
repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
-
clearLinearConstraint
Typed message for a specific constraint
repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
-
removeLinearConstraint
Typed message for a specific constraint
repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
-
getOrientationConstraintList
repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
- Specified by:
getOrientationConstraintList
in interfaceMotion.ConstraintsOrBuilder
-
getOrientationConstraintCount
public int getOrientationConstraintCount()repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
- Specified by:
getOrientationConstraintCount
in interfaceMotion.ConstraintsOrBuilder
-
getOrientationConstraint
repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
- Specified by:
getOrientationConstraint
in interfaceMotion.ConstraintsOrBuilder
-
setOrientationConstraint
public Motion.Constraints.Builder setOrientationConstraint(int index, Motion.OrientationConstraint value) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
-
setOrientationConstraint
public Motion.Constraints.Builder setOrientationConstraint(int index, Motion.OrientationConstraint.Builder builderForValue) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
-
addOrientationConstraint
repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
-
addOrientationConstraint
public Motion.Constraints.Builder addOrientationConstraint(int index, Motion.OrientationConstraint value) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
-
addOrientationConstraint
public Motion.Constraints.Builder addOrientationConstraint(Motion.OrientationConstraint.Builder builderForValue) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
-
addOrientationConstraint
public Motion.Constraints.Builder addOrientationConstraint(int index, Motion.OrientationConstraint.Builder builderForValue) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
-
addAllOrientationConstraint
public Motion.Constraints.Builder addAllOrientationConstraint(Iterable<? extends Motion.OrientationConstraint> values) repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
-
clearOrientationConstraint
repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
-
removeOrientationConstraint
repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
-
getCollisionSpecificationList
Arc constraint, Time constraint, and others will be added here when they are supported
repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
- Specified by:
getCollisionSpecificationList
in interfaceMotion.ConstraintsOrBuilder
-
getCollisionSpecificationCount
public int getCollisionSpecificationCount()Arc constraint, Time constraint, and others will be added here when they are supported
repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
- Specified by:
getCollisionSpecificationCount
in interfaceMotion.ConstraintsOrBuilder
-
getCollisionSpecification
Arc constraint, Time constraint, and others will be added here when they are supported
repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
- Specified by:
getCollisionSpecification
in interfaceMotion.ConstraintsOrBuilder
-
setCollisionSpecification
public Motion.Constraints.Builder setCollisionSpecification(int index, Motion.CollisionSpecification value) Arc constraint, Time constraint, and others will be added here when they are supported
repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
-
setCollisionSpecification
public Motion.Constraints.Builder setCollisionSpecification(int index, Motion.CollisionSpecification.Builder builderForValue) Arc constraint, Time constraint, and others will be added here when they are supported
repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
-
addCollisionSpecification
Arc constraint, Time constraint, and others will be added here when they are supported
repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
-
addCollisionSpecification
public Motion.Constraints.Builder addCollisionSpecification(int index, Motion.CollisionSpecification value) Arc constraint, Time constraint, and others will be added here when they are supported
repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
-
addCollisionSpecification
public Motion.Constraints.Builder addCollisionSpecification(Motion.CollisionSpecification.Builder builderForValue) Arc constraint, Time constraint, and others will be added here when they are supported
repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
-
addCollisionSpecification
public Motion.Constraints.Builder addCollisionSpecification(int index, Motion.CollisionSpecification.Builder builderForValue) Arc constraint, Time constraint, and others will be added here when they are supported
repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
-
addAllCollisionSpecification
public Motion.Constraints.Builder addAllCollisionSpecification(Iterable<? extends Motion.CollisionSpecification> values) Arc constraint, Time constraint, and others will be added here when they are supported
repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
-
clearCollisionSpecification
Arc constraint, Time constraint, and others will be added here when they are supported
repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
-
removeCollisionSpecification
Arc constraint, Time constraint, and others will be added here when they are supported
repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
-