public static enum Span.TimeEvent.ValueCase extends Enum<Span.TimeEvent.ValueCase> implements com.google.protobuf.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(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(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 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 com.google.protobuf.Internal.EnumLite