Class Navigation.Path.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.Path,Navigation.Path.Builder>
com.viam.service.navigation.v1.Navigation.Path.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Navigation.PathOrBuilder, Cloneable
Enclosing class:
Navigation.Path

public static final class Navigation.Path.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.Path,Navigation.Path.Builder> implements Navigation.PathOrBuilder
 A user provided destination and the set of geopoints that
 the robot is expected to take to get there
 
Protobuf type viam.service.navigation.v1.Path
  • Method Details

    • getDestinationWaypointId

      public String getDestinationWaypointId()
       The id of the user specified waypoint
       
      string destination_waypoint_id = 1 [json_name = "destinationWaypointId"];
      Specified by:
      getDestinationWaypointId in interface Navigation.PathOrBuilder
      Returns:
      The destinationWaypointId.
    • getDestinationWaypointIdBytes

      public com.google.protobuf.ByteString getDestinationWaypointIdBytes()
       The id of the user specified waypoint
       
      string destination_waypoint_id = 1 [json_name = "destinationWaypointId"];
      Specified by:
      getDestinationWaypointIdBytes in interface Navigation.PathOrBuilder
      Returns:
      The bytes for destinationWaypointId.
    • setDestinationWaypointId

      public Navigation.Path.Builder setDestinationWaypointId(String value)
       The id of the user specified waypoint
       
      string destination_waypoint_id = 1 [json_name = "destinationWaypointId"];
      Parameters:
      value - The destinationWaypointId to set.
      Returns:
      This builder for chaining.
    • clearDestinationWaypointId

      public Navigation.Path.Builder clearDestinationWaypointId()
       The id of the user specified waypoint
       
      string destination_waypoint_id = 1 [json_name = "destinationWaypointId"];
      Returns:
      This builder for chaining.
    • setDestinationWaypointIdBytes

      public Navigation.Path.Builder setDestinationWaypointIdBytes(com.google.protobuf.ByteString value)
       The id of the user specified waypoint
       
      string destination_waypoint_id = 1 [json_name = "destinationWaypointId"];
      Parameters:
      value - The bytes for destinationWaypointId to set.
      Returns:
      This builder for chaining.
    • getGeopointsList

      public List<Common.GeoPoint> getGeopointsList()
       List of geopoints that the motion planner output to reach the destination
       The first geopoint is the starting position of the robot for that path
       
      repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
      Specified by:
      getGeopointsList in interface Navigation.PathOrBuilder
    • getGeopointsCount

      public int getGeopointsCount()
       List of geopoints that the motion planner output to reach the destination
       The first geopoint is the starting position of the robot for that path
       
      repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
      Specified by:
      getGeopointsCount in interface Navigation.PathOrBuilder
    • getGeopoints

      public Common.GeoPoint getGeopoints(int index)
       List of geopoints that the motion planner output to reach the destination
       The first geopoint is the starting position of the robot for that path
       
      repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
      Specified by:
      getGeopoints in interface Navigation.PathOrBuilder
    • setGeopoints

      public Navigation.Path.Builder setGeopoints(int index, Common.GeoPoint value)
       List of geopoints that the motion planner output to reach the destination
       The first geopoint is the starting position of the robot for that path
       
      repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
    • setGeopoints

      public Navigation.Path.Builder setGeopoints(int index, Common.GeoPoint.Builder builderForValue)
       List of geopoints that the motion planner output to reach the destination
       The first geopoint is the starting position of the robot for that path
       
      repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
    • addGeopoints

      public Navigation.Path.Builder addGeopoints(Common.GeoPoint value)
       List of geopoints that the motion planner output to reach the destination
       The first geopoint is the starting position of the robot for that path
       
      repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
    • addGeopoints

      public Navigation.Path.Builder addGeopoints(int index, Common.GeoPoint value)
       List of geopoints that the motion planner output to reach the destination
       The first geopoint is the starting position of the robot for that path
       
      repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
    • addGeopoints

      public Navigation.Path.Builder addGeopoints(Common.GeoPoint.Builder builderForValue)
       List of geopoints that the motion planner output to reach the destination
       The first geopoint is the starting position of the robot for that path
       
      repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
    • addGeopoints

      public Navigation.Path.Builder addGeopoints(int index, Common.GeoPoint.Builder builderForValue)
       List of geopoints that the motion planner output to reach the destination
       The first geopoint is the starting position of the robot for that path
       
      repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
    • addAllGeopoints

      public Navigation.Path.Builder addAllGeopoints(Iterable<? extends Common.GeoPoint> values)
       List of geopoints that the motion planner output to reach the destination
       The first geopoint is the starting position of the robot for that path
       
      repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
    • clearGeopoints

      public Navigation.Path.Builder clearGeopoints()
       List of geopoints that the motion planner output to reach the destination
       The first geopoint is the starting position of the robot for that path
       
      repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
    • removeGeopoints

      public Navigation.Path.Builder removeGeopoints(int index)
       List of geopoints that the motion planner output to reach the destination
       The first geopoint is the starting position of the robot for that path
       
      repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];