@Generated("thrift") public enum AnnotationType extends java.lang.Enum<AnnotationType>
Modifier and Type | Method | Description |
---|---|---|
static AnnotationType |
fromValue(int value) |
Returns
BYTES if unknown. |
int |
getValue() |
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static AnnotationType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AnnotationType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationType BOOL
public static final AnnotationType BYTES
public static final AnnotationType I16
public static final AnnotationType I32
public static final AnnotationType I64
public static final AnnotationType DOUBLE
public static final AnnotationType STRING
public static AnnotationType[] values()
for (AnnotationType c : AnnotationType.values()) System.out.println(c);
public static AnnotationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static AnnotationType fromValue(int value)
BYTES
if unknown.Copyright © 2018 OpenZipkin. All rights reserved.