public final class GoogleMapsPlacesV1Photo
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 |
|---|
GoogleMapsPlacesV1Photo() |
| Modifier and Type | Method and Description |
|---|---|
GoogleMapsPlacesV1Photo |
clone() |
List<GoogleMapsPlacesV1AuthorAttribution> |
getAuthorAttributions()
This photo's authors.
|
String |
getFlagContentUri()
A link where users can flag a problem with the photo.
|
String |
getGoogleMapsUri()
A link to show the photo on Google Maps.
|
Integer |
getHeightPx()
The maximum available height, in pixels.
|
String |
getName()
Identifier.
|
Integer |
getWidthPx()
The maximum available width, in pixels.
|
GoogleMapsPlacesV1Photo |
set(String fieldName,
Object value) |
GoogleMapsPlacesV1Photo |
setAuthorAttributions(List<GoogleMapsPlacesV1AuthorAttribution> authorAttributions)
This photo's authors.
|
GoogleMapsPlacesV1Photo |
setFlagContentUri(String flagContentUri)
A link where users can flag a problem with the photo.
|
GoogleMapsPlacesV1Photo |
setGoogleMapsUri(String googleMapsUri)
A link to show the photo on Google Maps.
|
GoogleMapsPlacesV1Photo |
setHeightPx(Integer heightPx)
The maximum available height, in pixels.
|
GoogleMapsPlacesV1Photo |
setName(String name)
Identifier.
|
GoogleMapsPlacesV1Photo |
setWidthPx(Integer widthPx)
The maximum available width, in pixels.
|
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 List<GoogleMapsPlacesV1AuthorAttribution> getAuthorAttributions()
null for nonepublic GoogleMapsPlacesV1Photo setAuthorAttributions(List<GoogleMapsPlacesV1AuthorAttribution> authorAttributions)
authorAttributions - authorAttributions or null for nonepublic String getFlagContentUri()
null for nonepublic GoogleMapsPlacesV1Photo setFlagContentUri(String flagContentUri)
flagContentUri - flagContentUri or null for nonepublic String getGoogleMapsUri()
null for nonepublic GoogleMapsPlacesV1Photo setGoogleMapsUri(String googleMapsUri)
googleMapsUri - googleMapsUri or null for nonepublic Integer getHeightPx()
null for nonepublic GoogleMapsPlacesV1Photo setHeightPx(Integer heightPx)
heightPx - heightPx or null for nonepublic String getName()
null for nonepublic GoogleMapsPlacesV1Photo setName(String name)
name - name or null for nonepublic Integer getWidthPx()
null for nonepublic GoogleMapsPlacesV1Photo setWidthPx(Integer widthPx)
widthPx - widthPx or null for nonepublic GoogleMapsPlacesV1Photo set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleMapsPlacesV1Photo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.