Package com.viam.service.motion.v1
Class Motion.MoveOnMapRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.MoveOnMapRequest,Motion.MoveOnMapRequest.Builder>
com.viam.service.motion.v1.Motion.MoveOnMapRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Motion.MoveOnMapRequestOrBuilder
,Cloneable
- Enclosing class:
- Motion.MoveOnMapRequest
public static final class Motion.MoveOnMapRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.MoveOnMapRequest,Motion.MoveOnMapRequest.Builder>
implements Motion.MoveOnMapRequestOrBuilder
Protobuf type
viam.service.motion.v1.MoveOnMapRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllObstacles
(Iterable<? extends Common.Geometry> values) Obstacles to be considered for motion planningaddObstacles
(int index, Common.Geometry value) Obstacles to be considered for motion planningaddObstacles
(int index, Common.Geometry.Builder builderForValue) Obstacles to be considered for motion planningaddObstacles
(Common.Geometry value) Obstacles to be considered for motion planningaddObstacles
(Common.Geometry.Builder builderForValue) Obstacles to be considered for motion planningComponent on the robot to move to the specified destinationSpecify a destination to, which can be any pose with respect to the SLAM map's originAdditional arguments to the methodOptional set of motion configuration optionsName of the motion serviceObstacles to be considered for motion planningName of the slam service from which the SLAM map is requestedComponent on the robot to move to the specified destinationSpecify a destination to, which can be any pose with respect to the SLAM map's origincom.google.protobuf.Struct
getExtra()
Additional arguments to the methodOptional set of motion configuration optionsgetName()
Name of the motion servicecom.google.protobuf.ByteString
Name of the motion servicegetObstacles
(int index) Obstacles to be considered for motion planningint
Obstacles to be considered for motion planningObstacles to be considered for motion planningName of the slam service from which the SLAM map is requestedboolean
Component on the robot to move to the specified destinationboolean
Specify a destination to, which can be any pose with respect to the SLAM map's originboolean
hasExtra()
Additional arguments to the methodboolean
Optional set of motion configuration optionsboolean
Name of the slam service from which the SLAM map is requestedComponent on the robot to move to the specified destinationmergeDestination
(Common.Pose value) Specify a destination to, which can be any pose with respect to the SLAM map's originmergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodOptional set of motion configuration optionsName of the slam service from which the SLAM map is requestedremoveObstacles
(int index) Obstacles to be considered for motion planningComponent on the robot to move to the specified destinationsetComponentName
(Common.ResourceName.Builder builderForValue) Component on the robot to move to the specified destinationsetDestination
(Common.Pose value) Specify a destination to, which can be any pose with respect to the SLAM map's originsetDestination
(Common.Pose.Builder builderForValue) Specify a destination to, which can be any pose with respect to the SLAM map's originsetExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodOptional set of motion configuration optionssetMotionConfiguration
(Motion.MotionConfiguration.Builder builderForValue) Optional set of motion configuration optionsName of the motion servicesetNameBytes
(com.google.protobuf.ByteString value) Name of the motion servicesetObstacles
(int index, Common.Geometry value) Obstacles to be considered for motion planningsetObstacles
(int index, Common.Geometry.Builder builderForValue) Obstacles to be considered for motion planningName of the slam service from which the SLAM map is requestedsetSlamServiceName
(Common.ResourceName.Builder builderForValue) Name of the slam service from which the SLAM map is requestedMethods 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.MoveOnMapRequestOrBuilder
- 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.MoveOnMapRequestOrBuilder
- 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()Specify a destination to, which can be any pose with respect to the SLAM map's origin
.viam.common.v1.Pose destination = 2 [json_name = "destination"];
- Specified by:
hasDestination
in interfaceMotion.MoveOnMapRequestOrBuilder
- Returns:
- Whether the destination field is set.
-
getDestination
Specify a destination to, which can be any pose with respect to the SLAM map's origin
.viam.common.v1.Pose destination = 2 [json_name = "destination"];
- Specified by:
getDestination
in interfaceMotion.MoveOnMapRequestOrBuilder
- Returns:
- The destination.
-
setDestination
Specify a destination to, which can be any pose with respect to the SLAM map's origin
.viam.common.v1.Pose destination = 2 [json_name = "destination"];
-
setDestination
Specify a destination to, which can be any pose with respect to the SLAM map's origin
.viam.common.v1.Pose destination = 2 [json_name = "destination"];
-
mergeDestination
Specify a destination to, which can be any pose with respect to the SLAM map's origin
.viam.common.v1.Pose destination = 2 [json_name = "destination"];
-
clearDestination
Specify a destination to, which can be any pose with respect to the SLAM map's origin
.viam.common.v1.Pose 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.MoveOnMapRequestOrBuilder
- 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.MoveOnMapRequestOrBuilder
- 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
public Motion.MoveOnMapRequest.Builder setComponentName(Common.ResourceName.Builder builderForValue) 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"];
-
hasSlamServiceName
public boolean hasSlamServiceName()Name of the slam service from which the SLAM map is requested
.viam.common.v1.ResourceName slam_service_name = 4 [json_name = "slamServiceName"];
- Specified by:
hasSlamServiceName
in interfaceMotion.MoveOnMapRequestOrBuilder
- Returns:
- Whether the slamServiceName field is set.
-
getSlamServiceName
Name of the slam service from which the SLAM map is requested
.viam.common.v1.ResourceName slam_service_name = 4 [json_name = "slamServiceName"];
- Specified by:
getSlamServiceName
in interfaceMotion.MoveOnMapRequestOrBuilder
- Returns:
- The slamServiceName.
-
setSlamServiceName
Name of the slam service from which the SLAM map is requested
.viam.common.v1.ResourceName slam_service_name = 4 [json_name = "slamServiceName"];
-
setSlamServiceName
public Motion.MoveOnMapRequest.Builder setSlamServiceName(Common.ResourceName.Builder builderForValue) Name of the slam service from which the SLAM map is requested
.viam.common.v1.ResourceName slam_service_name = 4 [json_name = "slamServiceName"];
-
mergeSlamServiceName
Name of the slam service from which the SLAM map is requested
.viam.common.v1.ResourceName slam_service_name = 4 [json_name = "slamServiceName"];
-
clearSlamServiceName
Name of the slam service from which the SLAM map is requested
.viam.common.v1.ResourceName slam_service_name = 4 [json_name = "slamServiceName"];
-
hasMotionConfiguration
public boolean hasMotionConfiguration()Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 5 [json_name = "motionConfiguration"];
- Specified by:
hasMotionConfiguration
in interfaceMotion.MoveOnMapRequestOrBuilder
- Returns:
- Whether the motionConfiguration field is set.
-
getMotionConfiguration
Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 5 [json_name = "motionConfiguration"];
- Specified by:
getMotionConfiguration
in interfaceMotion.MoveOnMapRequestOrBuilder
- Returns:
- The motionConfiguration.
-
setMotionConfiguration
Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 5 [json_name = "motionConfiguration"];
-
setMotionConfiguration
public Motion.MoveOnMapRequest.Builder setMotionConfiguration(Motion.MotionConfiguration.Builder builderForValue) Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 5 [json_name = "motionConfiguration"];
-
mergeMotionConfiguration
Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 5 [json_name = "motionConfiguration"];
-
clearMotionConfiguration
Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 5 [json_name = "motionConfiguration"];
-
getObstaclesList
Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
- Specified by:
getObstaclesList
in interfaceMotion.MoveOnMapRequestOrBuilder
-
getObstaclesCount
public int getObstaclesCount()Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
- Specified by:
getObstaclesCount
in interfaceMotion.MoveOnMapRequestOrBuilder
-
getObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
- Specified by:
getObstacles
in interfaceMotion.MoveOnMapRequestOrBuilder
-
setObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
-
setObstacles
public Motion.MoveOnMapRequest.Builder setObstacles(int index, Common.Geometry.Builder builderForValue) Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
-
addObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
-
addObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
-
addObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
-
addObstacles
public Motion.MoveOnMapRequest.Builder addObstacles(int index, Common.Geometry.Builder builderForValue) Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
-
addAllObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
-
clearObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
-
removeObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceMotion.MoveOnMapRequestOrBuilder
- 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.MoveOnMapRequestOrBuilder
- 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"];
-