public final class GoogleMapsPlacesV1ContentBlock
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 |
|---|
GoogleMapsPlacesV1ContentBlock() |
| Modifier and Type | Method and Description |
|---|---|
GoogleMapsPlacesV1ContentBlock |
clone() |
GoogleTypeLocalizedText |
getContent()
Content related to the topic.
|
List<String> |
getReferencedPlaces()
The list of resource names of the referenced places.
|
GoogleMapsPlacesV1ContentBlock |
set(String fieldName,
Object value) |
GoogleMapsPlacesV1ContentBlock |
setContent(GoogleTypeLocalizedText content)
Content related to the topic.
|
GoogleMapsPlacesV1ContentBlock |
setReferencedPlaces(List<String> referencedPlaces)
The list of resource names of the referenced places.
|
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 GoogleTypeLocalizedText getContent()
null for nonepublic GoogleMapsPlacesV1ContentBlock setContent(GoogleTypeLocalizedText content)
content - content or null for nonepublic List<String> getReferencedPlaces()
null for nonepublic GoogleMapsPlacesV1ContentBlock setReferencedPlaces(List<String> referencedPlaces)
referencedPlaces - referencedPlaces or null for nonepublic GoogleMapsPlacesV1ContentBlock set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleMapsPlacesV1ContentBlock clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.