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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
FieldMetadata() |
| Modifier and Type | Method and Description |
|---|---|
FieldMetadata |
clone() |
Boolean |
getPrimary()
Output only.
|
Source |
getSource()
The source of the field.
|
Boolean |
getSourcePrimary()
True if the field is the primary field for the source.
|
Boolean |
getVerified()
Output only.
|
FieldMetadata |
set(String fieldName,
Object value) |
FieldMetadata |
setPrimary(Boolean primary)
Output only.
|
FieldMetadata |
setSource(Source source)
The source of the field.
|
FieldMetadata |
setSourcePrimary(Boolean sourcePrimary)
True if the field is the primary field for the source.
|
FieldMetadata |
setVerified(Boolean verified)
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 Boolean getPrimary()
null for nonepublic FieldMetadata setPrimary(Boolean primary)
primary - primary or null for nonepublic Source getSource()
null for nonepublic FieldMetadata setSource(Source source)
source - source or null for nonepublic Boolean getSourcePrimary()
null for nonepublic FieldMetadata setSourcePrimary(Boolean sourcePrimary)
sourcePrimary - sourcePrimary or null for nonepublic Boolean getVerified()
null for nonepublic FieldMetadata setVerified(Boolean verified)
verified - verified or null for nonepublic FieldMetadata set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic FieldMetadata clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.