public final class UserAddress extends 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 Admin SDK API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
UserAddress() |
| Modifier and Type | Method and Description |
|---|---|
UserAddress |
clone() |
String |
getCountry()
Country.
|
String |
getCountryCode()
Country code.
|
String |
getCustomType()
Custom type.
|
String |
getExtendedAddress()
Extended Address.
|
String |
getFormatted()
Formatted address.
|
String |
getLocality()
Locality.
|
String |
getPoBox()
Other parts of address.
|
String |
getPostalCode()
Postal code.
|
Boolean |
getPrimary()
If this is user's primary address.
|
String |
getRegion()
Region.
|
Boolean |
getSourceIsStructured()
User supplied address was structured.
|
String |
getStreetAddress()
Street.
|
String |
getType()
Each entry can have a type which indicates standard values of that entry.
|
UserAddress |
set(String fieldName,
Object value) |
UserAddress |
setCountry(String country)
Country.
|
UserAddress |
setCountryCode(String countryCode)
Country code.
|
UserAddress |
setCustomType(String customType)
Custom type.
|
UserAddress |
setExtendedAddress(String extendedAddress)
Extended Address.
|
UserAddress |
setFormatted(String formatted)
Formatted address.
|
UserAddress |
setLocality(String locality)
Locality.
|
UserAddress |
setPoBox(String poBox)
Other parts of address.
|
UserAddress |
setPostalCode(String postalCode)
Postal code.
|
UserAddress |
setPrimary(Boolean primary)
If this is user's primary address.
|
UserAddress |
setRegion(String region)
Region.
|
UserAddress |
setSourceIsStructured(Boolean sourceIsStructured)
User supplied address was structured.
|
UserAddress |
setStreetAddress(String streetAddress)
Street.
|
UserAddress |
setType(String type)
Each entry can have a type which indicates standard values of that entry.
|
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 String getCountry()
null for nonepublic UserAddress setCountry(String country)
country - country or null for nonepublic String getCountryCode()
null for nonepublic UserAddress setCountryCode(String countryCode)
countryCode - countryCode or null for nonepublic String getCustomType()
null for nonepublic UserAddress setCustomType(String customType)
customType - customType or null for nonepublic String getExtendedAddress()
null for nonepublic UserAddress setExtendedAddress(String extendedAddress)
extendedAddress - extendedAddress or null for nonepublic String getFormatted()
null for nonepublic UserAddress setFormatted(String formatted)
formatted - formatted or null for nonepublic String getLocality()
null for nonepublic UserAddress setLocality(String locality)
locality - locality or null for nonepublic String getPoBox()
null for nonepublic UserAddress setPoBox(String poBox)
poBox - poBox or null for nonepublic String getPostalCode()
null for nonepublic UserAddress setPostalCode(String postalCode)
postalCode - postalCode or null for nonepublic Boolean getPrimary()
null for nonepublic UserAddress setPrimary(Boolean primary)
primary - primary or null for nonepublic String getRegion()
null for nonepublic UserAddress setRegion(String region)
region - region or null for nonepublic Boolean getSourceIsStructured()
null for nonepublic UserAddress setSourceIsStructured(Boolean sourceIsStructured)
sourceIsStructured - sourceIsStructured or null for nonepublic String getStreetAddress()
null for nonepublic UserAddress setStreetAddress(String streetAddress)
streetAddress - streetAddress or null for nonepublic String getType()
null for nonepublic UserAddress setType(String type)
type - type or null for nonepublic UserAddress set(String fieldName, Object value)
set in class GenericJsonpublic UserAddress clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.