public static enum Message.Type extends Enum<Message.Type>
| Enum Constant and Description |
|---|
COUNT |
DISTRIBUTION |
EVENT |
GAUGE |
HISTOGRAM |
SERVICE_CHECK |
SET |
TIME |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Message.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Type GAUGE
public static final Message.Type COUNT
public static final Message.Type TIME
public static final Message.Type SET
public static final Message.Type HISTOGRAM
public static final Message.Type DISTRIBUTION
public static final Message.Type EVENT
public static final Message.Type SERVICE_CHECK
public static Message.Type[] values()
for (Message.Type c : Message.Type.values()) System.out.println(c);
public static Message.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 String toString()
toString in class Enum<Message.Type>Copyright © 2022. All rights reserved.