public final class Name
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 |
|---|
Name() |
| Modifier and Type | Method and Description |
|---|---|
Name |
clone() |
String |
getDisplayName()
Output only.
|
String |
getDisplayNameLastFirst()
Output only.
|
String |
getFamilyName()
The family name.
|
String |
getGivenName()
The given name.
|
String |
getHonorificPrefix()
The honorific prefixes, such as `Mrs.` or `Dr.`
|
String |
getHonorificSuffix()
The honorific suffixes, such as `Jr.`
|
FieldMetadata |
getMetadata()
Metadata about the name.
|
String |
getMiddleName()
The middle name(s).
|
String |
getPhoneticFamilyName()
The family name spelled as it sounds.
|
String |
getPhoneticFullName()
The full name spelled as it sounds.
|
String |
getPhoneticGivenName()
The given name spelled as it sounds.
|
String |
getPhoneticHonorificPrefix()
The honorific prefixes spelled as they sound.
|
String |
getPhoneticHonorificSuffix()
The honorific suffixes spelled as they sound.
|
String |
getPhoneticMiddleName()
The middle name(s) spelled as they sound.
|
String |
getUnstructuredName()
The free form name value.
|
Name |
set(String fieldName,
Object value) |
Name |
setDisplayName(String displayName)
Output only.
|
Name |
setDisplayNameLastFirst(String displayNameLastFirst)
Output only.
|
Name |
setFamilyName(String familyName)
The family name.
|
Name |
setGivenName(String givenName)
The given name.
|
Name |
setHonorificPrefix(String honorificPrefix)
The honorific prefixes, such as `Mrs.` or `Dr.`
|
Name |
setHonorificSuffix(String honorificSuffix)
The honorific suffixes, such as `Jr.`
|
Name |
setMetadata(FieldMetadata metadata)
Metadata about the name.
|
Name |
setMiddleName(String middleName)
The middle name(s).
|
Name |
setPhoneticFamilyName(String phoneticFamilyName)
The family name spelled as it sounds.
|
Name |
setPhoneticFullName(String phoneticFullName)
The full name spelled as it sounds.
|
Name |
setPhoneticGivenName(String phoneticGivenName)
The given name spelled as it sounds.
|
Name |
setPhoneticHonorificPrefix(String phoneticHonorificPrefix)
The honorific prefixes spelled as they sound.
|
Name |
setPhoneticHonorificSuffix(String phoneticHonorificSuffix)
The honorific suffixes spelled as they sound.
|
Name |
setPhoneticMiddleName(String phoneticMiddleName)
The middle name(s) spelled as they sound.
|
Name |
setUnstructuredName(String unstructuredName)
The free form name value.
|
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 getDisplayName()
null for nonepublic Name setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getDisplayNameLastFirst()
null for nonepublic Name setDisplayNameLastFirst(String displayNameLastFirst)
displayNameLastFirst - displayNameLastFirst or null for nonepublic String getFamilyName()
null for nonepublic Name setFamilyName(String familyName)
familyName - familyName or null for nonepublic String getGivenName()
null for nonepublic Name setGivenName(String givenName)
givenName - givenName or null for nonepublic String getHonorificPrefix()
null for nonepublic Name setHonorificPrefix(String honorificPrefix)
honorificPrefix - honorificPrefix or null for nonepublic String getHonorificSuffix()
null for nonepublic Name setHonorificSuffix(String honorificSuffix)
honorificSuffix - honorificSuffix or null for nonepublic FieldMetadata getMetadata()
null for nonepublic Name setMetadata(FieldMetadata metadata)
metadata - metadata or null for nonepublic String getMiddleName()
null for nonepublic Name setMiddleName(String middleName)
middleName - middleName or null for nonepublic String getPhoneticFamilyName()
null for nonepublic Name setPhoneticFamilyName(String phoneticFamilyName)
phoneticFamilyName - phoneticFamilyName or null for nonepublic String getPhoneticFullName()
null for nonepublic Name setPhoneticFullName(String phoneticFullName)
phoneticFullName - phoneticFullName or null for nonepublic String getPhoneticGivenName()
null for nonepublic Name setPhoneticGivenName(String phoneticGivenName)
phoneticGivenName - phoneticGivenName or null for nonepublic String getPhoneticHonorificPrefix()
null for nonepublic Name setPhoneticHonorificPrefix(String phoneticHonorificPrefix)
phoneticHonorificPrefix - phoneticHonorificPrefix or null for nonepublic String getPhoneticHonorificSuffix()
null for nonepublic Name setPhoneticHonorificSuffix(String phoneticHonorificSuffix)
phoneticHonorificSuffix - phoneticHonorificSuffix or null for nonepublic String getPhoneticMiddleName()
null for nonepublic Name setPhoneticMiddleName(String phoneticMiddleName)
phoneticMiddleName - phoneticMiddleName or null for nonepublic String getUnstructuredName()
null for nonepublic Name setUnstructuredName(String unstructuredName)
unstructuredName - unstructuredName or null for nonepublic Name set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Name clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.