Class Annotation.Builder

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Long timestamp  
      java.lang.String value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Annotation build()  
      Annotation.Builder timestamp​(java.lang.Long timestamp)
      Epoch microseconds of this event.
      Annotation.Builder value​(java.lang.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.
      • Methods inherited from class com.squareup.wire.Message.Builder

        addUnknownField, addUnknownFields, buildUnknownFields, clearUnknownFields, getUnknownFieldsBuffer$wire_runtime, getUnknownFieldsByteString$wire_runtime, getUnknownFieldsWriter$wire_runtime, setUnknownFieldsBuffer$wire_runtime, setUnknownFieldsByteString$wire_runtime, setUnknownFieldsWriter$wire_runtime
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • timestamp

        public java.lang.Long timestamp
      • value

        public java.lang.String value
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • timestamp

        public Annotation.Builder timestamp​(java.lang.Long timestamp)
        Epoch microseconds of this event. For example, 1502787600000000 corresponds to 2017-08-15 09:00 UTC This value should be set directly by instrumentation, using the most precise value possible. For example, gettimeofday or multiplying epoch millis by 1000.
      • value

        public Annotation.Builder value​(java.lang.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.