Package xyz.block.ftl.v1
Enum RunnerState
-
- All Implemented Interfaces:
-
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum
public enum RunnerState implements ProtocolMessageEnumProtobuf enum
xyz.block.ftl.v1.RunnerState
-
-
Field Summary
Fields Modifier and Type Field Description public final static intRUNNER_NEW_VALUEpublic final static intRUNNER_ASSIGNED_VALUEpublic final static intRUNNER_DEAD_VALUE
-
Enum Constant Summary
Enum Constants Enum Constant Description RUNNER_NEWThe Runner is waiting for a deployment.RUNNER_NEW = 0;RUNNER_ASSIGNEDThe Runner is assigned to a deployment.RUNNER_ASSIGNED = 1;RUNNER_DEADThe Runner is dead.RUNNER_DEAD = 2;UNRECOGNIZED
-
Method Summary
Modifier and Type Method Description final intgetNumber()static RunnerStatevalueOf(int value)static RunnerStateforNumber(int value)static Internal.EnumLiteMap<RunnerState>internalGetValueMap()final Descriptors.EnumValueDescriptorgetValueDescriptor()final Descriptors.EnumDescriptorgetDescriptorForType()final static Descriptors.EnumDescriptorgetDescriptor()static RunnerStatevalueOf(Descriptors.EnumValueDescriptor desc)static Array<RunnerState>values()Returns an array containing the constants of this enum type, in the order they're declared. static RunnerStatevalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getNumber
final int getNumber()
-
valueOf
@Deprecated() static RunnerState valueOf(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
The enum associated with the given numeric wire value.
-
forNumber
static RunnerState forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
The enum associated with the given numeric wire value.
-
internalGetValueMap
static Internal.EnumLiteMap<RunnerState> internalGetValueMap()
-
getValueDescriptor
final Descriptors.EnumValueDescriptor getValueDescriptor()
-
getDescriptorForType
final Descriptors.EnumDescriptor getDescriptorForType()
-
getDescriptor
final static Descriptors.EnumDescriptor getDescriptor()
-
valueOf
static RunnerState valueOf(Descriptors.EnumValueDescriptor desc)
-
values
static Array<RunnerState> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static RunnerState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
-
-
-