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 destinationDeprecated.Specify 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 requestedDeprecated.Component on the robot to move to the specified destinationcom.google.protobuf.ByteStringComponent on the robot to move to the specified destinationDeprecated.Specify a destination to, which can be any pose with respect to the SLAM map's origincom.google.protobuf.StructgetExtra()Additional arguments to the methodOptional set of motion configuration optionsgetName()Name of the motion servicecom.google.protobuf.ByteStringName of the motion servicegetObstacles(int index) Obstacles to be considered for motion planningintObstacles to be considered for motion planningObstacles to be considered for motion planningName of the slam service from which the SLAM map is requestedcom.google.protobuf.ByteStringName of the slam service from which the SLAM map is requestedDeprecated.booleanDeprecated.booleanSpecify a destination to, which can be any pose with respect to the SLAM map's originbooleanhasExtra()Additional arguments to the methodbooleanOptional set of motion configuration optionsbooleanDeprecated.Deprecated.mergeDestination(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 optionsDeprecated.removeObstacles(int index) Obstacles to be considered for motion planningsetComponentName(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.setDestination(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 planningsetSlamServiceName(String value) Name of the slam service from which the SLAM map is requestedsetSlamServiceNameBytes(com.google.protobuf.ByteString value) Name of the slam service from which the SLAM map is requestedDeprecated.setSlamServiceNameDeprecated(Common.ResourceName.Builder builderForValue) Deprecated.Methods 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.MoveOnMapRequestOrBuilder- 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.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:
hasDestinationin 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:
getDestinationin 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"]; -
hasComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 3 [json_name = "componentNameDeprecated", deprecated = true];- Specified by:
hasComponentNameDeprecatedin interfaceMotion.MoveOnMapRequestOrBuilder- 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.MoveOnMapRequestOrBuilder- Returns:
- The componentNameDeprecated.
-
setComponentNameDeprecated
@Deprecated public Motion.MoveOnMapRequest.Builder setComponentNameDeprecated(Common.ResourceName value) Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 3 [json_name = "componentNameDeprecated", deprecated = true]; -
setComponentNameDeprecated
@Deprecated public Motion.MoveOnMapRequest.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.MoveOnMapRequest.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]; -
hasSlamServiceNameDeprecated
Deprecated.Deprecated, use slam_service_name field.
.viam.common.v1.ResourceName slam_service_name_deprecated = 4 [json_name = "slamServiceNameDeprecated", deprecated = true];- Specified by:
hasSlamServiceNameDeprecatedin interfaceMotion.MoveOnMapRequestOrBuilder- Returns:
- Whether the slamServiceNameDeprecated field is set.
-
getSlamServiceNameDeprecated
Deprecated.Deprecated, use slam_service_name field.
.viam.common.v1.ResourceName slam_service_name_deprecated = 4 [json_name = "slamServiceNameDeprecated", deprecated = true];- Specified by:
getSlamServiceNameDeprecatedin interfaceMotion.MoveOnMapRequestOrBuilder- Returns:
- The slamServiceNameDeprecated.
-
setSlamServiceNameDeprecated
@Deprecated public Motion.MoveOnMapRequest.Builder setSlamServiceNameDeprecated(Common.ResourceName value) Deprecated.Deprecated, use slam_service_name field.
.viam.common.v1.ResourceName slam_service_name_deprecated = 4 [json_name = "slamServiceNameDeprecated", deprecated = true]; -
setSlamServiceNameDeprecated
@Deprecated public Motion.MoveOnMapRequest.Builder setSlamServiceNameDeprecated(Common.ResourceName.Builder builderForValue) Deprecated.Deprecated, use slam_service_name field.
.viam.common.v1.ResourceName slam_service_name_deprecated = 4 [json_name = "slamServiceNameDeprecated", deprecated = true]; -
mergeSlamServiceNameDeprecated
@Deprecated public Motion.MoveOnMapRequest.Builder mergeSlamServiceNameDeprecated(Common.ResourceName value) Deprecated.Deprecated, use slam_service_name field.
.viam.common.v1.ResourceName slam_service_name_deprecated = 4 [json_name = "slamServiceNameDeprecated", deprecated = true]; -
clearSlamServiceNameDeprecated
Deprecated.Deprecated, use slam_service_name field.
.viam.common.v1.ResourceName slam_service_name_deprecated = 4 [json_name = "slamServiceNameDeprecated", deprecated = true]; -
hasMotionConfiguration
public boolean hasMotionConfiguration()Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 5 [json_name = "motionConfiguration"];- Specified by:
hasMotionConfigurationin 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:
getMotionConfigurationin 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:
getObstaclesListin 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:
getObstaclesCountin interfaceMotion.MoveOnMapRequestOrBuilder
-
getObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];- Specified by:
getObstaclesin 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"]; -
getComponentName
Component on the robot to move to the specified destination
string component_name = 7 [json_name = "componentName"];- Specified by:
getComponentNamein interfaceMotion.MoveOnMapRequestOrBuilder- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()Component on the robot to move to the specified destination
string component_name = 7 [json_name = "componentName"];- Specified by:
getComponentNameBytesin interfaceMotion.MoveOnMapRequestOrBuilder- Returns:
- The bytes for componentName.
-
setComponentName
Component on the robot to move to the specified destination
string component_name = 7 [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 = 7 [json_name = "componentName"];- Returns:
- This builder for chaining.
-
setComponentNameBytes
Component on the robot to move to the specified destination
string component_name = 7 [json_name = "componentName"];- Parameters:
value- The bytes for componentName to set.- Returns:
- This builder for chaining.
-
getSlamServiceName
Name of the slam service from which the SLAM map is requested
string slam_service_name = 8 [json_name = "slamServiceName"];- Specified by:
getSlamServiceNamein interfaceMotion.MoveOnMapRequestOrBuilder- Returns:
- The slamServiceName.
-
getSlamServiceNameBytes
public com.google.protobuf.ByteString getSlamServiceNameBytes()Name of the slam service from which the SLAM map is requested
string slam_service_name = 8 [json_name = "slamServiceName"];- Specified by:
getSlamServiceNameBytesin interfaceMotion.MoveOnMapRequestOrBuilder- Returns:
- The bytes for slamServiceName.
-
setSlamServiceName
Name of the slam service from which the SLAM map is requested
string slam_service_name = 8 [json_name = "slamServiceName"];- Parameters:
value- The slamServiceName to set.- Returns:
- This builder for chaining.
-
clearSlamServiceName
Name of the slam service from which the SLAM map is requested
string slam_service_name = 8 [json_name = "slamServiceName"];- Returns:
- This builder for chaining.
-
setSlamServiceNameBytes
public Motion.MoveOnMapRequest.Builder setSlamServiceNameBytes(com.google.protobuf.ByteString value) Name of the slam service from which the SLAM map is requested
string slam_service_name = 8 [json_name = "slamServiceName"];- Parameters:
value- The bytes for slamServiceName 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.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:
getExtrain 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"];
-