public static enum RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto extends Enum<RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto> implements com.google.protobuf.ProtocolMessageEnum
hadoop.common.RpcResponseHeaderProto.RpcErrorCodeProto| Enum Constant and Description | 
|---|
ERROR_APPLICATION
ERROR_APPLICATION = 1; | 
ERROR_NO_SUCH_METHOD
ERROR_NO_SUCH_METHOD = 2; | 
ERROR_NO_SUCH_PROTOCOL
ERROR_NO_SUCH_PROTOCOL = 3; | 
ERROR_RPC_SERVER
ERROR_RPC_SERVER = 4; | 
ERROR_RPC_VERSION_MISMATCH
ERROR_RPC_VERSION_MISMATCH = 6; | 
ERROR_SERIALIZING_RESPONSE
ERROR_SERIALIZING_RESPONSE = 5; | 
FATAL_DESERIALIZING_REQUEST
FATAL_DESERIALIZING_REQUEST = 13; | 
FATAL_INVALID_RPC_HEADER
FATAL_INVALID_RPC_HEADER = 12; | 
FATAL_UNAUTHORIZED
FATAL_UNAUTHORIZED = 15; | 
FATAL_UNKNOWN
FATAL_UNKNOWN = 10; | 
FATAL_UNSUPPORTED_SERIALIZATION
FATAL_UNSUPPORTED_SERIALIZATION = 11; | 
FATAL_VERSION_MISMATCH
FATAL_VERSION_MISMATCH = 14; | 
| Modifier and Type | Field and Description | 
|---|---|
static int | 
ERROR_APPLICATION_VALUE
ERROR_APPLICATION = 1; | 
static int | 
ERROR_NO_SUCH_METHOD_VALUE
ERROR_NO_SUCH_METHOD = 2; | 
static int | 
ERROR_NO_SUCH_PROTOCOL_VALUE
ERROR_NO_SUCH_PROTOCOL = 3; | 
static int | 
ERROR_RPC_SERVER_VALUE
ERROR_RPC_SERVER = 4; | 
static int | 
ERROR_RPC_VERSION_MISMATCH_VALUE
ERROR_RPC_VERSION_MISMATCH = 6; | 
static int | 
ERROR_SERIALIZING_RESPONSE_VALUE
ERROR_SERIALIZING_RESPONSE = 5; | 
static int | 
FATAL_DESERIALIZING_REQUEST_VALUE
FATAL_DESERIALIZING_REQUEST = 13; | 
static int | 
FATAL_INVALID_RPC_HEADER_VALUE
FATAL_INVALID_RPC_HEADER = 12; | 
static int | 
FATAL_UNAUTHORIZED_VALUE
FATAL_UNAUTHORIZED = 15; | 
static int | 
FATAL_UNKNOWN_VALUE
FATAL_UNKNOWN = 10; | 
static int | 
FATAL_UNSUPPORTED_SERIALIZATION_VALUE
FATAL_UNSUPPORTED_SERIALIZATION = 11; | 
static int | 
FATAL_VERSION_MISMATCH_VALUE
FATAL_VERSION_MISMATCH = 14; | 
| Modifier and Type | Method and Description | 
|---|---|
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.RpcResponseHeaderProto.RpcErrorCodeProto> | 
internalGetValueMap()  | 
static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto | 
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)  | 
static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto | 
valueOf(int value)  | 
static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_APPLICATION
ERROR_APPLICATION = 1;
 Non-fatal Rpc error - connection left open for future rpc calls
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_NO_SUCH_METHOD
ERROR_NO_SUCH_METHOD = 2;
 Rpc error - no such method
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_NO_SUCH_PROTOCOL
ERROR_NO_SUCH_PROTOCOL = 3;
 Rpc error - no such protocol
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_RPC_SERVER
ERROR_RPC_SERVER = 4;
 Rpc error on server side
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_SERIALIZING_RESPONSE
ERROR_SERIALIZING_RESPONSE = 5;
 error serializign response
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_RPC_VERSION_MISMATCH
ERROR_RPC_VERSION_MISMATCH = 6;
 Rpc protocol version mismatch
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_UNKNOWN
FATAL_UNKNOWN = 10;
 Fatal Server side Rpc error - connection closed
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_UNSUPPORTED_SERIALIZATION
FATAL_UNSUPPORTED_SERIALIZATION = 11;
 IPC layer serilization type invalid
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_INVALID_RPC_HEADER
FATAL_INVALID_RPC_HEADER = 12;
 fields of RpcHeader are invalid
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_DESERIALIZING_REQUEST
FATAL_DESERIALIZING_REQUEST = 13;
 could not deserilize rpc request
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_VERSION_MISMATCH
FATAL_VERSION_MISMATCH = 14;
 Ipc Layer version mismatch
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_UNAUTHORIZED
FATAL_UNAUTHORIZED = 15;
 Auth failed
public static final int ERROR_APPLICATION_VALUE
ERROR_APPLICATION = 1;
 Non-fatal Rpc error - connection left open for future rpc calls
public static final int ERROR_NO_SUCH_METHOD_VALUE
ERROR_NO_SUCH_METHOD = 2;
 Rpc error - no such method
public static final int ERROR_NO_SUCH_PROTOCOL_VALUE
ERROR_NO_SUCH_PROTOCOL = 3;
 Rpc error - no such protocol
public static final int ERROR_RPC_SERVER_VALUE
ERROR_RPC_SERVER = 4;
 Rpc error on server side
public static final int ERROR_SERIALIZING_RESPONSE_VALUE
ERROR_SERIALIZING_RESPONSE = 5;
 error serializign response
public static final int ERROR_RPC_VERSION_MISMATCH_VALUE
ERROR_RPC_VERSION_MISMATCH = 6;
 Rpc protocol version mismatch
public static final int FATAL_UNKNOWN_VALUE
FATAL_UNKNOWN = 10;
 Fatal Server side Rpc error - connection closed
public static final int FATAL_UNSUPPORTED_SERIALIZATION_VALUE
FATAL_UNSUPPORTED_SERIALIZATION = 11;
 IPC layer serilization type invalid
public static final int FATAL_INVALID_RPC_HEADER_VALUE
FATAL_INVALID_RPC_HEADER = 12;
 fields of RpcHeader are invalid
public static final int FATAL_DESERIALIZING_REQUEST_VALUE
FATAL_DESERIALIZING_REQUEST = 13;
 could not deserilize rpc request
public static final int FATAL_VERSION_MISMATCH_VALUE
FATAL_VERSION_MISMATCH = 14;
 Ipc Layer version mismatch
public static final int FATAL_UNAUTHORIZED_VALUE
FATAL_UNAUTHORIZED = 15;
 Auth failed
public static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto[] values()
for (RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto c : RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto.values()) System.out.println(c);
public static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto> 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.RpcResponseHeaderProto.RpcErrorCodeProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 Apache Software Foundation. All Rights Reserved.