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
  • Method Details

    • getName

      public String getName()
       Name of the motion service
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Motion.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 interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Motion.MoveOnMapRequest.Builder setName(String value)
       Name of the motion service
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Motion.MoveOnMapRequest.Builder clearName()
       Name of the motion service
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Motion.MoveOnMapRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       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 interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      Whether the destination field is set.
    • getDestination

      public Common.Pose 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 interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      The destination.
    • setDestination

      public Motion.MoveOnMapRequest.Builder setDestination(Common.Pose value)
       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

      public Motion.MoveOnMapRequest.Builder setDestination(Common.Pose.Builder builderForValue)
       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

      public Motion.MoveOnMapRequest.Builder mergeDestination(Common.Pose value)
       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

      public Motion.MoveOnMapRequest.Builder 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 interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      Whether the componentName field is set.
    • getComponentName

      public Common.ResourceName 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 interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      The componentName.
    • setComponentName

      public Motion.MoveOnMapRequest.Builder setComponentName(Common.ResourceName value)
       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

      public Motion.MoveOnMapRequest.Builder mergeComponentName(Common.ResourceName value)
       Component on the robot to move to the specified destination
       
      .viam.common.v1.ResourceName component_name = 3 [json_name = "componentName"];
    • clearComponentName

      public Motion.MoveOnMapRequest.Builder 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 interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      Whether the slamServiceName field is set.
    • getSlamServiceName

      public Common.ResourceName 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 interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      The slamServiceName.
    • setSlamServiceName

      public Motion.MoveOnMapRequest.Builder setSlamServiceName(Common.ResourceName value)
       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

      public Motion.MoveOnMapRequest.Builder mergeSlamServiceName(Common.ResourceName value)
       Name of the slam service from which the SLAM map is requested
       
      .viam.common.v1.ResourceName slam_service_name = 4 [json_name = "slamServiceName"];
    • clearSlamServiceName

      public Motion.MoveOnMapRequest.Builder 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 interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      Whether the motionConfiguration field is set.
    • getMotionConfiguration

      public Motion.MotionConfiguration getMotionConfiguration()
       Optional set of motion configuration options
       
      optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 5 [json_name = "motionConfiguration"];
      Specified by:
      getMotionConfiguration in interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      The motionConfiguration.
    • setMotionConfiguration

      public Motion.MoveOnMapRequest.Builder setMotionConfiguration(Motion.MotionConfiguration value)
       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

      public Motion.MoveOnMapRequest.Builder mergeMotionConfiguration(Motion.MotionConfiguration value)
       Optional set of motion configuration options
       
      optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 5 [json_name = "motionConfiguration"];
    • clearMotionConfiguration

      public Motion.MoveOnMapRequest.Builder clearMotionConfiguration()
       Optional set of motion configuration options
       
      optional .viam.service.motion.v1.MotionConfiguration motion_configuration = 5 [json_name = "motionConfiguration"];
    • getObstaclesList

      public List<Common.Geometry> getObstaclesList()
       Obstacles to be considered for motion planning
       
      repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
      Specified by:
      getObstaclesList in interface Motion.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 interface Motion.MoveOnMapRequestOrBuilder
    • getObstacles

      public Common.Geometry getObstacles(int index)
       Obstacles to be considered for motion planning
       
      repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
      Specified by:
      getObstacles in interface Motion.MoveOnMapRequestOrBuilder
    • setObstacles

      public Motion.MoveOnMapRequest.Builder setObstacles(int index, Common.Geometry value)
       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

      public Motion.MoveOnMapRequest.Builder addObstacles(Common.Geometry value)
       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 value)
       Obstacles to be considered for motion planning
       
      repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
    • addObstacles

      public Motion.MoveOnMapRequest.Builder addObstacles(Common.Geometry.Builder builderForValue)
       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

      public Motion.MoveOnMapRequest.Builder addAllObstacles(Iterable<? extends Common.Geometry> values)
       Obstacles to be considered for motion planning
       
      repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
    • clearObstacles

      public Motion.MoveOnMapRequest.Builder clearObstacles()
       Obstacles to be considered for motion planning
       
      repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
    • removeObstacles

      public Motion.MoveOnMapRequest.Builder removeObstacles(int index)
       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 interface Motion.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 interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      The extra.
    • setExtra

      public Motion.MoveOnMapRequest.Builder setExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • setExtra

      public Motion.MoveOnMapRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • mergeExtra

      public Motion.MoveOnMapRequest.Builder mergeExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • clearExtra

      public Motion.MoveOnMapRequest.Builder clearExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];