public static enum RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto extends Enum<RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto> implements org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
hadoop.common.RpcResponseHeaderProto.RpcStatusProto
Enum Constant and Description |
---|
ERROR
RPC or error - connection left open for future calls
|
FATAL
Fatal error - connection closed
|
SUCCESS
RPC succeeded
|
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_VALUE
RPC or error - connection left open for future calls
|
static int |
FATAL_VALUE
Fatal error - connection closed
|
static int |
SUCCESS_VALUE
RPC succeeded
|
Modifier and Type | Method and Description |
---|---|
static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto |
forNumber(int value) |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static org.apache.hadoop.thirdparty.protobuf.Internal.EnumLiteMap<RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto> |
internalGetValueMap() |
static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto |
valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc) |
static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto SUCCESS
RPC succeeded
SUCCESS = 0;
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto ERROR
RPC or error - connection left open for future calls
ERROR = 1;
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto FATAL
Fatal error - connection closed
FATAL = 2;
public static final int SUCCESS_VALUE
RPC succeeded
SUCCESS = 0;
public static final int ERROR_VALUE
RPC or error - connection left open for future calls
ERROR = 1;
public static final int FATAL_VALUE
Fatal error - connection closed
FATAL = 2;
public static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto[] values()
for (RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto c : RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto.values()) System.out.println(c);
public static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto 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 org.apache.hadoop.thirdparty.protobuf.Internal.EnumLite
getNumber
in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
@Deprecated public static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto valueOf(int value)
forNumber(int)
instead.public static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto forNumber(int value)
public static org.apache.hadoop.thirdparty.protobuf.Internal.EnumLiteMap<RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto> internalGetValueMap()
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.