public static enum RPC.RpcKind extends Enum<RPC.RpcKind>
Enum Constant and Description |
---|
RPC_BUILTIN |
RPC_PROTOCOL_BUFFER |
RPC_WRITABLE |
Modifier and Type | Field and Description |
---|---|
short |
value |
Modifier and Type | Method and Description |
---|---|
static RPC.RpcKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RPC.RpcKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RPC.RpcKind RPC_BUILTIN
public static final RPC.RpcKind RPC_WRITABLE
public static final RPC.RpcKind RPC_PROTOCOL_BUFFER
public static RPC.RpcKind[] values()
for (RPC.RpcKind c : RPC.RpcKind.values()) System.out.println(c);
public static RPC.RpcKind 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 nullCopyright © 2013 Apache Software Foundation. All rights reserved.