public abstract class RoutablePoint
extends java.lang.Object
CarmenFeature
's routable point.Modifier and Type | Class and Description |
---|---|
static class |
RoutablePoint.Builder
This builder can be used to set the values describing the
RoutablePoint . |
Constructor and Description |
---|
RoutablePoint() |
Modifier and Type | Method and Description |
---|---|
com.mapbox.geojson.Point |
coordinate()
A
Point object which represents the routable point location. |
abstract java.lang.String |
name()
A string representing the routable point name.
|
abstract RoutablePoint.Builder |
toBuilder()
Convert current instance values into another Builder to quickly change one or more values.
|
static com.google.gson.TypeAdapter<RoutablePoint> |
typeAdapter(com.google.gson.Gson gson)
Gson type adapter for parsing Gson to this class.
|
@Nullable @SerializedName(value="name") public abstract java.lang.String name()
@Nullable public com.mapbox.geojson.Point coordinate()
Point
object which represents the routable point location.Point
which defines the routable point locationpublic abstract RoutablePoint.Builder toBuilder()
RoutablePoint.Builder
public static com.google.gson.TypeAdapter<RoutablePoint> typeAdapter(com.google.gson.Gson gson)
gson
- the built Gson
object