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 destinationDeprecated.Destination, 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 locationDeprecated.Name 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 destinationcom.google.protobuf.ByteString
Component on the robot to move to the specified destinationDeprecated.Destination, 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 locationcom.google.protobuf.ByteString
Name of the movement sensor which will be used to check robot locationDeprecated.getName()
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
Deprecated.boolean
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
Deprecated.Deprecated.mergeDestination
(Common.GeoPoint value) Destination, encoded as a GeoPointmergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodOptional set of motion configuration optionsDeprecated.removeBoundingRegions
(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 navigatingsetComponentName
(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.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 optionssetMovementSensorName
(String value) Name of the movement sensor which will be used to check robot locationsetMovementSensorNameBytes
(com.google.protobuf.ByteString value) Name of the movement sensor which will be used to check robot locationDeprecated.setMovementSensorNameDeprecated
(Common.ResourceName.Builder builderForValue) Deprecated.Name 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.
-
hasComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 4 [json_name = "componentNameDeprecated", deprecated = true];
- Specified by:
hasComponentNameDeprecated
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- Whether the componentNameDeprecated field is set.
-
getComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 4 [json_name = "componentNameDeprecated", deprecated = true];
- Specified by:
getComponentNameDeprecated
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- The componentNameDeprecated.
-
setComponentNameDeprecated
@Deprecated public Motion.MoveOnGlobeRequest.Builder setComponentNameDeprecated(Common.ResourceName value) Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 4 [json_name = "componentNameDeprecated", deprecated = true];
-
setComponentNameDeprecated
@Deprecated public Motion.MoveOnGlobeRequest.Builder setComponentNameDeprecated(Common.ResourceName.Builder builderForValue) Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 4 [json_name = "componentNameDeprecated", deprecated = true];
-
mergeComponentNameDeprecated
@Deprecated public Motion.MoveOnGlobeRequest.Builder mergeComponentNameDeprecated(Common.ResourceName value) Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 4 [json_name = "componentNameDeprecated", deprecated = true];
-
clearComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 4 [json_name = "componentNameDeprecated", deprecated = true];
-
hasMovementSensorNameDeprecated
Deprecated.Deprecated, use movement_sensor_name field.
.viam.common.v1.ResourceName movement_sensor_name_deprecated = 5 [json_name = "movementSensorNameDeprecated", deprecated = true];
- Specified by:
hasMovementSensorNameDeprecated
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- Whether the movementSensorNameDeprecated field is set.
-
getMovementSensorNameDeprecated
Deprecated.Deprecated, use movement_sensor_name field.
.viam.common.v1.ResourceName movement_sensor_name_deprecated = 5 [json_name = "movementSensorNameDeprecated", deprecated = true];
- Specified by:
getMovementSensorNameDeprecated
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- The movementSensorNameDeprecated.
-
setMovementSensorNameDeprecated
@Deprecated public Motion.MoveOnGlobeRequest.Builder setMovementSensorNameDeprecated(Common.ResourceName value) Deprecated.Deprecated, use movement_sensor_name field.
.viam.common.v1.ResourceName movement_sensor_name_deprecated = 5 [json_name = "movementSensorNameDeprecated", deprecated = true];
-
setMovementSensorNameDeprecated
@Deprecated public Motion.MoveOnGlobeRequest.Builder setMovementSensorNameDeprecated(Common.ResourceName.Builder builderForValue) Deprecated.Deprecated, use movement_sensor_name field.
.viam.common.v1.ResourceName movement_sensor_name_deprecated = 5 [json_name = "movementSensorNameDeprecated", deprecated = true];
-
mergeMovementSensorNameDeprecated
@Deprecated public Motion.MoveOnGlobeRequest.Builder mergeMovementSensorNameDeprecated(Common.ResourceName value) Deprecated.Deprecated, use movement_sensor_name field.
.viam.common.v1.ResourceName movement_sensor_name_deprecated = 5 [json_name = "movementSensorNameDeprecated", deprecated = true];
-
clearMovementSensorNameDeprecated
Deprecated.Deprecated, use movement_sensor_name field.
.viam.common.v1.ResourceName movement_sensor_name_deprecated = 5 [json_name = "movementSensorNameDeprecated", deprecated = true];
-
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"];
-
getComponentName
Component on the robot to move to the specified destination
string component_name = 9 [json_name = "componentName"];
- Specified by:
getComponentName
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()Component on the robot to move to the specified destination
string component_name = 9 [json_name = "componentName"];
- Specified by:
getComponentNameBytes
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- The bytes for componentName.
-
setComponentName
Component on the robot to move to the specified destination
string component_name = 9 [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 = 9 [json_name = "componentName"];
- Returns:
- This builder for chaining.
-
setComponentNameBytes
public Motion.MoveOnGlobeRequest.Builder setComponentNameBytes(com.google.protobuf.ByteString value) Component on the robot to move to the specified destination
string component_name = 9 [json_name = "componentName"];
- Parameters:
value
- The bytes for componentName to set.- Returns:
- This builder for chaining.
-
getMovementSensorName
Name of the movement sensor which will be used to check robot location
string movement_sensor_name = 10 [json_name = "movementSensorName"];
- Specified by:
getMovementSensorName
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- The movementSensorName.
-
getMovementSensorNameBytes
public com.google.protobuf.ByteString getMovementSensorNameBytes()Name of the movement sensor which will be used to check robot location
string movement_sensor_name = 10 [json_name = "movementSensorName"];
- Specified by:
getMovementSensorNameBytes
in interfaceMotion.MoveOnGlobeRequestOrBuilder
- Returns:
- The bytes for movementSensorName.
-
setMovementSensorName
Name of the movement sensor which will be used to check robot location
string movement_sensor_name = 10 [json_name = "movementSensorName"];
- Parameters:
value
- The movementSensorName to set.- Returns:
- This builder for chaining.
-
clearMovementSensorName
Name of the movement sensor which will be used to check robot location
string movement_sensor_name = 10 [json_name = "movementSensorName"];
- Returns:
- This builder for chaining.
-
setMovementSensorNameBytes
public Motion.MoveOnGlobeRequest.Builder setMovementSensorNameBytes(com.google.protobuf.ByteString value) Name of the movement sensor which will be used to check robot location
string movement_sensor_name = 10 [json_name = "movementSensorName"];
- Parameters:
value
- The bytes for movementSensorName 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:
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"];
-