Class AutoValue_MessageEvent


  • @Generated("com.google.auto.value.processor.AutoValueProcessor")
    final class AutoValue_MessageEvent
    extends MessageEvent
    • Field Detail

      • messageId

        private final long messageId
      • uncompressedMessageSize

        private final long uncompressedMessageSize
      • compressedMessageSize

        private final long compressedMessageSize
    • Constructor Detail

      • AutoValue_MessageEvent

        private AutoValue_MessageEvent​(MessageEvent.Type type,
                                       long messageId,
                                       long uncompressedMessageSize,
                                       long compressedMessageSize)
    • Method Detail

      • getMessageId

        public long getMessageId()
        Description copied from class: MessageEvent
        Returns the message id argument that serves to uniquely identify each message.
        Specified by:
        getMessageId in class MessageEvent
        Returns:
        the message id of the MessageEvent.
      • getUncompressedMessageSize

        public long getUncompressedMessageSize()
        Description copied from class: MessageEvent
        Returns the uncompressed size in bytes of the MessageEvent.
        Specified by:
        getUncompressedMessageSize in class MessageEvent
        Returns:
        the uncompressed size in bytes of the MessageEvent.
      • getCompressedMessageSize

        public long getCompressedMessageSize()
        Description copied from class: MessageEvent
        Returns the compressed size in bytes of the MessageEvent.
        Specified by:
        getCompressedMessageSize in class MessageEvent
        Returns:
        the compressed size in bytes of the MessageEvent.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object