public final class Source
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.Flags| Constructor and Description |
|---|
Source() |
| Modifier and Type | Method and Description |
|---|---|
Source |
clone() |
java.lang.String |
getEtag()
**Only populated in `person.metadata.sources`.**
The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the source.
|
java.lang.String |
getId()
The unique identifier within the source type generated by the server.
|
ProfileMetadata |
getProfileMetadata()
**Only populated in `person.metadata.sources`.**
Metadata about a source of type PROFILE.
|
java.lang.String |
getType()
The source type.
|
java.lang.String |
getUpdateTime()
**Only populated in `person.metadata.sources`.**
Last update timestamp of this source.
|
Source |
set(java.lang.String fieldName,
java.lang.Object value) |
Source |
setEtag(java.lang.String etag)
**Only populated in `person.metadata.sources`.**
The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the source.
|
Source |
setId(java.lang.String id)
The unique identifier within the source type generated by the server.
|
Source |
setProfileMetadata(ProfileMetadata profileMetadata)
**Only populated in `person.metadata.sources`.**
Metadata about a source of type PROFILE.
|
Source |
setType(java.lang.String type)
The source type.
|
Source |
setUpdateTime(java.lang.String updateTime)
**Only populated in `person.metadata.sources`.**
Last update timestamp of this source.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getEtag()
null for nonepublic Source setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.String getId()
null for nonepublic Source setId(java.lang.String id)
id - id or null for nonepublic ProfileMetadata getProfileMetadata()
null for nonepublic Source setProfileMetadata(ProfileMetadata profileMetadata)
profileMetadata - profileMetadata or null for nonepublic java.lang.String getType()
null for nonepublic Source setType(java.lang.String type)
type - type or null for nonepublic java.lang.String getUpdateTime()
null for nonepublic Source setUpdateTime(java.lang.String updateTime)
updateTime - updateTime or null for nonepublic Source set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Source clone()
clone in class com.google.api.client.json.GenericJson