public static final class RemoteMessage.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RemoteMessage.Builder |
addData(java.lang.String key,
java.lang.String value) |
RemoteMessage |
build() |
RemoteMessage.Builder |
clearData() |
RemoteMessage.Builder |
setCollapsedKey(java.lang.String collapsedKey) |
RemoteMessage.Builder |
setData(java.util.HashMap<java.lang.String,java.lang.String> data) |
RemoteMessage.Builder |
setMessageId(java.lang.String messageId) |
RemoteMessage.Builder |
setMessageType(java.lang.String messageType) |
RemoteMessage.Builder |
setTtl(int ttl) |
public RemoteMessage.Builder addData(java.lang.String key, java.lang.String value)
public RemoteMessage build()
public RemoteMessage.Builder clearData()
public RemoteMessage.Builder setCollapsedKey(java.lang.String collapsedKey)
public RemoteMessage.Builder setData(java.util.HashMap<java.lang.String,java.lang.String> data)
public RemoteMessage.Builder setMessageId(java.lang.String messageId)
public RemoteMessage.Builder setMessageType(java.lang.String messageType)
public RemoteMessage.Builder setTtl(int ttl)