Enum OrchestratorService.OrchestrationStatus
java.lang.Object
java.lang.Enum<OrchestratorService.OrchestrationStatus>
io.dapr.durabletask.implementation.protobuf.OrchestratorService.OrchestrationStatus
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OrchestratorService.OrchestrationStatus>
- Enclosing class:
- OrchestratorService
public static enum OrchestratorService.OrchestrationStatus
extends Enum<OrchestratorService.OrchestrationStatus>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
OrchestrationStatus-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionORCHESTRATION_STATUS_CANCELED = 4;ORCHESTRATION_STATUS_COMPLETED = 1;ORCHESTRATION_STATUS_CONTINUED_AS_NEW = 2;ORCHESTRATION_STATUS_FAILED = 3;ORCHESTRATION_STATUS_PENDING = 6;ORCHESTRATION_STATUS_RUNNING = 0;ORCHESTRATION_STATUS_STALLED = 8;ORCHESTRATION_STATUS_SUSPENDED = 7;ORCHESTRATION_STATUS_TERMINATED = 5; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intORCHESTRATION_STATUS_CANCELED = 4;static final intORCHESTRATION_STATUS_COMPLETED = 1;static final intORCHESTRATION_STATUS_CONTINUED_AS_NEW = 2;static final intORCHESTRATION_STATUS_FAILED = 3;static final intORCHESTRATION_STATUS_PENDING = 6;static final intORCHESTRATION_STATUS_RUNNING = 0;static final intORCHESTRATION_STATUS_STALLED = 8;static final intORCHESTRATION_STATUS_SUSPENDED = 7;static final intORCHESTRATION_STATUS_TERMINATED = 5; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<OrchestratorService.OrchestrationStatus>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ORCHESTRATION_STATUS_RUNNING
ORCHESTRATION_STATUS_RUNNING = 0; -
ORCHESTRATION_STATUS_COMPLETED
ORCHESTRATION_STATUS_COMPLETED = 1; -
ORCHESTRATION_STATUS_CONTINUED_AS_NEW
ORCHESTRATION_STATUS_CONTINUED_AS_NEW = 2; -
ORCHESTRATION_STATUS_FAILED
ORCHESTRATION_STATUS_FAILED = 3; -
ORCHESTRATION_STATUS_CANCELED
ORCHESTRATION_STATUS_CANCELED = 4; -
ORCHESTRATION_STATUS_TERMINATED
ORCHESTRATION_STATUS_TERMINATED = 5; -
ORCHESTRATION_STATUS_PENDING
ORCHESTRATION_STATUS_PENDING = 6; -
ORCHESTRATION_STATUS_SUSPENDED
ORCHESTRATION_STATUS_SUSPENDED = 7; -
ORCHESTRATION_STATUS_STALLED
ORCHESTRATION_STATUS_STALLED = 8; -
UNRECOGNIZED
-
-
Field Details
-
ORCHESTRATION_STATUS_RUNNING_VALUE
public static final int ORCHESTRATION_STATUS_RUNNING_VALUEORCHESTRATION_STATUS_RUNNING = 0;- See Also:
-
ORCHESTRATION_STATUS_COMPLETED_VALUE
public static final int ORCHESTRATION_STATUS_COMPLETED_VALUEORCHESTRATION_STATUS_COMPLETED = 1;- See Also:
-
ORCHESTRATION_STATUS_CONTINUED_AS_NEW_VALUE
public static final int ORCHESTRATION_STATUS_CONTINUED_AS_NEW_VALUEORCHESTRATION_STATUS_CONTINUED_AS_NEW = 2;- See Also:
-
ORCHESTRATION_STATUS_FAILED_VALUE
public static final int ORCHESTRATION_STATUS_FAILED_VALUEORCHESTRATION_STATUS_FAILED = 3;- See Also:
-
ORCHESTRATION_STATUS_CANCELED_VALUE
public static final int ORCHESTRATION_STATUS_CANCELED_VALUEORCHESTRATION_STATUS_CANCELED = 4;- See Also:
-
ORCHESTRATION_STATUS_TERMINATED_VALUE
public static final int ORCHESTRATION_STATUS_TERMINATED_VALUEORCHESTRATION_STATUS_TERMINATED = 5;- See Also:
-
ORCHESTRATION_STATUS_PENDING_VALUE
public static final int ORCHESTRATION_STATUS_PENDING_VALUEORCHESTRATION_STATUS_PENDING = 6;- See Also:
-
ORCHESTRATION_STATUS_SUSPENDED_VALUE
public static final int ORCHESTRATION_STATUS_SUSPENDED_VALUEORCHESTRATION_STATUS_SUSPENDED = 7;- See Also:
-
ORCHESTRATION_STATUS_STALLED_VALUE
public static final int ORCHESTRATION_STATUS_STALLED_VALUEORCHESTRATION_STATUS_STALLED = 8;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.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.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<OrchestratorService.OrchestrationStatus> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static OrchestratorService.OrchestrationStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-