|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Metrics.MetricType>
io.prometheus.client.Metrics.MetricType
public static enum Metrics.MetricType
Protobuf enum io.prometheus.client.MetricType
| Enum Constant Summary | |
|---|---|
COUNTER
COUNTER = 0; |
|
GAUGE
GAUGE = 1; |
|
SUMMARY
SUMMARY = 2; |
|
| Field Summary | |
|---|---|
static int |
COUNTER_VALUE
COUNTER = 0; |
static int |
GAUGE_VALUE
GAUGE = 1; |
static int |
SUMMARY_VALUE
SUMMARY = 2; |
| Method Summary | |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor()
|
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType()
|
int |
getNumber()
|
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor()
|
static com.google.protobuf.Internal.EnumLiteMap<Metrics.MetricType> |
internalGetValueMap()
|
static Metrics.MetricType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
static Metrics.MetricType |
valueOf(int value)
|
static Metrics.MetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Metrics.MetricType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Metrics.MetricType COUNTER
COUNTER = 0;
public static final Metrics.MetricType GAUGE
GAUGE = 1;
public static final Metrics.MetricType SUMMARY
SUMMARY = 2;
| Field Detail |
|---|
public static final int COUNTER_VALUE
COUNTER = 0;
public static final int GAUGE_VALUE
GAUGE = 1;
public static final int SUMMARY_VALUE
SUMMARY = 2;
| Method Detail |
|---|
public static Metrics.MetricType[] values()
for (Metrics.MetricType c : Metrics.MetricType.values()) System.out.println(c);
public static Metrics.MetricType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static Metrics.MetricType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Metrics.MetricType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Metrics.MetricType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||