public abstract static class MessageEvent.Builder extends Object
MessageEvent.| Modifier and Type | Method and Description |
|---|---|
abstract MessageEvent |
build()
Builds and returns a
MessageEvent with the desired values. |
abstract MessageEvent.Builder |
setCompressedMessageSize(long compressedMessageSize)
Sets the compressed message size.
|
abstract MessageEvent.Builder |
setUncompressedMessageSize(long uncompressedMessageSize)
Sets the uncompressed message size.
|
public abstract MessageEvent.Builder setUncompressedMessageSize(long uncompressedMessageSize)
uncompressedMessageSize - represents the uncompressed size in bytes of this message.public abstract MessageEvent.Builder setCompressedMessageSize(long compressedMessageSize)
compressedMessageSize - represents the compressed size in bytes of this message.public abstract MessageEvent build()
MessageEvent with the desired values.MessageEvent with the desired values.