public static enum Span.TimeEvent.ValueCase extends java.lang.Enum<Span.TimeEvent.ValueCase> implements Internal.EnumLite
Enum Constant and Description |
---|
ANNOTATION |
MESSAGE_EVENT |
VALUE_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static Span.TimeEvent.ValueCase |
forNumber(int value) |
int |
getNumber() |
static Span.TimeEvent.ValueCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Span.TimeEvent.ValueCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Span.TimeEvent.ValueCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Span.TimeEvent.ValueCase ANNOTATION
public static final Span.TimeEvent.ValueCase MESSAGE_EVENT
public static final Span.TimeEvent.ValueCase VALUE_NOT_SET
public static Span.TimeEvent.ValueCase[] values()
for (Span.TimeEvent.ValueCase c : Span.TimeEvent.ValueCase.values()) System.out.println(c);
public static Span.TimeEvent.ValueCase 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 null@Deprecated public static Span.TimeEvent.ValueCase valueOf(int value)
forNumber(int)
instead.public static Span.TimeEvent.ValueCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite