public abstract class RouteToVehicleStop extends Object
Data class that contains information about a VehicleStop and the route to get it.
Nested Class Summary
class | RouteToVehicleStop.Builder | Builder for
RouteToVehicleStop |
Public Constructor Summary
Public Method Summary
abstract int |
drivingDistanceMeters()
The driving distance in meters to get to the VehicleStop.
|
abstract long |
drivingDurationSeconds()
The driving duration in seconds to get to the VehicleStop.
|
static RouteToVehicleStop.Builder |
newBuilder()
Returns new default instance builder.
|
abstract ImmutableList<LatLng> |
path()
The list of latitudes and longitudes composing the path to VehicleStop
location.
|
abstract VehicleStop |
vehicleStop()
The destination point of the route segment.
|
Inherited Method Summary
Public Constructors
public RouteToVehicleStop ()
Public Methods
public abstract int drivingDistanceMeters ()
The driving distance in meters to get to the VehicleStop.
public abstract long drivingDurationSeconds ()
The driving duration in seconds to get to the VehicleStop.
public static RouteToVehicleStop.Builder newBuilder ()
Returns new default instance builder.
public abstract ImmutableList<LatLng> path ()
The list of latitudes and longitudes composing the path to VehicleStop location.
public abstract VehicleStop vehicleStop ()
The destination point of the route segment.