public static enum Diagnosticspb.ServerInfoType extends Enum<Diagnosticspb.ServerInfoType> implements com.google.protobuf.ProtocolMessageEnum
diagnosticspb.ServerInfoType
Enum Constant and Description |
---|
All
All = 0; |
HardwareInfo
HardwareInfo = 1; |
LoadInfo
LoadInfo = 3; |
SystemInfo
SystemInfo = 2; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
All_VALUE
All = 0; |
static int |
HardwareInfo_VALUE
HardwareInfo = 1; |
static int |
LoadInfo_VALUE
LoadInfo = 3; |
static int |
SystemInfo_VALUE
SystemInfo = 2; |
Modifier and Type | Method and Description |
---|---|
static Diagnosticspb.ServerInfoType |
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<Diagnosticspb.ServerInfoType> |
internalGetValueMap() |
static Diagnosticspb.ServerInfoType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Diagnosticspb.ServerInfoType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Diagnosticspb.ServerInfoType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Diagnosticspb.ServerInfoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Diagnosticspb.ServerInfoType All
All = 0;
public static final Diagnosticspb.ServerInfoType HardwareInfo
HardwareInfo = 1;
public static final Diagnosticspb.ServerInfoType SystemInfo
SystemInfo = 2;
public static final Diagnosticspb.ServerInfoType LoadInfo
LoadInfo = 3;
public static final Diagnosticspb.ServerInfoType UNRECOGNIZED
public static final int All_VALUE
All = 0;
public static final int HardwareInfo_VALUE
HardwareInfo = 1;
public static final int SystemInfo_VALUE
SystemInfo = 2;
public static final int LoadInfo_VALUE
LoadInfo = 3;
public static Diagnosticspb.ServerInfoType[] values()
for (Diagnosticspb.ServerInfoType c : Diagnosticspb.ServerInfoType.values()) System.out.println(c);
public static Diagnosticspb.ServerInfoType 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 Diagnosticspb.ServerInfoType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Diagnosticspb.ServerInfoType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Diagnosticspb.ServerInfoType> 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 Diagnosticspb.ServerInfoType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 PingCAP. All rights reserved.