Package org.apache.hadoop.ipc.protobuf
Enum Class RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto
java.lang.Object
java.lang.Enum<RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto>
org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto
- All Implemented Interfaces:
Serializable,Comparable<RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto>,Constable,org.apache.hadoop.thirdparty.protobuf.Internal.EnumLite,org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
- Enclosing class:
- org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcResponseHeaderProto
public static enum RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto
extends Enum<RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto>
implements org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
Protobuf enum
hadoop.common.RpcResponseHeaderProto.RpcErrorCodeProto-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNon-fatal Rpc error - connection left open for future rpc callsRpc error - no such methodRpc error - no such protocolRpc error on server sideRpc protocol version mismatcherror serializign responsecould not deserilize rpc requestfields of RpcHeader are invalidAuth failedFatal Server side Rpc error - connection closedIPC layer serilization type invalidIpc Layer version mismatch -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNon-fatal Rpc error - connection left open for future rpc callsstatic final intRpc error - no such methodstatic final intRpc error - no such protocolstatic final intRpc error on server sidestatic final intRpc protocol version mismatchstatic final interror serializign responsestatic final intcould not deserilize rpc requeststatic final intfields of RpcHeader are invalidstatic final intAuth failedstatic final intFatal Server side Rpc error - connection closedstatic final intIPC layer serilization type invalidstatic final intIpc Layer version mismatch -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptorfinal org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptorfinal intfinal org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptorstatic org.apache.hadoop.thirdparty.protobuf.Internal.EnumLiteMap<RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto>valueOf(int value) Deprecated.Returns the enum constant of this class with the specified name.valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ERROR_APPLICATION
Non-fatal Rpc error - connection left open for future rpc calls
ERROR_APPLICATION = 1; -
ERROR_NO_SUCH_METHOD
Rpc error - no such method
ERROR_NO_SUCH_METHOD = 2; -
ERROR_NO_SUCH_PROTOCOL
Rpc error - no such protocol
ERROR_NO_SUCH_PROTOCOL = 3; -
ERROR_RPC_SERVER
Rpc error on server side
ERROR_RPC_SERVER = 4; -
ERROR_SERIALIZING_RESPONSE
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_SERIALIZING_RESPONSEerror serializign response
ERROR_SERIALIZING_RESPONSE = 5; -
ERROR_RPC_VERSION_MISMATCH
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_RPC_VERSION_MISMATCHRpc protocol version mismatch
ERROR_RPC_VERSION_MISMATCH = 6; -
FATAL_UNKNOWN
Fatal Server side Rpc error - connection closed
FATAL_UNKNOWN = 10; -
FATAL_UNSUPPORTED_SERIALIZATION
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_UNSUPPORTED_SERIALIZATIONIPC layer serilization type invalid
FATAL_UNSUPPORTED_SERIALIZATION = 11; -
FATAL_INVALID_RPC_HEADER
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_INVALID_RPC_HEADERfields of RpcHeader are invalid
FATAL_INVALID_RPC_HEADER = 12; -
FATAL_DESERIALIZING_REQUEST
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_DESERIALIZING_REQUESTcould not deserilize rpc request
FATAL_DESERIALIZING_REQUEST = 13; -
FATAL_VERSION_MISMATCH
Ipc Layer version mismatch
FATAL_VERSION_MISMATCH = 14; -
FATAL_UNAUTHORIZED
Auth failed
FATAL_UNAUTHORIZED = 15;
-
-
Field Details
-
ERROR_APPLICATION_VALUE
public static final int ERROR_APPLICATION_VALUENon-fatal Rpc error - connection left open for future rpc calls
ERROR_APPLICATION = 1;- See Also:
-
ERROR_NO_SUCH_METHOD_VALUE
public static final int ERROR_NO_SUCH_METHOD_VALUERpc error - no such method
ERROR_NO_SUCH_METHOD = 2;- See Also:
-
ERROR_NO_SUCH_PROTOCOL_VALUE
public static final int ERROR_NO_SUCH_PROTOCOL_VALUERpc error - no such protocol
ERROR_NO_SUCH_PROTOCOL = 3;- See Also:
-
ERROR_RPC_SERVER_VALUE
public static final int ERROR_RPC_SERVER_VALUERpc error on server side
ERROR_RPC_SERVER = 4;- See Also:
-
ERROR_SERIALIZING_RESPONSE_VALUE
public static final int ERROR_SERIALIZING_RESPONSE_VALUEerror serializign response
ERROR_SERIALIZING_RESPONSE = 5;- See Also:
-
ERROR_RPC_VERSION_MISMATCH_VALUE
public static final int ERROR_RPC_VERSION_MISMATCH_VALUERpc protocol version mismatch
ERROR_RPC_VERSION_MISMATCH = 6;- See Also:
-
FATAL_UNKNOWN_VALUE
public static final int FATAL_UNKNOWN_VALUEFatal Server side Rpc error - connection closed
FATAL_UNKNOWN = 10;- See Also:
-
FATAL_UNSUPPORTED_SERIALIZATION_VALUE
public static final int FATAL_UNSUPPORTED_SERIALIZATION_VALUEIPC layer serilization type invalid
FATAL_UNSUPPORTED_SERIALIZATION = 11;- See Also:
-
FATAL_INVALID_RPC_HEADER_VALUE
public static final int FATAL_INVALID_RPC_HEADER_VALUEfields of RpcHeader are invalid
FATAL_INVALID_RPC_HEADER = 12;- See Also:
-
FATAL_DESERIALIZING_REQUEST_VALUE
public static final int FATAL_DESERIALIZING_REQUEST_VALUEcould not deserilize rpc request
FATAL_DESERIALIZING_REQUEST = 13;- See Also:
-
FATAL_VERSION_MISMATCH_VALUE
public static final int FATAL_VERSION_MISMATCH_VALUEIpc Layer version mismatch
FATAL_VERSION_MISMATCH = 14;- See Also:
-
FATAL_UNAUTHORIZED_VALUE
public static final int FATAL_UNAUTHORIZED_VALUEAuth failed
FATAL_UNAUTHORIZED = 15;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfaceorg.apache.hadoop.thirdparty.protobuf.Internal.EnumLite- Specified by:
getNumberin interfaceorg.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto valueOf(int value) Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static org.apache.hadoop.thirdparty.protobuf.Internal.EnumLiteMap<RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto> internalGetValueMap() -
getValueDescriptor
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfaceorg.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-