|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RpcHeaderProtos.RpcKindProto>
org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcKindProto
public static enum RpcHeaderProtos.RpcKindProto
Protobuf enum hadoop.common.RpcKindProto
RpcKind determine the rpcEngine and the serialization of the rpc request
| Enum Constant Summary | |
|---|---|
RPC_BUILTIN
RPC_BUILTIN = 0; |
|
RPC_PROTOCOL_BUFFER
RPC_PROTOCOL_BUFFER = 2; |
|
RPC_WRITABLE
RPC_WRITABLE = 1; |
|
| Field Summary | |
|---|---|
static int |
RPC_BUILTIN_VALUE
RPC_BUILTIN = 0; |
static int |
RPC_PROTOCOL_BUFFER_VALUE
RPC_PROTOCOL_BUFFER = 2; |
static int |
RPC_WRITABLE_VALUE
RPC_WRITABLE = 1; |
| Method Summary | |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor()
|
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType()
|
int |
getNumber()
|
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor()
|
static com.google.protobuf.Internal.EnumLiteMap<RpcHeaderProtos.RpcKindProto> |
internalGetValueMap()
|
static RpcHeaderProtos.RpcKindProto |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
static RpcHeaderProtos.RpcKindProto |
valueOf(int value)
|
static RpcHeaderProtos.RpcKindProto |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RpcHeaderProtos.RpcKindProto[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RpcHeaderProtos.RpcKindProto RPC_BUILTIN
RPC_BUILTIN = 0;
Used for built in calls by tests
public static final RpcHeaderProtos.RpcKindProto RPC_WRITABLE
RPC_WRITABLE = 1;
Use WritableRpcEngine
public static final RpcHeaderProtos.RpcKindProto RPC_PROTOCOL_BUFFER
RPC_PROTOCOL_BUFFER = 2;
Use ProtobufRpcEngine
| Field Detail |
|---|
public static final int RPC_BUILTIN_VALUE
RPC_BUILTIN = 0;
Used for built in calls by tests
public static final int RPC_WRITABLE_VALUE
RPC_WRITABLE = 1;
Use WritableRpcEngine
public static final int RPC_PROTOCOL_BUFFER_VALUE
RPC_PROTOCOL_BUFFER = 2;
Use ProtobufRpcEngine
| Method Detail |
|---|
public static RpcHeaderProtos.RpcKindProto[] values()
for (RpcHeaderProtos.RpcKindProto c : RpcHeaderProtos.RpcKindProto.values()) System.out.println(c);
public static RpcHeaderProtos.RpcKindProto valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static RpcHeaderProtos.RpcKindProto valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RpcHeaderProtos.RpcKindProto> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RpcHeaderProtos.RpcKindProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||