public static class GeocodingApi.ComponentFilter
extends java.lang.Object
implements com.google.maps.internal.StringJoin.UrlValue
Please see Component Filtering for more detail.
Modifier and Type | Method and Description |
---|---|
static GeocodingApi.ComponentFilter |
administrativeArea(java.lang.String administrativeArea)
administrativeArea matches all the administrative area levels. |
static GeocodingApi.ComponentFilter |
country(java.lang.String country)
country matches a country name or a two letter ISO 3166-1 country code. |
static GeocodingApi.ComponentFilter |
locality(java.lang.String locality)
locality matches against both locality and sublocality types. |
static GeocodingApi.ComponentFilter |
postalCode(java.lang.String postalCode)
postalCode matches postal code and postal code prefix. |
static GeocodingApi.ComponentFilter |
route(java.lang.String route)
route matches long or short name of a route. |
java.lang.String |
toString() |
java.lang.String |
toUrlValue() |
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toUrlValue()
toUrlValue
in interface com.google.maps.internal.StringJoin.UrlValue
public static GeocodingApi.ComponentFilter route(java.lang.String route)
route
matches long or short name of a route.public static GeocodingApi.ComponentFilter locality(java.lang.String locality)
locality
matches against both locality and sublocality types.public static GeocodingApi.ComponentFilter administrativeArea(java.lang.String administrativeArea)
administrativeArea
matches all the administrative area levels.public static GeocodingApi.ComponentFilter postalCode(java.lang.String postalCode)
postalCode
matches postal code and postal code prefix.public static GeocodingApi.ComponentFilter country(java.lang.String country)
country
matches a country name or a two letter ISO 3166-1 country code.