public static enum TestConductorProtocol.FailType extends java.lang.Enum<TestConductorProtocol.FailType> implements akka.protobuf.ProtocolMessageEnum
FailType
Enum Constant and Description |
---|
Abort
Abort = 3; |
Disconnect
Disconnect = 2; |
Exit
Exit = 4; |
Shutdown
Shutdown = 5; |
ShutdownAbrupt
ShutdownAbrupt = 6; |
Throttle
Throttle = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
Abort_VALUE
Abort = 3; |
static int |
Disconnect_VALUE
Disconnect = 2; |
static int |
Exit_VALUE
Exit = 4; |
static int |
Shutdown_VALUE
Shutdown = 5; |
static int |
ShutdownAbrupt_VALUE
ShutdownAbrupt = 6; |
static int |
Throttle_VALUE
Throttle = 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.FailType> |
internalGetValueMap() |
static TestConductorProtocol.FailType |
valueOf(akka.protobuf.Descriptors.EnumValueDescriptor desc) |
static TestConductorProtocol.FailType |
valueOf(int value) |
static TestConductorProtocol.FailType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestConductorProtocol.FailType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestConductorProtocol.FailType Throttle
Throttle = 1;
public static final TestConductorProtocol.FailType Disconnect
Disconnect = 2;
public static final TestConductorProtocol.FailType Abort
Abort = 3;
public static final TestConductorProtocol.FailType Exit
Exit = 4;
public static final TestConductorProtocol.FailType Shutdown
Shutdown = 5;
public static final TestConductorProtocol.FailType ShutdownAbrupt
ShutdownAbrupt = 6;
public static final int Throttle_VALUE
Throttle = 1;
public static final int Disconnect_VALUE
Disconnect = 2;
public static final int Abort_VALUE
Abort = 3;
public static final int Exit_VALUE
Exit = 4;
public static final int Shutdown_VALUE
Shutdown = 5;
public static final int ShutdownAbrupt_VALUE
ShutdownAbrupt = 6;
public static TestConductorProtocol.FailType[] values()
for (TestConductorProtocol.FailType c : TestConductorProtocol.FailType.values()) System.out.println(c);
public static TestConductorProtocol.FailType 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.FailType valueOf(int value)
public static akka.protobuf.Internal.EnumLiteMap<TestConductorProtocol.FailType> 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.FailType valueOf(akka.protobuf.Descriptors.EnumValueDescriptor desc)