Package com.viam.service.motion.v1
Class Motion.MoveOnGlobeRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.MoveOnGlobeRequest,Motion.MoveOnGlobeRequest.Builder>
com.viam.service.motion.v1.Motion.MoveOnGlobeRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Motion.MoveOnGlobeRequestOrBuilder
,Cloneable
- Enclosing class:
- Motion.MoveOnGlobeRequest
public static final class Motion.MoveOnGlobeRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.MoveOnGlobeRequest,Motion.MoveOnGlobeRequest.Builder>
implements Motion.MoveOnGlobeRequestOrBuilder
Protobuf type
viam.service.motion.v1.MoveOnGlobeRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllBoundingRegions
(Iterable<? extends Common.GeoGeometry> values) Set of obstacles which the robot must remain within while navigatingaddAllObstacles
(Iterable<? extends Common.GeoGeometry> values) Obstacles to be considered for motion planningaddBoundingRegions
(int index, Common.GeoGeometry value) Set of obstacles which the robot must remain within while navigatingaddBoundingRegions
(int index, Common.GeoGeometry.Builder builderForValue) Set of obstacles which the robot must remain within while navigatingSet of obstacles which the robot must remain within while navigatingaddBoundingRegions
(Common.GeoGeometry.Builder builderForValue) Set of obstacles which the robot must remain within while navigatingaddObstacles
(int index, Common.GeoGeometry value) Obstacles to be considered for motion planningaddObstacles
(int index, Common.GeoGeometry.Builder builderForValue) Obstacles to be considered for motion planningaddObstacles
(Common.GeoGeometry value) Obstacles to be considered for motion planningaddObstacles
(Common.GeoGeometry.Builder builderForValue) Obstacles to be considered for motion planningSet of obstacles which the robot must remain within while navigatingComponent on the robot to move to the specified destinationDestination, encoded as a GeoPointAdditional arguments to the methodOptional compass heading to achieve at the destination, in degrees [0-360)Optional set of motion configuration optionsName of the movement sensor which will be used to check robot locationName of the motion serviceObstacles to be considered for motion planninggetBoundingRegions
(int index) Set of obstacles which the robot must remain within while navigatingint
Set of obstacles which the robot must remain within while navigatingSet of obstacles which the robot must remain within while navigatingComponent on the robot to move to the specified destinationDestination, encoded as a GeoPointcom.google.protobuf.Struct
getExtra()
Additional arguments to the methoddouble
Optional compass heading to achieve at the destination, in degrees [0-360)Optional set of motion configuration optionsName of the movement sensor which will be used to check robot locationgetName()
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 planningboolean
Component on the robot to move to the specified destinationboolean
Destination, encoded as a GeoPointboolean
hasExtra()
Additional arguments to the methodboolean
Optional compass heading to achieve at the destination, in degrees [0-360)boolean
Optional set of motion configuration optionsboolean
Name of the movement sensor which will be used to check robot locationComponent on the robot to move to the specified destinationmergeDestination
(Common.GeoPoint value) Destination, encoded as a GeoPointmergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodOptional set of motion configuration optionsName of the movement sensor which will be used to check robot locationremoveBoundingRegions
(int index) Set of obstacles which the robot must remain within while navigatingremoveObstacles
(int index) Obstacles to be considered for motion planningsetBoundingRegions
(int index, Common.GeoGeometry value) Set of obstacles which the robot must remain within while navigatingsetBoundingRegions
(int index, Common.GeoGeometry.Builder builderForValue) Set of obstacles which the robot must remain within while navigatingComponent on the robot to move to the specified destinationsetComponentName
(Common.ResourceName.Builder builderForValue) Component on the robot to move to the specified destinationsetDestination
(Common.GeoPoint value) Destination, encoded as a GeoPointsetDestination
(Common.GeoPoint.Builder builderForValue) Destination, encoded as a GeoPointsetExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodsetHeading
(double value) Optional compass heading to achieve at the destination, in degrees [0-360)Optional set of motion configuration optionssetMotionConfiguration
(Motion.MotionConfiguration.Builder builderForValue) Optional set of motion configuration optionsName of the movement sensor which will be used to check robot locationsetMovementSensorName
(Common.ResourceName.Builder builderForValue) Name of the movement sensor which will be used to check robot locationName of the motion servicesetNameBytes
(com.google.protobuf.ByteString value) Name of the motion servicesetObstacles
(int index, Common.GeoGeometry value) Obstacles to be considered for motion planningsetObstacles
(int index, Common.GeoGeometry.Builder builderForValue) Obstacles to be considered for motion planningMethods 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.MoveOnGlobeRequestOrBuilder
- 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.MoveOnGlobeRequestOrBuilder
- 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, encoded as a GeoPoint
.viam.common.v1.GeoPoint destination = 2 [json_name = "destination"];
- Specified by:
hasDestination
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- Whether the destination field is set.
-
getDestination
Destination, encoded as a GeoPoint
.viam.common.v1.GeoPoint destination = 2 [json_name = "destination"];
- Specified by:
getDestination
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- The destination.
-
setDestination
Destination, encoded as a GeoPoint
.viam.common.v1.GeoPoint destination = 2 [json_name = "destination"];
-
setDestination
Destination, encoded as a GeoPoint
.viam.common.v1.GeoPoint destination = 2 [json_name = "destination"];
-
mergeDestination
Destination, encoded as a GeoPoint
.viam.common.v1.GeoPoint destination = 2 [json_name = "destination"];
-
clearDestination
Destination, encoded as a GeoPoint
.viam.common.v1.GeoPoint destination = 2 [json_name = "destination"];
-
hasHeading
public boolean hasHeading()Optional compass heading to achieve at the destination, in degrees [0-360)
optional double heading = 3 [json_name = "heading"];
- Specified by:
hasHeading
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- Whether the heading field is set.
-
getHeading
public double getHeading()Optional compass heading to achieve at the destination, in degrees [0-360)
optional double heading = 3 [json_name = "heading"];
- Specified by:
getHeading
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- The heading.
-
setHeading
Optional compass heading to achieve at the destination, in degrees [0-360)
optional double heading = 3 [json_name = "heading"];
- Parameters:
value
- The heading to set.- Returns:
- This builder for chaining.
-
clearHeading
Optional compass heading to achieve at the destination, in degrees [0-360)
optional double heading = 3 [json_name = "heading"];
- Returns:
- This builder for chaining.
-
hasComponentName
public boolean hasComponentName()Component on the robot to move to the specified destination
.viam.common.v1.ResourceName component_name = 4 [json_name = "componentName"];
- Specified by:
hasComponentName
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- Whether the componentName field is set.
-
getComponentName
Component on the robot to move to the specified destination
.viam.common.v1.ResourceName component_name = 4 [json_name = "componentName"];
- Specified by:
getComponentName
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- The componentName.
-
setComponentName
Component on the robot to move to the specified destination
.viam.common.v1.ResourceName component_name = 4 [json_name = "componentName"];
-
setComponentName
public Motion.MoveOnGlobeRequest.Builder setComponentName(Common.ResourceName.Builder builderForValue) Component on the robot to move to the specified destination
.viam.common.v1.ResourceName component_name = 4 [json_name = "componentName"];
-
mergeComponentName
Component on the robot to move to the specified destination
.viam.common.v1.ResourceName component_name = 4 [json_name = "componentName"];
-
clearComponentName
Component on the robot to move to the specified destination
.viam.common.v1.ResourceName component_name = 4 [json_name = "componentName"];
-
hasMovementSensorName
public boolean hasMovementSensorName()Name of the movement sensor which will be used to check robot location
.viam.common.v1.ResourceName movement_sensor_name = 5 [json_name = "movementSensorName"];
- Specified by:
hasMovementSensorName
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- Whether the movementSensorName field is set.
-
getMovementSensorName
Name of the movement sensor which will be used to check robot location
.viam.common.v1.ResourceName movement_sensor_name = 5 [json_name = "movementSensorName"];
- Specified by:
getMovementSensorName
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- The movementSensorName.
-
setMovementSensorName
Name of the movement sensor which will be used to check robot location
.viam.common.v1.ResourceName movement_sensor_name = 5 [json_name = "movementSensorName"];
-
setMovementSensorName
public Motion.MoveOnGlobeRequest.Builder setMovementSensorName(Common.ResourceName.Builder builderForValue) Name of the movement sensor which will be used to check robot location
.viam.common.v1.ResourceName movement_sensor_name = 5 [json_name = "movementSensorName"];
-
mergeMovementSensorName
Name of the movement sensor which will be used to check robot location
.viam.common.v1.ResourceName movement_sensor_name = 5 [json_name = "movementSensorName"];
-
clearMovementSensorName
Name of the movement sensor which will be used to check robot location
.viam.common.v1.ResourceName movement_sensor_name = 5 [json_name = "movementSensorName"];
-
getObstaclesList
Obstacles to be considered for motion planning
repeated .viam.common.v1.GeoGeometry obstacles = 6 [json_name = "obstacles"];
- Specified by:
getObstaclesList
in interfaceMotion.MoveOnGlobeRequestOrBuilder
-
getObstaclesCount
public int getObstaclesCount()Obstacles to be considered for motion planning
repeated .viam.common.v1.GeoGeometry obstacles = 6 [json_name = "obstacles"];
- Specified by:
getObstaclesCount
in interfaceMotion.MoveOnGlobeRequestOrBuilder
-
getObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.GeoGeometry obstacles = 6 [json_name = "obstacles"];
- Specified by:
getObstacles
in interfaceMotion.MoveOnGlobeRequestOrBuilder
-
setObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.GeoGeometry obstacles = 6 [json_name = "obstacles"];
-
setObstacles
public Motion.MoveOnGlobeRequest.Builder setObstacles(int index, Common.GeoGeometry.Builder builderForValue) Obstacles to be considered for motion planning
repeated .viam.common.v1.GeoGeometry obstacles = 6 [json_name = "obstacles"];
-
addObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.GeoGeometry obstacles = 6 [json_name = "obstacles"];
-
addObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.GeoGeometry obstacles = 6 [json_name = "obstacles"];
-
addObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.GeoGeometry obstacles = 6 [json_name = "obstacles"];
-
addObstacles
public Motion.MoveOnGlobeRequest.Builder addObstacles(int index, Common.GeoGeometry.Builder builderForValue) Obstacles to be considered for motion planning
repeated .viam.common.v1.GeoGeometry obstacles = 6 [json_name = "obstacles"];
-
addAllObstacles
public Motion.MoveOnGlobeRequest.Builder addAllObstacles(Iterable<? extends Common.GeoGeometry> values) Obstacles to be considered for motion planning
repeated .viam.common.v1.GeoGeometry obstacles = 6 [json_name = "obstacles"];
-
clearObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.GeoGeometry obstacles = 6 [json_name = "obstacles"];
-
removeObstacles
Obstacles to be considered for motion planning
repeated .viam.common.v1.GeoGeometry obstacles = 6 [json_name = "obstacles"];
-
hasMotionConfiguration
public boolean hasMotionConfiguration()Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 7 [json_name = "motionConfiguration"];
- Specified by:
hasMotionConfiguration
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- Whether the motionConfiguration field is set.
-
getMotionConfiguration
Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 7 [json_name = "motionConfiguration"];
- Specified by:
getMotionConfiguration
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- The motionConfiguration.
-
setMotionConfiguration
Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 7 [json_name = "motionConfiguration"];
-
setMotionConfiguration
public Motion.MoveOnGlobeRequest.Builder setMotionConfiguration(Motion.MotionConfiguration.Builder builderForValue) Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 7 [json_name = "motionConfiguration"];
-
mergeMotionConfiguration
Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 7 [json_name = "motionConfiguration"];
-
clearMotionConfiguration
Optional set of motion configuration options
optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 7 [json_name = "motionConfiguration"];
-
getBoundingRegionsList
Set of obstacles which the robot must remain within while navigating
repeated .viam.common.v1.GeoGeometry bounding_regions = 8 [json_name = "boundingRegions"];
- Specified by:
getBoundingRegionsList
in interfaceMotion.MoveOnGlobeRequestOrBuilder
-
getBoundingRegionsCount
public int getBoundingRegionsCount()Set of obstacles which the robot must remain within while navigating
repeated .viam.common.v1.GeoGeometry bounding_regions = 8 [json_name = "boundingRegions"];
- Specified by:
getBoundingRegionsCount
in interfaceMotion.MoveOnGlobeRequestOrBuilder
-
getBoundingRegions
Set of obstacles which the robot must remain within while navigating
repeated .viam.common.v1.GeoGeometry bounding_regions = 8 [json_name = "boundingRegions"];
- Specified by:
getBoundingRegions
in interfaceMotion.MoveOnGlobeRequestOrBuilder
-
setBoundingRegions
Set of obstacles which the robot must remain within while navigating
repeated .viam.common.v1.GeoGeometry bounding_regions = 8 [json_name = "boundingRegions"];
-
setBoundingRegions
public Motion.MoveOnGlobeRequest.Builder setBoundingRegions(int index, Common.GeoGeometry.Builder builderForValue) Set of obstacles which the robot must remain within while navigating
repeated .viam.common.v1.GeoGeometry bounding_regions = 8 [json_name = "boundingRegions"];
-
addBoundingRegions
Set of obstacles which the robot must remain within while navigating
repeated .viam.common.v1.GeoGeometry bounding_regions = 8 [json_name = "boundingRegions"];
-
addBoundingRegions
Set of obstacles which the robot must remain within while navigating
repeated .viam.common.v1.GeoGeometry bounding_regions = 8 [json_name = "boundingRegions"];
-
addBoundingRegions
public Motion.MoveOnGlobeRequest.Builder addBoundingRegions(Common.GeoGeometry.Builder builderForValue) Set of obstacles which the robot must remain within while navigating
repeated .viam.common.v1.GeoGeometry bounding_regions = 8 [json_name = "boundingRegions"];
-
addBoundingRegions
public Motion.MoveOnGlobeRequest.Builder addBoundingRegions(int index, Common.GeoGeometry.Builder builderForValue) Set of obstacles which the robot must remain within while navigating
repeated .viam.common.v1.GeoGeometry bounding_regions = 8 [json_name = "boundingRegions"];
-
addAllBoundingRegions
public Motion.MoveOnGlobeRequest.Builder addAllBoundingRegions(Iterable<? extends Common.GeoGeometry> values) Set of obstacles which the robot must remain within while navigating
repeated .viam.common.v1.GeoGeometry bounding_regions = 8 [json_name = "boundingRegions"];
-
clearBoundingRegions
Set of obstacles which the robot must remain within while navigating
repeated .viam.common.v1.GeoGeometry bounding_regions = 8 [json_name = "boundingRegions"];
-
removeBoundingRegions
Set of obstacles which the robot must remain within while navigating
repeated .viam.common.v1.GeoGeometry bounding_regions = 8 [json_name = "boundingRegions"];
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- 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.MoveOnGlobeRequestOrBuilder
- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
setExtra
public Motion.MoveOnGlobeRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue) 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"];
-