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"];
    • hasComponentNameDeprecated

      @Deprecated public boolean hasComponentNameDeprecated()
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 3 [json_name = "componentNameDeprecated", deprecated = true];
      Specified by:
      hasComponentNameDeprecated in interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      Whether the componentNameDeprecated field is set.
    • getComponentNameDeprecated

      @Deprecated public Common.ResourceName getComponentNameDeprecated()
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 3 [json_name = "componentNameDeprecated", deprecated = true];
      Specified by:
      getComponentNameDeprecated in interface Motion.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 public Motion.MoveOnMapRequest.Builder clearComponentNameDeprecated()
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 3 [json_name = "componentNameDeprecated", deprecated = true];
    • hasSlamServiceNameDeprecated

      @Deprecated public boolean hasSlamServiceNameDeprecated()
      Deprecated.
       Deprecated, use slam_service_name field.
       
      .viam.common.v1.ResourceName slam_service_name_deprecated = 4 [json_name = "slamServiceNameDeprecated", deprecated = true];
      Specified by:
      hasSlamServiceNameDeprecated in interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      Whether the slamServiceNameDeprecated field is set.
    • getSlamServiceNameDeprecated

      @Deprecated public Common.ResourceName getSlamServiceNameDeprecated()
      Deprecated.
       Deprecated, use slam_service_name field.
       
      .viam.common.v1.ResourceName slam_service_name_deprecated = 4 [json_name = "slamServiceNameDeprecated", deprecated = true];
      Specified by:
      getSlamServiceNameDeprecated in interface Motion.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 public Motion.MoveOnMapRequest.Builder 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:
      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"];
    • getComponentName

      public String getComponentName()
       Component on the robot to move to the specified destination
       
      string component_name = 7 [json_name = "componentName"];
      Specified by:
      getComponentName in interface Motion.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:
      getComponentNameBytes in interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      The bytes for componentName.
    • setComponentName

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

      public Motion.MoveOnMapRequest.Builder clearComponentName()
       Component on the robot to move to the specified destination
       
      string component_name = 7 [json_name = "componentName"];
      Returns:
      This builder for chaining.
    • setComponentNameBytes

      public Motion.MoveOnMapRequest.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
       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

      public String getSlamServiceName()
       Name of the slam service from which the SLAM map is requested
       
      string slam_service_name = 8 [json_name = "slamServiceName"];
      Specified by:
      getSlamServiceName in interface Motion.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:
      getSlamServiceNameBytes in interface Motion.MoveOnMapRequestOrBuilder
      Returns:
      The bytes for slamServiceName.
    • setSlamServiceName

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

      public Motion.MoveOnMapRequest.Builder 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:
      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"];