public static enum TraceInfo._Fields extends java.lang.Enum<TraceInfo._Fields> implements org.apache.thrift.TFieldIdEnum
| Enum Constant and Description |
|---|
REQUEST_ID |
TRACER |
| Modifier and Type | Method and Description |
|---|---|
static TraceInfo._Fields |
findByName(java.lang.String name) |
static TraceInfo._Fields |
findByThriftId(int fieldId) |
static TraceInfo._Fields |
findByThriftIdOrThrow(int fieldId) |
java.lang.String |
getFieldName() |
short |
getThriftFieldId() |
static TraceInfo._Fields |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TraceInfo._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraceInfo._Fields REQUEST_ID
public static final TraceInfo._Fields TRACER
public static TraceInfo._Fields[] values()
for (TraceInfo._Fields c : TraceInfo._Fields.values()) System.out.println(c);
public static TraceInfo._Fields valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static TraceInfo._Fields findByThriftId(int fieldId)
fieldId - fieldIdpublic static TraceInfo._Fields findByThriftIdOrThrow(int fieldId)
fieldId - fieldIdpublic static TraceInfo._Fields findByName(java.lang.String name)
name - namepublic short getThriftFieldId()
getThriftFieldId in interface org.apache.thrift.TFieldIdEnumpublic java.lang.String getFieldName()
getFieldName in interface org.apache.thrift.TFieldIdEnumCopyright © 2023. All Rights Reserved.