public final class FieldMetadata
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 |
|---|
FieldMetadata() |
| Modifier and Type | Method and Description |
|---|---|
FieldMetadata |
clone() |
java.lang.Boolean |
getPrimary()
True if the field is the primary field; false if the field is a secondary field.
|
Source |
getSource()
The source of the field.
|
java.lang.Boolean |
getVerified()
True if the field is verified; false if the field is unverified.
|
FieldMetadata |
set(java.lang.String fieldName,
java.lang.Object value) |
FieldMetadata |
setPrimary(java.lang.Boolean primary)
True if the field is the primary field; false if the field is a secondary field.
|
FieldMetadata |
setSource(Source source)
The source of the field.
|
FieldMetadata |
setVerified(java.lang.Boolean verified)
True if the field is verified; false if the field is unverified.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getPrimary()
null for nonepublic FieldMetadata setPrimary(java.lang.Boolean primary)
primary - primary or null for nonepublic Source getSource()
null for nonepublic FieldMetadata setSource(Source source)
source - source or null for nonepublic java.lang.Boolean getVerified()
null for nonepublic FieldMetadata setVerified(java.lang.Boolean verified)
verified - verified or null for nonepublic FieldMetadata set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic FieldMetadata clone()
clone in class com.google.api.client.json.GenericJson