public static enum Rpc.RequestOp.RequestCase extends Enum<Rpc.RequestOp.RequestCase> implements com.google.protobuf.Internal.EnumLite
| 枚举常量和说明 |
|---|
REQUEST_DELETE_RANGE |
REQUEST_NOT_SET |
REQUEST_PUT |
REQUEST_RANGE |
REQUEST_TXN |
| 限定符和类型 | 方法和说明 |
|---|---|
static Rpc.RequestOp.RequestCase |
forNumber(int value) |
int |
getNumber() |
static Rpc.RequestOp.RequestCase |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static Rpc.RequestOp.RequestCase |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Rpc.RequestOp.RequestCase[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Rpc.RequestOp.RequestCase REQUEST_RANGE
public static final Rpc.RequestOp.RequestCase REQUEST_PUT
public static final Rpc.RequestOp.RequestCase REQUEST_DELETE_RANGE
public static final Rpc.RequestOp.RequestCase REQUEST_TXN
public static final Rpc.RequestOp.RequestCase REQUEST_NOT_SET
public static Rpc.RequestOp.RequestCase[] values()
for (Rpc.RequestOp.RequestCase c : Rpc.RequestOp.RequestCase.values()) System.out.println(c);
public static Rpc.RequestOp.RequestCase valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值@Deprecated public static Rpc.RequestOp.RequestCase valueOf(int value)
forNumber(int) instead.public static Rpc.RequestOp.RequestCase forNumber(int value)
public int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLiteCopyright © 2018. All rights reserved.