public final class Person
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 People 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Person() |
| Modifier and Type | Method and Description |
|---|---|
Person |
clone() |
List<Address> |
getAddresses()
The person's street addresses.
|
String |
getAgeRange()
Output only.
|
List<AgeRangeType> |
getAgeRanges()
Output only.
|
List<Biography> |
getBiographies()
The person's biographies.
|
List<Birthday> |
getBirthdays()
The person's birthdays.
|
List<BraggingRights> |
getBraggingRights()
**DEPRECATED**: No data will be returned The person's bragging rights.
|
List<CalendarUrl> |
getCalendarUrls()
The person's calendar URLs.
|
List<ClientData> |
getClientData()
The person's client data.
|
List<CoverPhoto> |
getCoverPhotos()
Output only.
|
List<EmailAddress> |
getEmailAddresses()
The person's email addresses.
|
String |
getEtag()
The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource.
|
List<Event> |
getEvents()
The person's events.
|
List<ExternalId> |
getExternalIds()
The person's external IDs.
|
List<FileAs> |
getFileAses()
The person's file-ases.
|
List<Gender> |
getGenders()
The person's genders.
|
List<ImClient> |
getImClients()
The person's instant messaging clients.
|
List<Interest> |
getInterests()
The person's interests.
|
List<Locale> |
getLocales()
The person's locale preferences.
|
List<Location> |
getLocations()
The person's locations.
|
List<Membership> |
getMemberships()
The person's group memberships.
|
PersonMetadata |
getMetadata()
Output only.
|
List<MiscKeyword> |
getMiscKeywords()
The person's miscellaneous keywords.
|
List<Name> |
getNames()
The person's names.
|
List<Nickname> |
getNicknames()
The person's nicknames.
|
List<Occupation> |
getOccupations()
The person's occupations.
|
List<Organization> |
getOrganizations()
The person's past or current organizations.
|
List<PhoneNumber> |
getPhoneNumbers()
The person's phone numbers.
|
List<Photo> |
getPhotos()
Output only.
|
List<Relation> |
getRelations()
The person's relations.
|
List<RelationshipInterest> |
getRelationshipInterests()
Output only.
|
List<RelationshipStatus> |
getRelationshipStatuses()
Output only.
|
List<Residence> |
getResidences()
**DEPRECATED**: (Please use `person.locations` instead) The person's residences.
|
String |
getResourceName()
The resource name for the person, assigned by the server.
|
List<SipAddress> |
getSipAddresses()
The person's SIP addresses.
|
List<Skill> |
getSkills()
The person's skills.
|
List<Tagline> |
getTaglines()
Output only.
|
List<Url> |
getUrls()
The person's associated URLs.
|
List<UserDefined> |
getUserDefined()
The person's user defined data.
|
Person |
set(String fieldName,
Object value) |
Person |
setAddresses(List<Address> addresses)
The person's street addresses.
|
Person |
setAgeRange(String ageRange)
Output only.
|
Person |
setAgeRanges(List<AgeRangeType> ageRanges)
Output only.
|
Person |
setBiographies(List<Biography> biographies)
The person's biographies.
|
Person |
setBirthdays(List<Birthday> birthdays)
The person's birthdays.
|
Person |
setBraggingRights(List<BraggingRights> braggingRights)
**DEPRECATED**: No data will be returned The person's bragging rights.
|
Person |
setCalendarUrls(List<CalendarUrl> calendarUrls)
The person's calendar URLs.
|
Person |
setClientData(List<ClientData> clientData)
The person's client data.
|
Person |
setCoverPhotos(List<CoverPhoto> coverPhotos)
Output only.
|
Person |
setEmailAddresses(List<EmailAddress> emailAddresses)
The person's email addresses.
|
Person |
setEtag(String etag)
The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource.
|
Person |
setEvents(List<Event> events)
The person's events.
|
Person |
setExternalIds(List<ExternalId> externalIds)
The person's external IDs.
|
Person |
setFileAses(List<FileAs> fileAses)
The person's file-ases.
|
Person |
setGenders(List<Gender> genders)
The person's genders.
|
Person |
setImClients(List<ImClient> imClients)
The person's instant messaging clients.
|
Person |
setInterests(List<Interest> interests)
The person's interests.
|
Person |
setLocales(List<Locale> locales)
The person's locale preferences.
|
Person |
setLocations(List<Location> locations)
The person's locations.
|
Person |
setMemberships(List<Membership> memberships)
The person's group memberships.
|
Person |
setMetadata(PersonMetadata metadata)
Output only.
|
Person |
setMiscKeywords(List<MiscKeyword> miscKeywords)
The person's miscellaneous keywords.
|
Person |
setNames(List<Name> names)
The person's names.
|
Person |
setNicknames(List<Nickname> nicknames)
The person's nicknames.
|
Person |
setOccupations(List<Occupation> occupations)
The person's occupations.
|
Person |
setOrganizations(List<Organization> organizations)
The person's past or current organizations.
|
Person |
setPhoneNumbers(List<PhoneNumber> phoneNumbers)
The person's phone numbers.
|
Person |
setPhotos(List<Photo> photos)
Output only.
|
Person |
setRelations(List<Relation> relations)
The person's relations.
|
Person |
setRelationshipInterests(List<RelationshipInterest> relationshipInterests)
Output only.
|
Person |
setRelationshipStatuses(List<RelationshipStatus> relationshipStatuses)
Output only.
|
Person |
setResidences(List<Residence> residences)
**DEPRECATED**: (Please use `person.locations` instead) The person's residences.
|
Person |
setResourceName(String resourceName)
The resource name for the person, assigned by the server.
|
Person |
setSipAddresses(List<SipAddress> sipAddresses)
The person's SIP addresses.
|
Person |
setSkills(List<Skill> skills)
The person's skills.
|
Person |
setTaglines(List<Tagline> taglines)
Output only.
|
Person |
setUrls(List<Url> urls)
The person's associated URLs.
|
Person |
setUserDefined(List<UserDefined> userDefined)
The person's user defined data.
|
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<Address> getAddresses()
null for nonepublic Person setAddresses(List<Address> addresses)
addresses - addresses or null for nonepublic String getAgeRange()
null for nonepublic Person setAgeRange(String ageRange)
ageRange - ageRange or null for nonepublic List<AgeRangeType> getAgeRanges()
null for nonepublic Person setAgeRanges(List<AgeRangeType> ageRanges)
ageRanges - ageRanges or null for nonepublic List<Biography> getBiographies()
null for nonepublic Person setBiographies(List<Biography> biographies)
biographies - biographies or null for nonepublic List<Birthday> getBirthdays()
null for nonepublic Person setBirthdays(List<Birthday> birthdays)
birthdays - birthdays or null for nonepublic List<BraggingRights> getBraggingRights()
null for nonepublic Person setBraggingRights(List<BraggingRights> braggingRights)
braggingRights - braggingRights or null for nonepublic List<CalendarUrl> getCalendarUrls()
null for nonepublic Person setCalendarUrls(List<CalendarUrl> calendarUrls)
calendarUrls - calendarUrls or null for nonepublic List<ClientData> getClientData()
null for nonepublic Person setClientData(List<ClientData> clientData)
clientData - clientData or null for nonepublic List<CoverPhoto> getCoverPhotos()
null for nonepublic Person setCoverPhotos(List<CoverPhoto> coverPhotos)
coverPhotos - coverPhotos or null for nonepublic List<EmailAddress> getEmailAddresses()
null for nonepublic Person setEmailAddresses(List<EmailAddress> emailAddresses)
emailAddresses - emailAddresses or null for nonepublic String getEtag()
null for nonepublic Person setEtag(String etag)
etag - etag or null for nonepublic Person setEvents(List<Event> events)
events - events or null for nonepublic List<ExternalId> getExternalIds()
null for nonepublic Person setExternalIds(List<ExternalId> externalIds)
externalIds - externalIds or null for nonepublic List<FileAs> getFileAses()
null for nonepublic Person setFileAses(List<FileAs> fileAses)
fileAses - fileAses or null for nonepublic List<Gender> getGenders()
null for nonepublic Person setGenders(List<Gender> genders)
genders - genders or null for nonepublic List<ImClient> getImClients()
null for nonepublic Person setImClients(List<ImClient> imClients)
imClients - imClients or null for nonepublic List<Interest> getInterests()
null for nonepublic Person setInterests(List<Interest> interests)
interests - interests or null for nonepublic List<Locale> getLocales()
null for nonepublic Person setLocales(List<Locale> locales)
locales - locales or null for nonepublic List<Location> getLocations()
null for nonepublic Person setLocations(List<Location> locations)
locations - locations or null for nonepublic List<Membership> getMemberships()
null for nonepublic Person setMemberships(List<Membership> memberships)
memberships - memberships or null for nonepublic PersonMetadata getMetadata()
null for nonepublic Person setMetadata(PersonMetadata metadata)
metadata - metadata or null for nonepublic List<MiscKeyword> getMiscKeywords()
null for nonepublic Person setMiscKeywords(List<MiscKeyword> miscKeywords)
miscKeywords - miscKeywords or null for nonepublic List<Name> getNames()
null for nonepublic Person setNames(List<Name> names)
names - names or null for nonepublic List<Nickname> getNicknames()
null for nonepublic Person setNicknames(List<Nickname> nicknames)
nicknames - nicknames or null for nonepublic List<Occupation> getOccupations()
null for nonepublic Person setOccupations(List<Occupation> occupations)
occupations - occupations or null for nonepublic List<Organization> getOrganizations()
null for nonepublic Person setOrganizations(List<Organization> organizations)
organizations - organizations or null for nonepublic List<PhoneNumber> getPhoneNumbers()
null for nonepublic Person setPhoneNumbers(List<PhoneNumber> phoneNumbers)
phoneNumbers - phoneNumbers or null for nonepublic List<Photo> getPhotos()
null for nonepublic Person setPhotos(List<Photo> photos)
photos - photos or null for nonepublic List<Relation> getRelations()
null for nonepublic Person setRelations(List<Relation> relations)
relations - relations or null for nonepublic List<RelationshipInterest> getRelationshipInterests()
null for nonepublic Person setRelationshipInterests(List<RelationshipInterest> relationshipInterests)
relationshipInterests - relationshipInterests or null for nonepublic List<RelationshipStatus> getRelationshipStatuses()
null for nonepublic Person setRelationshipStatuses(List<RelationshipStatus> relationshipStatuses)
relationshipStatuses - relationshipStatuses or null for nonepublic List<Residence> getResidences()
null for nonepublic Person setResidences(List<Residence> residences)
residences - residences or null for nonepublic String getResourceName()
null for nonepublic Person setResourceName(String resourceName)
resourceName - resourceName or null for nonepublic List<SipAddress> getSipAddresses()
null for nonepublic Person setSipAddresses(List<SipAddress> sipAddresses)
sipAddresses - sipAddresses or null for nonepublic Person setSkills(List<Skill> skills)
skills - skills or null for nonepublic List<Tagline> getTaglines()
null for nonepublic Person setTaglines(List<Tagline> taglines)
taglines - taglines or null for nonepublic Person setUrls(List<Url> urls)
urls - urls or null for nonepublic List<UserDefined> getUserDefined()
null for nonepublic Person setUserDefined(List<UserDefined> userDefined)
userDefined - userDefined or null for nonepublic Person set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Person clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.