public static enum RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto extends Enum<RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto> implements com.google.protobuf.ProtocolMessageEnum
hadoop.common.RpcResponseHeaderProto.RpcStatusProto
Enum Constant and Description |
---|
ERROR
ERROR = 1; |
FATAL
FATAL = 2; |
SUCCESS
SUCCESS = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_VALUE
ERROR = 1; |
static int |
FATAL_VALUE
FATAL = 2; |
static int |
SUCCESS_VALUE
SUCCESS = 0; |
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.RpcStatusProto> |
internalGetValueMap() |
static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto |
valueOf(int value) |
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
SUCCESS = 0;
RPC succeeded
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto ERROR
ERROR = 1;
RPC or error - connection left open for future calls
public static final RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto FATAL
FATAL = 2;
Fatal error - connection closed
public static final int SUCCESS_VALUE
SUCCESS = 0;
RPC succeeded
public static final int ERROR_VALUE
ERROR = 1;
RPC or error - connection left open for future calls
public static final int FATAL_VALUE
FATAL = 2;
Fatal error - connection closed
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 com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.