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 ClassesModifier and TypeClassDescription(package private) static final class
Nested classes/interfaces inherited from class io.opencensus.trace.MessageEvent
MessageEvent.Type
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final long
private final long
private final MessageEvent.Type
private final long
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
AutoValue_MessageEvent
(MessageEvent.Type type, long messageId, long uncompressedMessageSize, long compressedMessageSize) -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
Returns the compressed size in bytes of theMessageEvent
.long
Returns the message id argument that serves to uniquely identify each message.getType()
Returns the type of theMessageEvent
.long
Returns the uncompressed size in bytes of theMessageEvent
.int
hashCode()
toString()
Methods inherited from class io.opencensus.trace.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: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
-
equals
-
hashCode
public int hashCode()
-