public static enum Rpc.MessageType extends Enum<Rpc.MessageType> implements com.google.protobuf.ProtocolMessageEnum
| Enum Constant and Description |
|---|
HEARTBEAT |
INVOCATION_FAILED |
RPC_CANCEL |
RPC_INV |
RPC_RET |
SHUTDOWN |
| 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<Rpc.MessageType> |
internalGetValueMap() |
static Rpc.MessageType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Rpc.MessageType |
valueOf(int value) |
static Rpc.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rpc.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rpc.MessageType HEARTBEAT
public static final Rpc.MessageType SHUTDOWN
public static final Rpc.MessageType INVOCATION_FAILED
public static final Rpc.MessageType RPC_CANCEL
public static final Rpc.MessageType RPC_INV
public static final Rpc.MessageType RPC_RET
public static Rpc.MessageType[] values()
for (Rpc.MessageType c : Rpc.MessageType.values()) System.out.println(c);
public static Rpc.MessageType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static Rpc.MessageType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Rpc.MessageType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Rpc.MessageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013. All Rights Reserved.