public abstract static class SilentWaypoint.Builder
extends java.lang.Object
SilentWaypoint.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract SilentWaypoint |
build()
Build a new
SilentWaypoint object. |
abstract SilentWaypoint.Builder |
distanceFromStart(double distanceFromStart) |
abstract SilentWaypoint.Builder |
geometryIndex(int geometryIndex) |
T |
unrecognizedJsonProperties(java.util.Map<java.lang.String,com.google.gson.JsonElement> unrecognizedProperties)
Use this method to add parameters which are not present in the model yet but are supported
on the Directions API side in the response.
|
abstract SilentWaypoint.Builder |
waypointIndex(int waypointIndex) |
@NonNull public abstract SilentWaypoint.Builder waypointIndex(int waypointIndex)
waypointIndex - the associated waypoint index, excluding
the origin (index 0) and destination.@NonNull public abstract SilentWaypoint.Builder distanceFromStart(double distanceFromStart)
distanceFromStart - the calculated distance, in meters, from the leg origin.@NonNull public abstract SilentWaypoint.Builder geometryIndex(int geometryIndex)
geometryIndex - the associated leg shape index of the via waypoint location.@NonNull public abstract SilentWaypoint build()
SilentWaypoint object.SilentWaypoint object@NonNull
public T unrecognizedJsonProperties(@Nullable
java.util.Map<java.lang.String,com.google.gson.JsonElement> unrecognizedProperties)
unrecognizedProperties - parameters to add to request