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 classAutoValue_MessageEvent.Builder-
Nested classes/interfaces inherited from class io.opencensus.trace.MessageEvent
MessageEvent.Type
-
-
Field Summary
Fields Modifier and Type Field Description private longcompressedMessageSizeprivate longmessageIdprivate MessageEvent.Typetypeprivate longuncompressedMessageSize
-
Constructor Summary
Constructors Modifier Constructor Description privateAutoValue_MessageEvent(MessageEvent.Type type, long messageId, long uncompressedMessageSize, long compressedMessageSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)longgetCompressedMessageSize()Returns the compressed size in bytes of theMessageEvent.longgetMessageId()Returns the message id argument that serves to uniquely identify each message.MessageEvent.TypegetType()Returns the type of theMessageEvent.longgetUncompressedMessageSize()Returns the uncompressed size in bytes of theMessageEvent.inthashCode()java.lang.StringtoString()-
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:MessageEventReturns the type of theMessageEvent.- Specified by:
getTypein classMessageEvent- Returns:
- the type of the
MessageEvent.
-
getMessageId
public long getMessageId()
Description copied from class:MessageEventReturns the message id argument that serves to uniquely identify each message.- Specified by:
getMessageIdin classMessageEvent- Returns:
- the message id of the
MessageEvent.
-
getUncompressedMessageSize
public long getUncompressedMessageSize()
Description copied from class:MessageEventReturns the uncompressed size in bytes of theMessageEvent.- Specified by:
getUncompressedMessageSizein classMessageEvent- Returns:
- the uncompressed size in bytes of the
MessageEvent.
-
getCompressedMessageSize
public long getCompressedMessageSize()
Description copied from class:MessageEventReturns the compressed size in bytes of theMessageEvent.- Specified by:
getCompressedMessageSizein classMessageEvent- Returns:
- the compressed size in bytes of the
MessageEvent.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-