public final class GoogleMapsPlacesV1PlaceAddressComponent
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Places API (New). For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleMapsPlacesV1PlaceAddressComponent() |
| Modifier and Type | Method and Description |
|---|---|
GoogleMapsPlacesV1PlaceAddressComponent |
clone() |
String |
getLanguageCode()
The language used to format this components, in CLDR notation.
|
String |
getLongText()
The full text description or name of the address component.
|
String |
getShortText()
An abbreviated textual name for the address component, if available.
|
List<String> |
getTypes()
An array indicating the type(s) of the address component.
|
GoogleMapsPlacesV1PlaceAddressComponent |
set(String fieldName,
Object value) |
GoogleMapsPlacesV1PlaceAddressComponent |
setLanguageCode(String languageCode)
The language used to format this components, in CLDR notation.
|
GoogleMapsPlacesV1PlaceAddressComponent |
setLongText(String longText)
The full text description or name of the address component.
|
GoogleMapsPlacesV1PlaceAddressComponent |
setShortText(String shortText)
An abbreviated textual name for the address component, if available.
|
GoogleMapsPlacesV1PlaceAddressComponent |
setTypes(List<String> types)
An array indicating the type(s) of the address component.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleMapsPlacesV1PlaceAddressComponent()
public String getLanguageCode()
null for nonepublic GoogleMapsPlacesV1PlaceAddressComponent setLanguageCode(String languageCode)
languageCode - languageCode or null for nonepublic String getLongText()
null for nonepublic GoogleMapsPlacesV1PlaceAddressComponent setLongText(String longText)
longText - longText or null for nonepublic String getShortText()
null for nonepublic GoogleMapsPlacesV1PlaceAddressComponent setShortText(String shortText)
shortText - shortText or null for nonepublic List<String> getTypes()
null for nonepublic GoogleMapsPlacesV1PlaceAddressComponent setTypes(List<String> types)
types - types or null for nonepublic GoogleMapsPlacesV1PlaceAddressComponent set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleMapsPlacesV1PlaceAddressComponent clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.