public static enum BinaryAnnotation.Type extends Enum<BinaryAnnotation.Type>
| Enum Constant and Description | 
|---|
| BOOL | 
| BYTESNo encoding, or type is unknown. | 
| DOUBLE | 
| I16 | 
| I32 | 
| I64 | 
| STRINGThe only type zipkin v1 supports search against. | 
| Modifier and Type | Field and Description | 
|---|---|
| int | value | 
| Modifier and Type | Method and Description | 
|---|---|
| static BinaryAnnotation.Type | fromValue(int value)Returns  BYTESif unknown. | 
| static BinaryAnnotation.Type | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static BinaryAnnotation.Type[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final BinaryAnnotation.Type BOOL
public static final BinaryAnnotation.Type BYTES
public static final BinaryAnnotation.Type I16
public static final BinaryAnnotation.Type I32
public static final BinaryAnnotation.Type I64
public static final BinaryAnnotation.Type DOUBLE
public static final BinaryAnnotation.Type STRING
public static BinaryAnnotation.Type[] values()
for (BinaryAnnotation.Type c : BinaryAnnotation.Type.values()) System.out.println(c);
public static BinaryAnnotation.Type 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 nullpublic static BinaryAnnotation.Type fromValue(int value)
BYTES if unknown.Copyright © 2015–2016 OpenZipkin. All rights reserved.