public final class PointRadius
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 My Business API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
PointRadius() |
Modifier and Type | Method and Description |
---|---|
PointRadius |
clone() |
LatLng |
getLatlng()
The latitude/longitude that specifies the center of an area defined by the radius.
|
java.lang.Float |
getRadiusKm()
The distance in kilometers of the area around the point.
|
PointRadius |
set(java.lang.String fieldName,
java.lang.Object value) |
PointRadius |
setLatlng(LatLng latlng)
The latitude/longitude that specifies the center of an area defined by the radius.
|
PointRadius |
setRadiusKm(java.lang.Float radiusKm)
The distance in kilometers of the area around the point.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public LatLng getLatlng()
null
for nonepublic PointRadius setLatlng(LatLng latlng)
latlng
- latlng or null
for nonepublic java.lang.Float getRadiusKm()
null
for nonepublic PointRadius setRadiusKm(java.lang.Float radiusKm)
radiusKm
- radiusKm or null
for nonepublic PointRadius set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PointRadius clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.