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 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 |
Person.AgeRange
The age range of the person.
|
static class |
Person.Cover
The cover photo content.
|
static class |
Person.Emails
Model definition for PersonEmails.
|
static class |
Person.Image
The representation of the person's profile photo.
|
static class |
Person.Name
An object representation of the individual components of a person's name.
|
static class |
Person.Organizations
Model definition for PersonOrganizations.
|
static class |
Person.PlacesLived
Model definition for PersonPlacesLived.
|
static class |
Person.Urls
Model definition for PersonUrls.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Person() |
| Modifier and Type | Method and Description |
|---|---|
Person |
clone() |
java.lang.String |
getAboutMe()
A short biography for this person.
|
Person.AgeRange |
getAgeRange()
The age range of the person.
|
java.lang.String |
getBirthday()
The person's date of birth, represented as YYYY-MM-DD.
|
java.lang.String |
getBraggingRights()
The "bragging rights" line of this person.
|
java.lang.Integer |
getCircledByCount()
For followers who are visible, the number of people who have added this person or page to a
circle.
|
Person.Cover |
getCover()
The cover photo content.
|
java.lang.String |
getCurrentLocation()
(this field is not currently used)
|
java.lang.String |
getDisplayName()
The name of this person, which is suitable for display.
|
java.lang.String |
getDomain()
The hosted domain name for the user's Google Apps account.
|
java.util.List<Person.Emails> |
getEmails()
A list of email addresses that this person has, including their Google account email address,
and the public verified email addresses on their Google+ profile.
|
java.lang.String |
getEtag()
ETag of this response for caching purposes.
|
java.lang.String |
getGender()
The person's gender.
|
java.lang.String |
getId()
The ID of this person.
|
Person.Image |
getImage()
The representation of the person's profile photo.
|
java.lang.Boolean |
getIsPlusUser()
Whether this user has signed up for Google+.
|
java.lang.String |
getKind()
Identifies this resource as a person.
|
java.lang.String |
getLanguage()
The user's preferred language for rendering.
|
Person.Name |
getName()
An object representation of the individual components of a person's name.
|
java.lang.String |
getNickname()
The nickname of this person.
|
java.lang.String |
getObjectType()
Type of person within Google+.
|
java.lang.String |
getOccupation()
The occupation of this person.
|
java.util.List<Person.Organizations> |
getOrganizations()
A list of current or past organizations with which this person is associated.
|
java.util.List<Person.PlacesLived> |
getPlacesLived()
A list of places where this person has lived.
|
java.lang.Integer |
getPlusOneCount()
If a Google+ Page, the number of people who have +1'd this page.
|
java.lang.String |
getRelationshipStatus()
The person's relationship status.
|
java.lang.String |
getSkills()
The person's skills.
|
java.lang.String |
getTagline()
The brief description (tagline) of this person.
|
java.lang.String |
getUrl()
The URL of this person's profile.
|
java.util.List<Person.Urls> |
getUrls()
A list of URLs for this person.
|
java.lang.Boolean |
getVerified()
Whether the person or Google+ Page has been verified.
|
Person |
set(java.lang.String fieldName,
java.lang.Object value) |
Person |
setAboutMe(java.lang.String aboutMe)
A short biography for this person.
|
Person |
setAgeRange(Person.AgeRange ageRange)
The age range of the person.
|
Person |
setBirthday(java.lang.String birthday)
The person's date of birth, represented as YYYY-MM-DD.
|
Person |
setBraggingRights(java.lang.String braggingRights)
The "bragging rights" line of this person.
|
Person |
setCircledByCount(java.lang.Integer circledByCount)
For followers who are visible, the number of people who have added this person or page to a
circle.
|
Person |
setCover(Person.Cover cover)
The cover photo content.
|
Person |
setCurrentLocation(java.lang.String currentLocation)
(this field is not currently used)
|
Person |
setDisplayName(java.lang.String displayName)
The name of this person, which is suitable for display.
|
Person |
setDomain(java.lang.String domain)
The hosted domain name for the user's Google Apps account.
|
Person |
setEmails(java.util.List<Person.Emails> emails)
A list of email addresses that this person has, including their Google account email address,
and the public verified email addresses on their Google+ profile.
|
Person |
setEtag(java.lang.String etag)
ETag of this response for caching purposes.
|
Person |
setGender(java.lang.String gender)
The person's gender.
|
Person |
setId(java.lang.String id)
The ID of this person.
|
Person |
setImage(Person.Image image)
The representation of the person's profile photo.
|
Person |
setIsPlusUser(java.lang.Boolean isPlusUser)
Whether this user has signed up for Google+.
|
Person |
setKind(java.lang.String kind)
Identifies this resource as a person.
|
Person |
setLanguage(java.lang.String language)
The user's preferred language for rendering.
|
Person |
setName(Person.Name name)
An object representation of the individual components of a person's name.
|
Person |
setNickname(java.lang.String nickname)
The nickname of this person.
|
Person |
setObjectType(java.lang.String objectType)
Type of person within Google+.
|
Person |
setOccupation(java.lang.String occupation)
The occupation of this person.
|
Person |
setOrganizations(java.util.List<Person.Organizations> organizations)
A list of current or past organizations with which this person is associated.
|
Person |
setPlacesLived(java.util.List<Person.PlacesLived> placesLived)
A list of places where this person has lived.
|
Person |
setPlusOneCount(java.lang.Integer plusOneCount)
If a Google+ Page, the number of people who have +1'd this page.
|
Person |
setRelationshipStatus(java.lang.String relationshipStatus)
The person's relationship status.
|
Person |
setSkills(java.lang.String skills)
The person's skills.
|
Person |
setTagline(java.lang.String tagline)
The brief description (tagline) of this person.
|
Person |
setUrl(java.lang.String url)
The URL of this person's profile.
|
Person |
setUrls(java.util.List<Person.Urls> urls)
A list of URLs for this person.
|
Person |
setVerified(java.lang.Boolean verified)
Whether the person or Google+ Page has been verified.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getAboutMe()
null for nonepublic Person setAboutMe(java.lang.String aboutMe)
aboutMe - aboutMe or null for nonepublic Person.AgeRange getAgeRange()
null for nonepublic Person setAgeRange(Person.AgeRange ageRange)
ageRange - ageRange or null for nonepublic java.lang.String getBirthday()
null for nonepublic Person setBirthday(java.lang.String birthday)
birthday - birthday or null for nonepublic java.lang.String getBraggingRights()
null for nonepublic Person setBraggingRights(java.lang.String braggingRights)
braggingRights - braggingRights or null for nonepublic java.lang.Integer getCircledByCount()
null for nonepublic Person setCircledByCount(java.lang.Integer circledByCount)
circledByCount - circledByCount or null for nonepublic Person.Cover getCover()
null for nonepublic Person setCover(Person.Cover cover)
cover - cover or null for nonepublic java.lang.String getCurrentLocation()
null for nonepublic Person setCurrentLocation(java.lang.String currentLocation)
currentLocation - currentLocation or null for nonepublic java.lang.String getDisplayName()
null for nonepublic Person setDisplayName(java.lang.String displayName)
displayName - displayName or null for nonepublic java.lang.String getDomain()
null for nonepublic Person setDomain(java.lang.String domain)
domain - domain or null for nonepublic java.util.List<Person.Emails> getEmails()
null for nonepublic Person setEmails(java.util.List<Person.Emails> emails)
emails - emails or null for nonepublic java.lang.String getEtag()
null for nonepublic Person setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.String getGender()
null for nonepublic Person setGender(java.lang.String gender)
gender - gender or null for nonepublic java.lang.String getId()
null for nonepublic Person setId(java.lang.String id)
id - id or null for nonepublic Person.Image getImage()
null for nonepublic Person setImage(Person.Image image)
image - image or null for nonepublic java.lang.Boolean getIsPlusUser()
null for nonepublic Person setIsPlusUser(java.lang.Boolean isPlusUser)
isPlusUser - isPlusUser or null for nonepublic java.lang.String getKind()
null for nonepublic Person setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getLanguage()
null for nonepublic Person setLanguage(java.lang.String language)
language - language or null for nonepublic Person.Name getName()
null for nonepublic Person setName(Person.Name name)
name - name or null for nonepublic java.lang.String getNickname()
null for nonepublic Person setNickname(java.lang.String nickname)
nickname - nickname or null for nonepublic java.lang.String getObjectType()
null for nonepublic Person setObjectType(java.lang.String objectType)
objectType - objectType or null for nonepublic java.lang.String getOccupation()
null for nonepublic Person setOccupation(java.lang.String occupation)
occupation - occupation or null for nonepublic java.util.List<Person.Organizations> getOrganizations()
null for nonepublic Person setOrganizations(java.util.List<Person.Organizations> organizations)
organizations - organizations or null for nonepublic java.util.List<Person.PlacesLived> getPlacesLived()
null for nonepublic Person setPlacesLived(java.util.List<Person.PlacesLived> placesLived)
placesLived - placesLived or null for nonepublic java.lang.Integer getPlusOneCount()
null for nonepublic Person setPlusOneCount(java.lang.Integer plusOneCount)
plusOneCount - plusOneCount or null for nonepublic java.lang.String getRelationshipStatus()
null for nonepublic Person setRelationshipStatus(java.lang.String relationshipStatus)
relationshipStatus - relationshipStatus or null for nonepublic java.lang.String getSkills()
null for nonepublic Person setSkills(java.lang.String skills)
skills - skills or null for nonepublic java.lang.String getTagline()
null for nonepublic Person setTagline(java.lang.String tagline)
tagline - tagline or null for nonepublic java.lang.String getUrl()
null for nonepublic Person setUrl(java.lang.String url)
url - url or null for nonepublic java.util.List<Person.Urls> getUrls()
null for nonepublic Person setUrls(java.util.List<Person.Urls> urls)
urls - urls or null for nonepublic java.lang.Boolean getVerified()
null for nonepublic Person setVerified(java.lang.Boolean verified)
verified - verified or null for nonepublic Person set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Person clone()
clone in class com.google.api.client.json.GenericJson