Enum Class NexusOperationExecutionStatus
java.lang.Object
java.lang.Enum<NexusOperationExecutionStatus>
io.temporal.api.enums.v1.NexusOperationExecutionStatus
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<NexusOperationExecutionStatus>,Constable
@Generated(value="protoc",
comments="annotations:NexusOperationExecutionStatus.java.pb.meta")
public enum NexusOperationExecutionStatus
extends Enum<NexusOperationExecutionStatus>
implements com.google.protobuf.ProtocolMessageEnum
Status of a standalone Nexus operation execution.
The status is updated once, when the operation is originally scheduled, and again when the
operation reaches a terminal status.
(-- api-linter: core::0216::synonyms=disabled
aip.dev/not-precedent: Named consistently with WorkflowExecutionStatus. --)
Protobuf enum temporal.api.enums.v1.NexusOperationExecutionStatus-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe operation completed as canceled.The operation completed successfully.The operation completed with failure.The operation is not in a terminal status.The operation was terminated.The operation has timed out by reaching one of the specified timeouts.NEXUS_OPERATION_EXECUTION_STATUS_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe operation completed as canceled.static final intThe operation completed successfully.static final intThe operation completed with failure.static final intThe operation is not in a terminal status.static final intThe operation was terminated.static final intThe operation has timed out by reaching one of the specified timeouts.static final intNEXUS_OPERATION_EXECUTION_STATUS_UNSPECIFIED = 0; -
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<NexusOperationExecutionStatus> valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static NexusOperationExecutionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEXUS_OPERATION_EXECUTION_STATUS_UNSPECIFIED
NEXUS_OPERATION_EXECUTION_STATUS_UNSPECIFIED = 0; -
NEXUS_OPERATION_EXECUTION_STATUS_RUNNING
The operation is not in a terminal status. The operation may be attempting to start, backing off between attempts, or already started.
NEXUS_OPERATION_EXECUTION_STATUS_RUNNING = 1; -
NEXUS_OPERATION_EXECUTION_STATUS_COMPLETED
The operation completed successfully.
NEXUS_OPERATION_EXECUTION_STATUS_COMPLETED = 2; -
NEXUS_OPERATION_EXECUTION_STATUS_FAILED
The operation completed with failure.
NEXUS_OPERATION_EXECUTION_STATUS_FAILED = 3; -
NEXUS_OPERATION_EXECUTION_STATUS_CANCELED
The operation completed as canceled. Requesting to cancel an operation does not automatically transition the operation to canceled status, depending on the current operation status and the cancelation type used.
NEXUS_OPERATION_EXECUTION_STATUS_CANCELED = 4; -
NEXUS_OPERATION_EXECUTION_STATUS_TERMINATED
The operation was terminated. Termination happens immediately without notifying the handler.
NEXUS_OPERATION_EXECUTION_STATUS_TERMINATED = 5; -
NEXUS_OPERATION_EXECUTION_STATUS_TIMED_OUT
The operation has timed out by reaching one of the specified timeouts.
NEXUS_OPERATION_EXECUTION_STATUS_TIMED_OUT = 6; -
UNRECOGNIZED
-
-
Field Details
-
NEXUS_OPERATION_EXECUTION_STATUS_UNSPECIFIED_VALUE
public static final int NEXUS_OPERATION_EXECUTION_STATUS_UNSPECIFIED_VALUENEXUS_OPERATION_EXECUTION_STATUS_UNSPECIFIED = 0;- See Also:
-
NEXUS_OPERATION_EXECUTION_STATUS_RUNNING_VALUE
public static final int NEXUS_OPERATION_EXECUTION_STATUS_RUNNING_VALUEThe operation is not in a terminal status. The operation may be attempting to start, backing off between attempts, or already started.
NEXUS_OPERATION_EXECUTION_STATUS_RUNNING = 1;- See Also:
-
NEXUS_OPERATION_EXECUTION_STATUS_COMPLETED_VALUE
public static final int NEXUS_OPERATION_EXECUTION_STATUS_COMPLETED_VALUEThe operation completed successfully.
NEXUS_OPERATION_EXECUTION_STATUS_COMPLETED = 2;- See Also:
-
NEXUS_OPERATION_EXECUTION_STATUS_FAILED_VALUE
public static final int NEXUS_OPERATION_EXECUTION_STATUS_FAILED_VALUEThe operation completed with failure.
NEXUS_OPERATION_EXECUTION_STATUS_FAILED = 3;- See Also:
-
NEXUS_OPERATION_EXECUTION_STATUS_CANCELED_VALUE
public static final int NEXUS_OPERATION_EXECUTION_STATUS_CANCELED_VALUEThe operation completed as canceled. Requesting to cancel an operation does not automatically transition the operation to canceled status, depending on the current operation status and the cancelation type used.
NEXUS_OPERATION_EXECUTION_STATUS_CANCELED = 4;- See Also:
-
NEXUS_OPERATION_EXECUTION_STATUS_TERMINATED_VALUE
public static final int NEXUS_OPERATION_EXECUTION_STATUS_TERMINATED_VALUEThe operation was terminated. Termination happens immediately without notifying the handler.
NEXUS_OPERATION_EXECUTION_STATUS_TERMINATED = 5;- See Also:
-
NEXUS_OPERATION_EXECUTION_STATUS_TIMED_OUT_VALUE
public static final int NEXUS_OPERATION_EXECUTION_STATUS_TIMED_OUT_VALUEThe operation has timed out by reaching one of the specified timeouts.
NEXUS_OPERATION_EXECUTION_STATUS_TIMED_OUT = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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<NexusOperationExecutionStatus> 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 NexusOperationExecutionStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-