Interface Span.TimeEvent.MessageEventOrBuilder (2.3.0)

public static interface Span.TimeEvent.MessageEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCompressedSizeBytes()

public abstract long getCompressedSizeBytes()

The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.

int64 compressed_size_bytes = 4;

Returns
TypeDescription
long

The compressedSizeBytes.

getId()

public abstract long getId()

An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents. It is recommended to be unique within a Span.

int64 id = 2;

Returns
TypeDescription
long

The id.

getType()

public abstract Span.TimeEvent.MessageEvent.Type getType()

Type of MessageEvent. Indicates whether the message was sent or received.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type type = 1;

Returns
TypeDescription
Span.TimeEvent.MessageEvent.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Type of MessageEvent. Indicates whether the message was sent or received.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUncompressedSizeBytes()

public abstract long getUncompressedSizeBytes()

The number of uncompressed bytes sent or received.

int64 uncompressed_size_bytes = 3;

Returns
TypeDescription
long

The uncompressedSizeBytes.