public enum SpanBytesDecoder extends Enum<SpanBytesDecoder> implements BytesDecoder<Span>
SpanBytesEncoder, as it isn't needed for instrumentation| Enum Constant and Description |
|---|
JSON_V1
Corresponds to the Zipkin v1 json format
|
JSON_V2
Corresponds to the Zipkin v2 json format
|
PROTO3 |
THRIFT
Corresponds to the Zipkin v1 thrift format
|
| Modifier and Type | Method and Description |
|---|---|
static SpanBytesDecoder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpanBytesDecoder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfdecode, decodeList, decodeList, decodeOne, encodingpublic static final SpanBytesDecoder JSON_V1
public static final SpanBytesDecoder THRIFT
public static final SpanBytesDecoder JSON_V2
public static final SpanBytesDecoder PROTO3
public static SpanBytesDecoder[] values()
for (SpanBytesDecoder c : SpanBytesDecoder.values()) System.out.println(c);
public static SpanBytesDecoder valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015–2019 OpenZipkin. All rights reserved.