Package com.viam.service.navigation.v1
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 TypeMethodDescriptionintgetIndex()Current waypoint; waypoints[index] is the targetintgetLap()uint32 lap = 5 [json_name = "lap"];booleangetLoop()bool loop = 4 [json_name = "loop"];getName()Empty for inline routescom.google.protobuf.ByteStringEmpty for inline routesgetWaypoints(int index) repeated .viam.service.navigation.v1.Waypoint waypoints = 2 [json_name = "waypoints"];intrepeated .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
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.
-