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 destinationDeprecated.Constrain 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 destinationcom.google.protobuf.ByteStringComponent on the robot to move to the specified destinationDeprecated.Constrain 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.StructgetExtra()Additional arguments to the methodgetName()Name of the motion servicecom.google.protobuf.ByteStringName 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 MovebooleanDeprecated.booleanConstrain the way the robot will movebooleanDestination to move to, which can a pose in the reference frame of any frame in the robot's frame systembooleanhasExtra()Additional arguments to the methodbooleanAvoid 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 MoveDeprecated.Constrain 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 MovesetComponentName(String value) Component on the robot to move to the specified destinationsetComponentNameBytes(com.google.protobuf.ByteString value) Component on the robot to move to the specified destinationDeprecated.setComponentNameDeprecated(Common.ResourceName.Builder builderForValue) Deprecated.setConstraints(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, 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
-
getName
Name of the motion service
string name = 1 [json_name = "name"];- Specified by:
getNamein 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:
getNameBytesin 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:
hasDestinationin 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:
getDestinationin 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"]; -
hasComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 3 [json_name = "componentNameDeprecated", deprecated = true];- Specified by:
hasComponentNameDeprecatedin interfaceMotion.MoveRequestOrBuilder- Returns:
- Whether the componentNameDeprecated field is set.
-
getComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 3 [json_name = "componentNameDeprecated", deprecated = true];- Specified by:
getComponentNameDeprecatedin interfaceMotion.MoveRequestOrBuilder- Returns:
- The componentNameDeprecated.
-
setComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 3 [json_name = "componentNameDeprecated", deprecated = true]; -
setComponentNameDeprecated
@Deprecated public Motion.MoveRequest.Builder setComponentNameDeprecated(Common.ResourceName.Builder builderForValue) Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 3 [json_name = "componentNameDeprecated", deprecated = true]; -
mergeComponentNameDeprecated
@Deprecated public Motion.MoveRequest.Builder mergeComponentNameDeprecated(Common.ResourceName value) Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 3 [json_name = "componentNameDeprecated", deprecated = true]; -
clearComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 3 [json_name = "componentNameDeprecated", deprecated = true]; -
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:
hasWorldStatein 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:
getWorldStatein 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:
hasConstraintsin 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:
getConstraintsin 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"]; -
getComponentName
Component on the robot to move to the specified destination
string component_name = 6 [json_name = "componentName"];- Specified by:
getComponentNamein interfaceMotion.MoveRequestOrBuilder- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()Component on the robot to move to the specified destination
string component_name = 6 [json_name = "componentName"];- Specified by:
getComponentNameBytesin interfaceMotion.MoveRequestOrBuilder- Returns:
- The bytes for componentName.
-
setComponentName
Component on the robot to move to the specified destination
string component_name = 6 [json_name = "componentName"];- Parameters:
value- The componentName to set.- Returns:
- This builder for chaining.
-
clearComponentName
Component on the robot to move to the specified destination
string component_name = 6 [json_name = "componentName"];- Returns:
- This builder for chaining.
-
setComponentNameBytes
Component on the robot to move to the specified destination
string component_name = 6 [json_name = "componentName"];- Parameters:
value- The bytes for componentName to set.- Returns:
- This builder for chaining.
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
hasExtrain 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:
getExtrain 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"];
-