Interface Span.TimeEvent.MessageEventOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getCompressedSize()
      The number of compressed bytes sent or received.
      long getId()
      An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents.
      Span.TimeEvent.MessageEvent.Type getType()
      The type of MessageEvent.
      int getTypeValue()
      The type of MessageEvent.
      long getUncompressedSize()
      The number of uncompressed bytes sent or received.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.