public static enum TestConductorProtocol.Direction extends java.lang.Enum<TestConductorProtocol.Direction> implements akka.protobuf.ProtocolMessageEnum
Direction
Enum Constant and Description |
---|
Both
Both = 3; |
Receive
Receive = 2; |
Send
Send = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
Both_VALUE
Both = 3; |
static int |
Receive_VALUE
Receive = 2; |
static int |
Send_VALUE
Send = 1; |
Modifier and Type | Method and Description |
---|---|
static akka.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
akka.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
akka.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static akka.protobuf.Internal.EnumLiteMap<TestConductorProtocol.Direction> |
internalGetValueMap() |
static TestConductorProtocol.Direction |
valueOf(akka.protobuf.Descriptors.EnumValueDescriptor desc) |
static TestConductorProtocol.Direction |
valueOf(int value) |
static TestConductorProtocol.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestConductorProtocol.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestConductorProtocol.Direction Send
Send = 1;
public static final TestConductorProtocol.Direction Receive
Receive = 2;
public static final TestConductorProtocol.Direction Both
Both = 3;
public static final int Send_VALUE
Send = 1;
public static final int Receive_VALUE
Receive = 2;
public static final int Both_VALUE
Both = 3;
public static TestConductorProtocol.Direction[] values()
for (TestConductorProtocol.Direction c : TestConductorProtocol.Direction.values()) System.out.println(c);
public static TestConductorProtocol.Direction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface akka.protobuf.Internal.EnumLite
getNumber
in interface akka.protobuf.ProtocolMessageEnum
public static TestConductorProtocol.Direction valueOf(int value)
public static akka.protobuf.Internal.EnumLiteMap<TestConductorProtocol.Direction> internalGetValueMap()
public final akka.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface akka.protobuf.ProtocolMessageEnum
public final akka.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface akka.protobuf.ProtocolMessageEnum
public static final akka.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static TestConductorProtocol.Direction valueOf(akka.protobuf.Descriptors.EnumValueDescriptor desc)