Class MessageEvent.Builder

    • Constructor Detail

      • Builder

        Builder()
    • Method Detail

      • setUncompressedMessageSize

        public abstract MessageEvent.Builder setUncompressedMessageSize​(long uncompressedMessageSize)
        Sets the uncompressed message size.
        Parameters:
        uncompressedMessageSize - represents the uncompressed size in bytes of this message.
        Returns:
        this.
        Since:
        0.12
      • setCompressedMessageSize

        public abstract MessageEvent.Builder setCompressedMessageSize​(long compressedMessageSize)
        Sets the compressed message size.
        Parameters:
        compressedMessageSize - represents the compressed size in bytes of this message.
        Returns:
        this.
        Since:
        0.12
      • build

        public abstract MessageEvent build()
        Builds and returns a MessageEvent with the desired values.
        Returns:
        a MessageEvent with the desired values.
        Since:
        0.12