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 ClassesModifier and TypeClassDescription(package private) static final classNested classes/interfaces inherited from class MessageEvent
MessageEvent.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final longprivate final longprivate final MessageEvent.Typeprivate final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAutoValue_MessageEvent(MessageEvent.Type type, long messageId, long uncompressedMessageSize, long compressedMessageSize) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongReturns the compressed size in bytes of theMessageEvent.longReturns the message id argument that serves to uniquely identify each message.getType()Returns the type of theMessageEvent.longReturns the uncompressed size in bytes of theMessageEvent.inthashCode()toString()Methods inherited from class MessageEvent
builder
-
Field Details
-
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
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
-
equals
-
hashCode
-