Package com.viam.service.motion.v1
Class Motion.MoveRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.MoveRequest,Motion.MoveRequest.Builder>
com.viam.service.motion.v1.Motion.MoveRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Motion.MoveRequestOrBuilder
,Cloneable
- Enclosing class:
- Motion.MoveRequest
public static final class Motion.MoveRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.MoveRequest,Motion.MoveRequest.Builder>
implements Motion.MoveRequestOrBuilder
Moves any component on the robot to a specified destination which can be from the reference frame of any other component on the robot.Protobuf type
viam.service.motion.v1.MoveRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionComponent on the robot to move to the specified destinationConstrain the way the robot will moveDestination to move to, which can a pose in the reference frame of any frame in the robot's frame systemAdditional arguments to the methodName of the motion serviceAvoid obstacles by specifying their geometries in the world state Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the MoveComponent on the robot to move to the specified destinationConstrain the way the robot will moveDestination to move to, which can a pose in the reference frame of any frame in the robot's frame systemcom.google.protobuf.Struct
getExtra()
Additional arguments to the methodgetName()
Name of the motion servicecom.google.protobuf.ByteString
Name of the motion serviceAvoid obstacles by specifying their geometries in the world state Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the Moveboolean
Component on the robot to move to the specified destinationboolean
Constrain the way the robot will moveboolean
Destination to move to, which can a pose in the reference frame of any frame in the robot's frame systemboolean
hasExtra()
Additional arguments to the methodboolean
Avoid obstacles by specifying their geometries in the world state Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the MoveComponent on the robot to move to the specified destinationConstrain the way the robot will moveDestination to move to, which can a pose in the reference frame of any frame in the robot's frame systemmergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodmergeWorldState
(Common.WorldState value) Avoid obstacles by specifying their geometries in the world state Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the MoveComponent on the robot to move to the specified destinationsetComponentName
(Common.ResourceName.Builder builderForValue) Component on the robot to move to the specified destinationsetConstraints
(Motion.Constraints value) Constrain the way the robot will movesetConstraints
(Motion.Constraints.Builder builderForValue) Constrain the way the robot will movesetDestination
(Common.PoseInFrame value) Destination to move to, which can a pose in the reference frame of any frame in the robot's frame systemsetDestination
(Common.PoseInFrame.Builder builderForValue) Destination to move to, which can a pose in the reference frame of any frame in the robot's frame systemsetExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodName of the motion servicesetNameBytes
(com.google.protobuf.ByteString value) Name of the motion servicesetWorldState
(Common.WorldState value) Avoid obstacles by specifying their geometries in the world state Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the MovesetWorldState
(Common.WorldState.Builder builderForValue) Avoid obstacles by specifying their geometries in the world state Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the MoveMethods 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
-
getName
Name of the motion service
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceMotion.MoveRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the motion service
string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceMotion.MoveRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
Name of the motion service
string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the motion service
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
Name of the motion service
string name = 1 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDestination
public boolean hasDestination()Destination to move to, which can a pose in the reference frame of any frame in the robot's frame system
.viam.common.v1.PoseInFrame destination = 2 [json_name = "destination"];
- Specified by:
hasDestination
in interfaceMotion.MoveRequestOrBuilder
- Returns:
- Whether the destination field is set.
-
getDestination
Destination to move to, which can a pose in the reference frame of any frame in the robot's frame system
.viam.common.v1.PoseInFrame destination = 2 [json_name = "destination"];
- Specified by:
getDestination
in interfaceMotion.MoveRequestOrBuilder
- Returns:
- The destination.
-
setDestination
Destination to move to, which can a pose in the reference frame of any frame in the robot's frame system
.viam.common.v1.PoseInFrame destination = 2 [json_name = "destination"];
-
setDestination
Destination to move to, which can a pose in the reference frame of any frame in the robot's frame system
.viam.common.v1.PoseInFrame destination = 2 [json_name = "destination"];
-
mergeDestination
Destination to move to, which can a pose in the reference frame of any frame in the robot's frame system
.viam.common.v1.PoseInFrame destination = 2 [json_name = "destination"];
-
clearDestination
Destination to move to, which can a pose in the reference frame of any frame in the robot's frame system
.viam.common.v1.PoseInFrame destination = 2 [json_name = "destination"];
-
hasComponentName
public boolean hasComponentName()Component on the robot to move to the specified destination
.viam.common.v1.ResourceName component_name = 3 [json_name = "componentName"];
- Specified by:
hasComponentName
in interfaceMotion.MoveRequestOrBuilder
- Returns:
- Whether the componentName field is set.
-
getComponentName
Component on the robot to move to the specified destination
.viam.common.v1.ResourceName component_name = 3 [json_name = "componentName"];
- Specified by:
getComponentName
in interfaceMotion.MoveRequestOrBuilder
- Returns:
- The componentName.
-
setComponentName
Component on the robot to move to the specified destination
.viam.common.v1.ResourceName component_name = 3 [json_name = "componentName"];
-
setComponentName
Component on the robot to move to the specified destination
.viam.common.v1.ResourceName component_name = 3 [json_name = "componentName"];
-
mergeComponentName
Component on the robot to move to the specified destination
.viam.common.v1.ResourceName component_name = 3 [json_name = "componentName"];
-
clearComponentName
Component on the robot to move to the specified destination
.viam.common.v1.ResourceName component_name = 3 [json_name = "componentName"];
-
hasWorldState
public boolean hasWorldState()Avoid obstacles by specifying their geometries in the world state Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the Move
optional .viam.common.v1.WorldState world_state = 4 [json_name = "worldState"];
- Specified by:
hasWorldState
in interfaceMotion.MoveRequestOrBuilder
- Returns:
- Whether the worldState field is set.
-
getWorldState
Avoid obstacles by specifying their geometries in the world state Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the Move
optional .viam.common.v1.WorldState world_state = 4 [json_name = "worldState"];
- Specified by:
getWorldState
in interfaceMotion.MoveRequestOrBuilder
- Returns:
- The worldState.
-
setWorldState
Avoid obstacles by specifying their geometries in the world state Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the Move
optional .viam.common.v1.WorldState world_state = 4 [json_name = "worldState"];
-
setWorldState
Avoid obstacles by specifying their geometries in the world state Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the Move
optional .viam.common.v1.WorldState world_state = 4 [json_name = "worldState"];
-
mergeWorldState
Avoid obstacles by specifying their geometries in the world state Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the Move
optional .viam.common.v1.WorldState world_state = 4 [json_name = "worldState"];
-
clearWorldState
Avoid obstacles by specifying their geometries in the world state Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the Move
optional .viam.common.v1.WorldState world_state = 4 [json_name = "worldState"];
-
hasConstraints
public boolean hasConstraints()Constrain the way the robot will move
optional .viam.service.motion.v1.Constraints constraints = 5 [json_name = "constraints"];
- Specified by:
hasConstraints
in interfaceMotion.MoveRequestOrBuilder
- Returns:
- Whether the constraints field is set.
-
getConstraints
Constrain the way the robot will move
optional .viam.service.motion.v1.Constraints constraints = 5 [json_name = "constraints"];
- Specified by:
getConstraints
in interfaceMotion.MoveRequestOrBuilder
- Returns:
- The constraints.
-
setConstraints
Constrain the way the robot will move
optional .viam.service.motion.v1.Constraints constraints = 5 [json_name = "constraints"];
-
setConstraints
Constrain the way the robot will move
optional .viam.service.motion.v1.Constraints constraints = 5 [json_name = "constraints"];
-
mergeConstraints
Constrain the way the robot will move
optional .viam.service.motion.v1.Constraints constraints = 5 [json_name = "constraints"];
-
clearConstraints
Constrain the way the robot will move
optional .viam.service.motion.v1.Constraints constraints = 5 [json_name = "constraints"];
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceMotion.MoveRequestOrBuilder
- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
getExtra
in interfaceMotion.MoveRequestOrBuilder
- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
mergeExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
clearExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-