public final class EmailAddress
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 |
|---|
EmailAddress() |
| Modifier and Type | Method and Description |
|---|---|
EmailAddress |
clone() |
String |
getDisplayName()
The display name of the email.
|
String |
getFormattedType()
Output only.
|
FieldMetadata |
getMetadata()
Metadata about the email address.
|
String |
getType()
The type of the email address.
|
String |
getValue()
The email address.
|
EmailAddress |
set(String fieldName,
Object value) |
EmailAddress |
setDisplayName(String displayName)
The display name of the email.
|
EmailAddress |
setFormattedType(String formattedType)
Output only.
|
EmailAddress |
setMetadata(FieldMetadata metadata)
Metadata about the email address.
|
EmailAddress |
setType(String type)
The type of the email address.
|
EmailAddress |
setValue(String value)
The email address.
|
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 EmailAddress setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getFormattedType()
null for nonepublic EmailAddress setFormattedType(String formattedType)
formattedType - formattedType or null for nonepublic FieldMetadata getMetadata()
null for nonepublic EmailAddress setMetadata(FieldMetadata metadata)
metadata - metadata or null for nonepublic String getType()
null for nonepublic EmailAddress setType(String type)
type - type or null for nonepublic String getValue()
null for nonepublic EmailAddress setValue(String value)
value - value or null for nonepublic EmailAddress set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic EmailAddress clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.