public final class Place
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 Google+ API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
Place.Address
The physical address of the place.
|
static class |
Place.Position
The position of the place.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Place() |
Modifier and Type | Method and Description |
---|---|
Place |
clone() |
Place.Address |
getAddress()
The physical address of the place.
|
java.lang.String |
getDisplayName()
The display name of the place.
|
java.lang.String |
getId()
The id of the place.
|
java.lang.String |
getKind()
Identifies this resource as a place.
|
Place.Position |
getPosition()
The position of the place.
|
Place |
set(java.lang.String fieldName,
java.lang.Object value) |
Place |
setAddress(Place.Address address)
The physical address of the place.
|
Place |
setDisplayName(java.lang.String displayName)
The display name of the place.
|
Place |
setId(java.lang.String id)
The id of the place.
|
Place |
setKind(java.lang.String kind)
Identifies this resource as a place.
|
Place |
setPosition(Place.Position position)
The position of the place.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Place.Address getAddress()
null
for nonepublic Place setAddress(Place.Address address)
address
- address or null
for nonepublic java.lang.String getDisplayName()
null
for nonepublic Place setDisplayName(java.lang.String displayName)
displayName
- displayName or null
for nonepublic java.lang.String getId()
null
for nonepublic Place setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic Place setKind(java.lang.String kind)
kind
- kind or null
for nonepublic Place.Position getPosition()
null
for nonepublic Place setPosition(Place.Position position)
position
- position or null
for nonepublic Place set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Place clone()
clone
in class com.google.api.client.json.GenericJson