public static enum CollectionSetProtos.NumericAttribute.Type extends Enum<CollectionSetProtos.NumericAttribute.Type> implements com.google.protobuf.ProtocolMessageEnum
NumericAttribute.Type
Enum Constant and Description |
---|
COUNTER
COUNTER = 1; |
GAUGE
GAUGE = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
COUNTER_VALUE
COUNTER = 1; |
static int |
GAUGE_VALUE
GAUGE = 0; |
Modifier and Type | Method and Description |
---|---|
static CollectionSetProtos.NumericAttribute.Type |
forNumber(int value) |
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<CollectionSetProtos.NumericAttribute.Type> |
internalGetValueMap() |
static CollectionSetProtos.NumericAttribute.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CollectionSetProtos.NumericAttribute.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CollectionSetProtos.NumericAttribute.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionSetProtos.NumericAttribute.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionSetProtos.NumericAttribute.Type GAUGE
GAUGE = 0;
public static final CollectionSetProtos.NumericAttribute.Type COUNTER
COUNTER = 1;
public static final CollectionSetProtos.NumericAttribute.Type UNRECOGNIZED
public static final int GAUGE_VALUE
GAUGE = 0;
public static final int COUNTER_VALUE
COUNTER = 1;
public static CollectionSetProtos.NumericAttribute.Type[] values()
for (CollectionSetProtos.NumericAttribute.Type c : CollectionSetProtos.NumericAttribute.Type.values()) System.out.println(c);
public static CollectionSetProtos.NumericAttribute.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 final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static CollectionSetProtos.NumericAttribute.Type valueOf(int value)
forNumber(int)
instead.public static CollectionSetProtos.NumericAttribute.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<CollectionSetProtos.NumericAttribute.Type> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CollectionSetProtos.NumericAttribute.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020. All rights reserved.