public final class SearchMessageResult
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 Chat 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 |
|---|
SearchMessageResult() |
| Modifier and Type | Method and Description |
|---|---|
SearchMessageResult |
clone() |
Message |
getMessage()
The matched message.
|
Boolean |
getRead()
Indicates if the matched message is read by the calling user.
|
String |
getSpaceMuteSetting()
The mute setting of the calling user for the space where the message is posted.
|
SearchMessageResult |
set(String fieldName,
Object value) |
SearchMessageResult |
setMessage(Message message)
The matched message.
|
SearchMessageResult |
setRead(Boolean read)
Indicates if the matched message is read by the calling user.
|
SearchMessageResult |
setSpaceMuteSetting(String spaceMuteSetting)
The mute setting of the calling user for the space where the message is posted.
|
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 Message getMessage()
null for nonepublic SearchMessageResult setMessage(Message message)
message - message or null for nonepublic Boolean getRead()
null for nonepublic SearchMessageResult setRead(Boolean read)
read - read or null for nonepublic String getSpaceMuteSetting()
null for nonepublic SearchMessageResult setSpaceMuteSetting(String spaceMuteSetting)
spaceMuteSetting - spaceMuteSetting or null for nonepublic SearchMessageResult set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic SearchMessageResult clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.