public final class GmailMessageInfo
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 Google Workspace Alert Center 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 |
|---|
GmailMessageInfo() |
| Modifier and Type | Method and Description |
|---|---|
GmailMessageInfo |
clone() |
List<String> |
getAttachmentsSha256Hash()
The `SHA256` hash of email's attachment and all MIME parts.
|
String |
getDate()
The date of the event related to this email.
|
String |
getMd5HashMessageBody()
The hash of the message body text.
|
String |
getMd5HashSubject()
The MD5 Hash of email's subject (only available for reported emails).
|
String |
getMessageBodySnippet()
The snippet of the message body text (only available for reported emails).
|
String |
getMessageId()
The message ID.
|
String |
getRecipient()
The recipient of this email.
|
String |
getSentTime()
The sent time of the email.
|
String |
getSubjectText()
The email subject text (only available for reported emails).
|
GmailMessageInfo |
set(String fieldName,
Object value) |
GmailMessageInfo |
setAttachmentsSha256Hash(List<String> attachmentsSha256Hash)
The `SHA256` hash of email's attachment and all MIME parts.
|
GmailMessageInfo |
setDate(String date)
The date of the event related to this email.
|
GmailMessageInfo |
setMd5HashMessageBody(String md5HashMessageBody)
The hash of the message body text.
|
GmailMessageInfo |
setMd5HashSubject(String md5HashSubject)
The MD5 Hash of email's subject (only available for reported emails).
|
GmailMessageInfo |
setMessageBodySnippet(String messageBodySnippet)
The snippet of the message body text (only available for reported emails).
|
GmailMessageInfo |
setMessageId(String messageId)
The message ID.
|
GmailMessageInfo |
setRecipient(String recipient)
The recipient of this email.
|
GmailMessageInfo |
setSentTime(String sentTime)
The sent time of the email.
|
GmailMessageInfo |
setSubjectText(String subjectText)
The email subject text (only available for reported emails).
|
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 List<String> getAttachmentsSha256Hash()
null for nonepublic GmailMessageInfo setAttachmentsSha256Hash(List<String> attachmentsSha256Hash)
attachmentsSha256Hash - attachmentsSha256Hash or null for nonepublic String getDate()
null for nonepublic GmailMessageInfo setDate(String date)
date - date or null for nonepublic String getMd5HashMessageBody()
null for nonepublic GmailMessageInfo setMd5HashMessageBody(String md5HashMessageBody)
md5HashMessageBody - md5HashMessageBody or null for nonepublic String getMd5HashSubject()
null for nonepublic GmailMessageInfo setMd5HashSubject(String md5HashSubject)
md5HashSubject - md5HashSubject or null for nonepublic String getMessageBodySnippet()
null for nonepublic GmailMessageInfo setMessageBodySnippet(String messageBodySnippet)
messageBodySnippet - messageBodySnippet or null for nonepublic String getMessageId()
null for nonepublic GmailMessageInfo setMessageId(String messageId)
messageId - messageId or null for nonepublic String getRecipient()
null for nonepublic GmailMessageInfo setRecipient(String recipient)
recipient - recipient or null for nonepublic String getSentTime()
null for nonepublic GmailMessageInfo setSentTime(String sentTime)
sentTime - sentTime or null for nonepublic String getSubjectText()
null for nonepublic GmailMessageInfo setSubjectText(String subjectText)
subjectText - subjectText or null for nonepublic GmailMessageInfo set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GmailMessageInfo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.