Class Motion.MoveOnMapRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Motion.MoveOnMapRequest,Motion.MoveOnMapRequest.Builder>
com.viam.service.motion.v1.Motion.MoveOnMapRequest
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Motion.MoveOnMapRequestOrBuilder
Enclosing class:
Motion

public static final class Motion.MoveOnMapRequest extends com.google.protobuf.GeneratedMessageLite<Motion.MoveOnMapRequest,Motion.MoveOnMapRequest.Builder> implements Motion.MoveOnMapRequestOrBuilder
Protobuf type viam.service.motion.v1.MoveOnMapRequest
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DESTINATION_FIELD_NUMBER

      public static final int DESTINATION_FIELD_NUMBER
      See Also:
    • COMPONENT_NAME_FIELD_NUMBER

      public static final int COMPONENT_NAME_FIELD_NUMBER
      See Also:
    • SLAM_SERVICE_NAME_FIELD_NUMBER

      public static final int SLAM_SERVICE_NAME_FIELD_NUMBER
      See Also:
    • MOTION_CONFIGURATION_FIELD_NUMBER

      public static final int MOTION_CONFIGURATION_FIELD_NUMBER
      See Also:
    • OBSTACLES_FIELD_NUMBER

      public static final int OBSTACLES_FIELD_NUMBER
      See Also:
    • EXTRA_FIELD_NUMBER

      public static final int EXTRA_FIELD_NUMBER
      See Also:
  • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • getObstaclesOrBuilderList

      public List<? extends Common.GeometryOrBuilder> getObstaclesOrBuilderList()
       Obstacles to be considered for motion planning
       
      repeated .viam.common.v1.Geometry obstacles = 6 [json_name = "obstacles"];
    • 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
    • getObstaclesOrBuilder

      public Common.GeometryOrBuilder getObstaclesOrBuilder(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.
    • parseFrom

      public static Motion.MoveOnMapRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Motion.MoveOnMapRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Motion.MoveOnMapRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Motion.MoveOnMapRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Motion.MoveOnMapRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Motion.MoveOnMapRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Motion.MoveOnMapRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Motion.MoveOnMapRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Motion.MoveOnMapRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Motion.MoveOnMapRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Motion.MoveOnMapRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Motion.MoveOnMapRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static Motion.MoveOnMapRequest.Builder newBuilder()
    • newBuilder

      public static Motion.MoveOnMapRequest.Builder newBuilder(Motion.MoveOnMapRequest prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Motion.MoveOnMapRequest,Motion.MoveOnMapRequest.Builder>
    • getDefaultInstance

      public static Motion.MoveOnMapRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Motion.MoveOnMapRequest> parser()