| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract Closure |
build()
Build a new
Closure object. |
abstract Closure.Builder |
geometryIndexEnd(java.lang.Integer geometryIndexEnd)
Closure's leg-wise geometry index end point.
|
abstract Closure.Builder |
geometryIndexStart(java.lang.Integer geometryIndexStart)
Closure's leg-wise geometry index start point.
|
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.
|
public abstract Closure.Builder geometryIndexStart(@NonNull java.lang.Integer geometryIndexStart)
geometryIndexStart - start indexpublic abstract Closure.Builder geometryIndexEnd(@NonNull java.lang.Integer geometryIndexEnd)
geometryIndexEnd - end indexpublic abstract Closure build()
Closure object.Closure using the provided values in this builder@NonNull
public T unrecognizedJsonProperties(@Nullable
java.util.Map<java.lang.String,com.google.gson.JsonElement> unrecognizedProperties)
unrecognizedProperties - parameters to add to request