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_DEPRECATED_FIELD_NUMBER

      public static final int COMPONENT_NAME_DEPRECATED_FIELD_NUMBER
      See Also:
    • SLAM_SERVICE_NAME_DEPRECATED_FIELD_NUMBER

      public static final int SLAM_SERVICE_NAME_DEPRECATED_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:
    • 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:
    • 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.
    • 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.
    • 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.
    • 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"];
    • 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.
    • 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.
    • 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()