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