public static enum Tracepb.TraceRecord.RecordOneofCase extends Enum<Tracepb.TraceRecord.RecordOneofCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
NOTIFY_COLLECT |
RECORDONEOF_NOT_SET |
REPORT |
| Modifier and Type | Method and Description |
|---|---|
static Tracepb.TraceRecord.RecordOneofCase |
forNumber(int value) |
int |
getNumber() |
static Tracepb.TraceRecord.RecordOneofCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Tracepb.TraceRecord.RecordOneofCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tracepb.TraceRecord.RecordOneofCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tracepb.TraceRecord.RecordOneofCase REPORT
public static final Tracepb.TraceRecord.RecordOneofCase NOTIFY_COLLECT
public static final Tracepb.TraceRecord.RecordOneofCase RECORDONEOF_NOT_SET
public static Tracepb.TraceRecord.RecordOneofCase[] values()
for (Tracepb.TraceRecord.RecordOneofCase c : Tracepb.TraceRecord.RecordOneofCase.values()) System.out.println(c);
public static Tracepb.TraceRecord.RecordOneofCase 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 null@Deprecated public static Tracepb.TraceRecord.RecordOneofCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Tracepb.TraceRecord.RecordOneofCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2025 PingCAP. All rights reserved.