Package zipkin2.proto3
Class Annotation.Builder
- java.lang.Object
-
- com.squareup.wire.Message.Builder<Annotation,Annotation.Builder>
-
- zipkin2.proto3.Annotation.Builder
-
- Enclosing class:
- Annotation
public static final class Annotation.Builder extends com.squareup.wire.Message.Builder<Annotation,Annotation.Builder>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Annotation
build()
Annotation.Builder
timestamp(Long timestamp)
Epoch microseconds of this event.Annotation.Builder
value(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
-
-
-
-
Method Detail
-
timestamp
public Annotation.Builder timestamp(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(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.
-
build
public Annotation build()
- Specified by:
build
in classcom.squareup.wire.Message.Builder<Annotation,Annotation.Builder>
-
-