Package com.viam.service.motion.v1
Class Motion.CollisionSpecification.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.CollisionSpecification,Motion.CollisionSpecification.Builder>
com.viam.service.motion.v1.Motion.CollisionSpecification.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Motion.CollisionSpecificationOrBuilder
,Cloneable
- Enclosing class:
- Motion.CollisionSpecification
public static final class Motion.CollisionSpecification.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.CollisionSpecification,Motion.CollisionSpecification.Builder>
implements Motion.CollisionSpecificationOrBuilder
CollisionSpecification is used to selectively apply obstacle avoidance to specific parts of the robotProtobuf type
viam.service.motion.v1.CollisionSpecification
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllows
(Iterable<? extends Motion.CollisionSpecification.AllowedFrameCollisions> values) Pairs of frame which should be allowed to collide with one anotheraddAllows
(int index, Motion.CollisionSpecification.AllowedFrameCollisions value) Pairs of frame which should be allowed to collide with one anotheraddAllows
(int index, Motion.CollisionSpecification.AllowedFrameCollisions.Builder builderForValue) Pairs of frame which should be allowed to collide with one anotherPairs of frame which should be allowed to collide with one anotheraddAllows
(Motion.CollisionSpecification.AllowedFrameCollisions.Builder builderForValue) Pairs of frame which should be allowed to collide with one anotherPairs of frame which should be allowed to collide with one anothergetAllows
(int index) Pairs of frame which should be allowed to collide with one anotherint
Pairs of frame which should be allowed to collide with one anotherPairs of frame which should be allowed to collide with one anotherremoveAllows
(int index) Pairs of frame which should be allowed to collide with one anothersetAllows
(int index, Motion.CollisionSpecification.AllowedFrameCollisions value) Pairs of frame which should be allowed to collide with one anothersetAllows
(int index, Motion.CollisionSpecification.AllowedFrameCollisions.Builder builderForValue) Pairs of frame which should be allowed to collide with one anotherMethods 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
-
getAllowsList
Pairs of frame which should be allowed to collide with one another
repeated .viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1 [json_name = "allows"];
- Specified by:
getAllowsList
in interfaceMotion.CollisionSpecificationOrBuilder
-
getAllowsCount
public int getAllowsCount()Pairs of frame which should be allowed to collide with one another
repeated .viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1 [json_name = "allows"];
- Specified by:
getAllowsCount
in interfaceMotion.CollisionSpecificationOrBuilder
-
getAllows
Pairs of frame which should be allowed to collide with one another
repeated .viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1 [json_name = "allows"];
- Specified by:
getAllows
in interfaceMotion.CollisionSpecificationOrBuilder
-
setAllows
public Motion.CollisionSpecification.Builder setAllows(int index, Motion.CollisionSpecification.AllowedFrameCollisions value) Pairs of frame which should be allowed to collide with one another
repeated .viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1 [json_name = "allows"];
-
setAllows
public Motion.CollisionSpecification.Builder setAllows(int index, Motion.CollisionSpecification.AllowedFrameCollisions.Builder builderForValue) Pairs of frame which should be allowed to collide with one another
repeated .viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1 [json_name = "allows"];
-
addAllows
public Motion.CollisionSpecification.Builder addAllows(Motion.CollisionSpecification.AllowedFrameCollisions value) Pairs of frame which should be allowed to collide with one another
repeated .viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1 [json_name = "allows"];
-
addAllows
public Motion.CollisionSpecification.Builder addAllows(int index, Motion.CollisionSpecification.AllowedFrameCollisions value) Pairs of frame which should be allowed to collide with one another
repeated .viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1 [json_name = "allows"];
-
addAllows
public Motion.CollisionSpecification.Builder addAllows(Motion.CollisionSpecification.AllowedFrameCollisions.Builder builderForValue) Pairs of frame which should be allowed to collide with one another
repeated .viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1 [json_name = "allows"];
-
addAllows
public Motion.CollisionSpecification.Builder addAllows(int index, Motion.CollisionSpecification.AllowedFrameCollisions.Builder builderForValue) Pairs of frame which should be allowed to collide with one another
repeated .viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1 [json_name = "allows"];
-
addAllAllows
public Motion.CollisionSpecification.Builder addAllAllows(Iterable<? extends Motion.CollisionSpecification.AllowedFrameCollisions> values) Pairs of frame which should be allowed to collide with one another
repeated .viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1 [json_name = "allows"];
-
clearAllows
Pairs of frame which should be allowed to collide with one another
repeated .viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1 [json_name = "allows"];
-
removeAllows
Pairs of frame which should be allowed to collide with one another
repeated .viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions allows = 1 [json_name = "allows"];
-