public static enum RpcHeaderProtos.RpcRequestHeaderProto.OperationProto extends Enum<RpcHeaderProtos.RpcRequestHeaderProto.OperationProto> implements org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
hadoop.common.RpcRequestHeaderProto.OperationProto| Enum Constant and Description |
|---|
RPC_CLOSE_CONNECTION
close the rpc connection
|
RPC_CONTINUATION_PACKET
not implemented yet
|
RPC_FINAL_PACKET
The final RPC Packet
|
| Modifier and Type | Field and Description |
|---|---|
static int |
RPC_CLOSE_CONNECTION_VALUE
close the rpc connection
|
static int |
RPC_CONTINUATION_PACKET_VALUE
not implemented yet
|
static int |
RPC_FINAL_PACKET_VALUE
The final RPC Packet
|
| Modifier and Type | Method and Description |
|---|---|
static RpcHeaderProtos.RpcRequestHeaderProto.OperationProto |
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.RpcRequestHeaderProto.OperationProto> |
internalGetValueMap() |
static RpcHeaderProtos.RpcRequestHeaderProto.OperationProto |
valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc) |
static RpcHeaderProtos.RpcRequestHeaderProto.OperationProto |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RpcHeaderProtos.RpcRequestHeaderProto.OperationProto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcHeaderProtos.RpcRequestHeaderProto.OperationProto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcHeaderProtos.RpcRequestHeaderProto.OperationProto RPC_FINAL_PACKET
The final RPC Packet
RPC_FINAL_PACKET = 0;public static final RpcHeaderProtos.RpcRequestHeaderProto.OperationProto RPC_CONTINUATION_PACKET
not implemented yet
RPC_CONTINUATION_PACKET = 1;public static final RpcHeaderProtos.RpcRequestHeaderProto.OperationProto RPC_CLOSE_CONNECTION
close the rpc connection
RPC_CLOSE_CONNECTION = 2;public static final int RPC_FINAL_PACKET_VALUE
The final RPC Packet
RPC_FINAL_PACKET = 0;public static final int RPC_CONTINUATION_PACKET_VALUE
not implemented yet
RPC_CONTINUATION_PACKET = 1;public static final int RPC_CLOSE_CONNECTION_VALUE
close the rpc connection
RPC_CLOSE_CONNECTION = 2;public static RpcHeaderProtos.RpcRequestHeaderProto.OperationProto[] values()
for (RpcHeaderProtos.RpcRequestHeaderProto.OperationProto c : RpcHeaderProtos.RpcRequestHeaderProto.OperationProto.values()) System.out.println(c);
public static RpcHeaderProtos.RpcRequestHeaderProto.OperationProto 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.EnumLitegetNumber in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum@Deprecated public static RpcHeaderProtos.RpcRequestHeaderProto.OperationProto valueOf(int value)
forNumber(int) instead.public static RpcHeaderProtos.RpcRequestHeaderProto.OperationProto forNumber(int value)
public static org.apache.hadoop.thirdparty.protobuf.Internal.EnumLiteMap<RpcHeaderProtos.RpcRequestHeaderProto.OperationProto> internalGetValueMap()
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnumpublic final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnumpublic static final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RpcHeaderProtos.RpcRequestHeaderProto.OperationProto valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.