public final class Profile
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 Gmail 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 |
|---|
Profile() |
| Modifier and Type | Method and Description |
|---|---|
Profile |
clone() |
String |
getEmailAddress()
The user's email address.
|
BigInteger |
getHistoryId()
The ID of the mailbox's current history record.
|
Integer |
getMessagesTotal()
The total number of messages in the mailbox.
|
Integer |
getThreadsTotal()
The total number of threads in the mailbox.
|
Profile |
set(String fieldName,
Object value) |
Profile |
setEmailAddress(String emailAddress)
The user's email address.
|
Profile |
setHistoryId(BigInteger historyId)
The ID of the mailbox's current history record.
|
Profile |
setMessagesTotal(Integer messagesTotal)
The total number of messages in the mailbox.
|
Profile |
setThreadsTotal(Integer threadsTotal)
The total number of threads in the mailbox.
|
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 getEmailAddress()
null for nonepublic Profile setEmailAddress(String emailAddress)
emailAddress - emailAddress or null for nonepublic BigInteger getHistoryId()
null for nonepublic Profile setHistoryId(BigInteger historyId)
historyId - historyId or null for nonepublic Integer getMessagesTotal()
null for nonepublic Profile setMessagesTotal(Integer messagesTotal)
messagesTotal - messagesTotal or null for nonepublic Integer getThreadsTotal()
null for nonepublic Profile setThreadsTotal(Integer threadsTotal)
threadsTotal - threadsTotal or null for nonepublic Profile set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Profile clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.