public static enum Telemetry.DataCase extends java.lang.Enum<Telemetry.DataCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
AVAILABILITY |
DATA_NOT_SET |
DEPENDENCY |
EVENT |
EXCEPTION |
MESSAGE |
METRIC |
PAGEVIEW |
REQUEST |
Modifier and Type | Method and Description |
---|---|
static Telemetry.DataCase |
forNumber(int value) |
int |
getNumber() |
static Telemetry.DataCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Telemetry.DataCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Telemetry.DataCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Telemetry.DataCase EVENT
public static final Telemetry.DataCase MESSAGE
public static final Telemetry.DataCase METRIC
public static final Telemetry.DataCase EXCEPTION
public static final Telemetry.DataCase DEPENDENCY
public static final Telemetry.DataCase AVAILABILITY
public static final Telemetry.DataCase PAGEVIEW
public static final Telemetry.DataCase REQUEST
public static final Telemetry.DataCase DATA_NOT_SET
public static Telemetry.DataCase[] values()
for (Telemetry.DataCase c : Telemetry.DataCase.values()) System.out.println(c);
public static Telemetry.DataCase 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 Telemetry.DataCase valueOf(int value)
forNumber(int)
instead.public static Telemetry.DataCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite