org.apache.hadoop.ipc.protobuf
Enum RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto

java.lang.Object
  extended by java.lang.Enum<RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto>
      extended by org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto>
Enclosing class:
RpcHeaderProtos.RpcResponseHeaderProto

public static enum RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto
extends Enum<RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto>
implements com.google.protobuf.ProtocolMessageEnum

Protobuf enum hadoop.common.RpcResponseHeaderProto.RpcErrorCodeProto


Enum Constant Summary
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;
 
Field Summary
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;
 
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.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.
 
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

ERROR_APPLICATION

public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_APPLICATION
ERROR_APPLICATION = 1;
 Non-fatal Rpc error - connection left open for future rpc calls
 


ERROR_NO_SUCH_METHOD

public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_NO_SUCH_METHOD
ERROR_NO_SUCH_METHOD = 2;
 Rpc error - no such method
 


ERROR_NO_SUCH_PROTOCOL

public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_NO_SUCH_PROTOCOL
ERROR_NO_SUCH_PROTOCOL = 3;
 Rpc error - no such protocol
 


ERROR_RPC_SERVER

public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_RPC_SERVER
ERROR_RPC_SERVER = 4;
 Rpc error on server side
 


ERROR_SERIALIZING_RESPONSE

public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_SERIALIZING_RESPONSE
ERROR_SERIALIZING_RESPONSE = 5;
 error serializign response
 


ERROR_RPC_VERSION_MISMATCH

public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto ERROR_RPC_VERSION_MISMATCH
ERROR_RPC_VERSION_MISMATCH = 6;
 Rpc protocol version mismatch
 


FATAL_UNKNOWN

public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_UNKNOWN
FATAL_UNKNOWN = 10;
 Fatal Server side Rpc error - connection closed
 


FATAL_UNSUPPORTED_SERIALIZATION

public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_UNSUPPORTED_SERIALIZATION
FATAL_UNSUPPORTED_SERIALIZATION = 11;
 IPC layer serilization type invalid
 


FATAL_INVALID_RPC_HEADER

public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_INVALID_RPC_HEADER
FATAL_INVALID_RPC_HEADER = 12;
 fields of RpcHeader are invalid
 


FATAL_DESERIALIZING_REQUEST

public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_DESERIALIZING_REQUEST
FATAL_DESERIALIZING_REQUEST = 13;
 could not deserilize rpc request
 


FATAL_VERSION_MISMATCH

public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_VERSION_MISMATCH
FATAL_VERSION_MISMATCH = 14;
 Ipc Layer version mismatch
 


FATAL_UNAUTHORIZED

public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto FATAL_UNAUTHORIZED
FATAL_UNAUTHORIZED = 15;
 Auth failed
 

Field Detail

ERROR_APPLICATION_VALUE

public static final int ERROR_APPLICATION_VALUE
ERROR_APPLICATION = 1;
 Non-fatal Rpc error - connection left open for future rpc calls
 

See Also:
Constant Field Values

ERROR_NO_SUCH_METHOD_VALUE

public static final int ERROR_NO_SUCH_METHOD_VALUE
ERROR_NO_SUCH_METHOD = 2;
 Rpc error - no such method
 

See Also:
Constant Field Values

ERROR_NO_SUCH_PROTOCOL_VALUE

public static final int ERROR_NO_SUCH_PROTOCOL_VALUE
ERROR_NO_SUCH_PROTOCOL = 3;
 Rpc error - no such protocol
 

See Also:
Constant Field Values

ERROR_RPC_SERVER_VALUE

public static final int ERROR_RPC_SERVER_VALUE
ERROR_RPC_SERVER = 4;
 Rpc error on server side
 

See Also:
Constant Field Values

ERROR_SERIALIZING_RESPONSE_VALUE

public static final int ERROR_SERIALIZING_RESPONSE_VALUE
ERROR_SERIALIZING_RESPONSE = 5;
 error serializign response
 

See Also:
Constant Field Values

ERROR_RPC_VERSION_MISMATCH_VALUE

public static final int ERROR_RPC_VERSION_MISMATCH_VALUE
ERROR_RPC_VERSION_MISMATCH = 6;
 Rpc protocol version mismatch
 

See Also:
Constant Field Values

FATAL_UNKNOWN_VALUE

public static final int FATAL_UNKNOWN_VALUE
FATAL_UNKNOWN = 10;
 Fatal Server side Rpc error - connection closed
 

See Also:
Constant Field Values

FATAL_UNSUPPORTED_SERIALIZATION_VALUE

public static final int FATAL_UNSUPPORTED_SERIALIZATION_VALUE
FATAL_UNSUPPORTED_SERIALIZATION = 11;
 IPC layer serilization type invalid
 

See Also:
Constant Field Values

FATAL_INVALID_RPC_HEADER_VALUE

public static final int FATAL_INVALID_RPC_HEADER_VALUE
FATAL_INVALID_RPC_HEADER = 12;
 fields of RpcHeader are invalid
 

See Also:
Constant Field Values

FATAL_DESERIALIZING_REQUEST_VALUE

public static final int FATAL_DESERIALIZING_REQUEST_VALUE
FATAL_DESERIALIZING_REQUEST = 13;
 could not deserilize rpc request
 

See Also:
Constant Field Values

FATAL_VERSION_MISMATCH_VALUE

public static final int FATAL_VERSION_MISMATCH_VALUE
FATAL_VERSION_MISMATCH = 14;
 Ipc Layer version mismatch
 

See Also:
Constant Field Values

FATAL_UNAUTHORIZED_VALUE

public static final int FATAL_UNAUTHORIZED_VALUE
FATAL_UNAUTHORIZED = 15;
 Auth failed
 

See Also:
Constant Field Values
Method Detail

values

public static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto c : RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

getNumber

public final int getNumber()
Specified by:
getNumber in interface com.google.protobuf.Internal.EnumLite
Specified by:
getNumber in interface com.google.protobuf.ProtocolMessageEnum

valueOf

public static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto> internalGetValueMap()

getValueDescriptor

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
Specified by:
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum

getDescriptorForType

public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum

getDescriptor

public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()

valueOf

public static RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.