Package io.opencensus.trace
Class AutoValue_MessageEvent
- java.lang.Object
-
- io.opencensus.trace.BaseMessageEvent
-
- io.opencensus.trace.MessageEvent
-
- io.opencensus.trace.AutoValue_MessageEvent
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_MessageEvent extends MessageEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
AutoValue_MessageEvent.Builder
-
Nested classes/interfaces inherited from class io.opencensus.trace.MessageEvent
MessageEvent.Type
-
-
Field Summary
Fields Modifier and Type Field Description private long
compressedMessageSize
private long
messageId
private MessageEvent.Type
type
private long
uncompressedMessageSize
-
Constructor Summary
Constructors Modifier Constructor Description private
AutoValue_MessageEvent(MessageEvent.Type type, long messageId, long uncompressedMessageSize, long compressedMessageSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
long
getCompressedMessageSize()
Returns the compressed size in bytes of theMessageEvent
.long
getMessageId()
Returns the message id argument that serves to uniquely identify each message.MessageEvent.Type
getType()
Returns the type of theMessageEvent
.long
getUncompressedMessageSize()
Returns the uncompressed size in bytes of theMessageEvent
.int
hashCode()
java.lang.String
toString()
-
Methods inherited from class io.opencensus.trace.MessageEvent
builder
-
-
-
-
Field Detail
-
type
private final MessageEvent.Type type
-
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
-
getType
public MessageEvent.Type getType()
Description copied from class:MessageEvent
Returns the type of theMessageEvent
.- Specified by:
getType
in classMessageEvent
- 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 classMessageEvent
- Returns:
- the message id of the
MessageEvent
.
-
getUncompressedMessageSize
public long getUncompressedMessageSize()
Description copied from class:MessageEvent
Returns the uncompressed size in bytes of theMessageEvent
.- Specified by:
getUncompressedMessageSize
in classMessageEvent
- 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 theMessageEvent
.- Specified by:
getCompressedMessageSize
in classMessageEvent
- Returns:
- the compressed size in bytes of the
MessageEvent
.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-