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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Source() |
| Modifier and Type | Method and Description |
|---|---|
Source |
clone() |
String |
getEtag()
**Only populated in `person.metadata.sources`.** The [HTTP entity
tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the source.
|
String |
getId()
The unique identifier within the source type generated by the server.
|
ProfileMetadata |
getProfileMetadata()
Output only.
|
String |
getType()
The source type.
|
String |
getUpdateTime()
Output only.
|
Source |
set(String fieldName,
Object value) |
Source |
setEtag(String etag)
**Only populated in `person.metadata.sources`.** The [HTTP entity
tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the source.
|
Source |
setId(String id)
The unique identifier within the source type generated by the server.
|
Source |
setProfileMetadata(ProfileMetadata profileMetadata)
Output only.
|
Source |
setType(String type)
The source type.
|
Source |
setUpdateTime(String updateTime)
Output only.
|
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 getEtag()
null for nonepublic Source setEtag(String etag)
etag - etag or null for nonepublic String getId()
null for nonepublic Source setId(String id)
id - id or null for nonepublic ProfileMetadata getProfileMetadata()
null for nonepublic Source setProfileMetadata(ProfileMetadata profileMetadata)
profileMetadata - profileMetadata or null for nonepublic String getType()
null for nonepublic Source setType(String type)
type - type or null for nonepublic String getUpdateTime()
null for nonepublic Source setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic Source set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Source clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.