Package io.opencensus.proto.trace.v1
Interface Span.TimeEvent.MessageEventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Span.TimeEvent.MessageEvent,Span.TimeEvent.MessageEvent.Builder
- Enclosing class:
- Span.TimeEvent
public static interface Span.TimeEvent.MessageEventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCompressedSize()The number of compressed bytes sent or received.longgetId()An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents.Span.TimeEvent.MessageEvent.TypegetType()The type of MessageEvent.intgetTypeValue()The type of MessageEvent.longgetUncompressedSize()The number of uncompressed bytes sent or received.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
The type of MessageEvent. Indicates whether the message was sent or received.
.opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent.Type type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
Span.TimeEvent.MessageEvent.Type getType()
The type of MessageEvent. Indicates whether the message was sent or received.
.opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent.Type type = 1;- Returns:
- The type.
-
getId
long getId()
An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents. For example, this field could represent a sequence ID for a streaming RPC. It is recommended to be unique within a Span.
uint64 id = 2;- Returns:
- The id.
-
getUncompressedSize
long getUncompressedSize()
The number of uncompressed bytes sent or received.
uint64 uncompressed_size = 3;- Returns:
- The uncompressedSize.
-
getCompressedSize
long getCompressedSize()
The number of compressed bytes sent or received. If zero, assumed to be the same size as uncompressed.
uint64 compressed_size = 4;- Returns:
- The compressedSize.
-
-