Class AutoValue_MessageEvent


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

    • type

      private final MessageEvent.Type type
    • messageId

      private final long messageId
    • uncompressedMessageSize

      private final long uncompressedMessageSize
    • compressedMessageSize

      private final long compressedMessageSize
  • Constructor Details

    • AutoValue_MessageEvent

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

    • getType

      public MessageEvent.Type getType()
      Description copied from class: MessageEvent
      Returns the type of the MessageEvent.
      Specified by:
      getType in class MessageEvent
      Returns:
      the type of the MessageEvent.
    • 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 String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object