Interface Navigation.RouteProgressOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Navigation.RouteProgress, Navigation.RouteProgress.Builder
Enclosing class:
Navigation

public static interface Navigation.RouteProgressOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Current waypoint; waypoints[index] is the target
    int
    uint32 lap = 5 [json_name = "lap"];
    boolean
    bool loop = 4 [json_name = "loop"];
    Empty for inline routes
    com.google.protobuf.ByteString
    Empty for inline routes
    getWaypoints(int index)
    repeated .viam.service.navigation.v1.Waypoint waypoints = 2 [json_name = "waypoints"];
    int
    repeated .viam.service.navigation.v1.Waypoint waypoints = 2 [json_name = "waypoints"];
    repeated .viam.service.navigation.v1.Waypoint waypoints = 2 [json_name = "waypoints"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getName

      String getName()
       Empty for inline routes
       
      string name = 1 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Empty for inline routes
       
      string name = 1 [json_name = "name"];
      Returns:
      The bytes for name.
    • getWaypointsList

      List<Navigation.Waypoint> getWaypointsList()
      repeated .viam.service.navigation.v1.Waypoint waypoints = 2 [json_name = "waypoints"];
    • getWaypoints

      Navigation.Waypoint getWaypoints(int index)
      repeated .viam.service.navigation.v1.Waypoint waypoints = 2 [json_name = "waypoints"];
    • getWaypointsCount

      int getWaypointsCount()
      repeated .viam.service.navigation.v1.Waypoint waypoints = 2 [json_name = "waypoints"];
    • getIndex

      int getIndex()
       Current waypoint; waypoints[index] is the target
       
      uint32 index = 3 [json_name = "index"];
      Returns:
      The index.
    • getLoop

      boolean getLoop()
      bool loop = 4 [json_name = "loop"];
      Returns:
      The loop.
    • getLap

      int getLap()
      uint32 lap = 5 [json_name = "lap"];
      Returns:
      The lap.