public static enum TKvdbService.rget_result._Fields extends Enum<TKvdbService.rget_result._Fields> implements org.apache.thrift.TFieldIdEnum
限定符和类型 | 方法和说明 |
---|---|
static TKvdbService.rget_result._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static TKvdbService.rget_result._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static TKvdbService.rget_result._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static TKvdbService.rget_result._Fields |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TKvdbService.rget_result._Fields[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final TKvdbService.rget_result._Fields SUCCESS
public static final TKvdbService.rget_result._Fields IO
public static final TKvdbService.rget_result._Fields E
public static TKvdbService.rget_result._Fields[] values()
for (TKvdbService.rget_result._Fields c : TKvdbService.rget_result._Fields.values()) System.out.println(c);
public static TKvdbService.rget_result._Fields valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值public static TKvdbService.rget_result._Fields findByThriftId(int fieldId)
public static TKvdbService.rget_result._Fields findByThriftIdOrThrow(int fieldId)
public static TKvdbService.rget_result._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId
在接口中 org.apache.thrift.TFieldIdEnum
public String getFieldName()
getFieldName
在接口中 org.apache.thrift.TFieldIdEnum
Copyright © 2016. All rights reserved.