public enum AlarmType extends Enum<AlarmType> implements com.google.protobuf.ProtocolMessageEnum
etcdserverpb.AlarmType| Enum Constant and Description |
|---|
NONE
default, used to query if any alarm is active
|
NOSPACE
space quota is exhausted
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
NONE_VALUE
default, used to query if any alarm is active
|
static int |
NOSPACE_VALUE
space quota is exhausted
|
| Modifier and Type | Method and Description |
|---|---|
static AlarmType |
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<AlarmType> |
internalGetValueMap() |
static AlarmType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AlarmType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AlarmType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlarmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlarmType NONE
default, used to query if any alarm is active
NONE = 0;public static final AlarmType NOSPACE
space quota is exhausted
NOSPACE = 1;public static final AlarmType UNRECOGNIZED
public static final int NONE_VALUE
default, used to query if any alarm is active
NONE = 0;public static final int NOSPACE_VALUE
space quota is exhausted
NOSPACE = 1;public static AlarmType[] values()
for (AlarmType c : AlarmType.values()) System.out.println(c);
public static AlarmType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static AlarmType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AlarmType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AlarmType> 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 AlarmType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020. All rights reserved.