Class Annotation

java.lang.Object
com.squareup.wire.Message<Annotation,​Annotation.Builder>
zipkin2.proto3.Annotation
All Implemented Interfaces:
Serializable

public final class Annotation
extends com.squareup.wire.Message<Annotation,​Annotation.Builder>
Associates an event that explains latency with a timestamp. Unlike log statements, annotations are often codes. Ex. "ws" for WireSend The next id is 3.
See Also:
Serialized Form
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  Annotation.Builder  

    Nested classes/interfaces inherited from class com.squareup.wire.Message

    com.squareup.wire.Message.Companion
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static com.squareup.wire.ProtoAdapter<Annotation> ADAPTER  
    static Long DEFAULT_TIMESTAMP  
    static String DEFAULT_VALUE  
    Long timestamp
    Epoch microseconds of this event.
    String value
    Usually a short tag indicating an event, like "error" While possible to add larger data, such as garbage collection details, low cardinality event names both keep the size of spans down and also are easy to search against.

    Fields inherited from class com.squareup.wire.Message

    Companion, hashCode
  • Constructor Summary

    Constructors 
    Constructor Description
    Annotation​(Long timestamp, String value)  
    Annotation​(Long timestamp, String value, okio.ByteString unknownFields)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(Object other)  
    int hashCode()  
    Annotation.Builder newBuilder()  
    String toString()  

    Methods inherited from class com.squareup.wire.Message

    adapter, encode, encode, encode, getCachedSerializedSize$wire_runtime, setCachedSerializedSize$wire_runtime, unknownFields, withoutUnknownFields, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait