Enum Class UpdateWorkflowExecutionLifecycleStage
java.lang.Object
java.lang.Enum<UpdateWorkflowExecutionLifecycleStage>
io.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<UpdateWorkflowExecutionLifecycleStage>,Constable
@Generated(value="protoc",
comments="annotations:UpdateWorkflowExecutionLifecycleStage.java.pb.meta")
public enum UpdateWorkflowExecutionLifecycleStage
extends Enum<UpdateWorkflowExecutionLifecycleStage>
implements com.google.protobuf.ProtocolMessageEnum
UpdateWorkflowExecutionLifecycleStage is specified by clients invoking Workflow Updates and used to indicate to the server how long the client wishes to wait for a return value from the API. If any value other than UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED is sent by the client then the API will complete before the Update is finished and will return a handle to the running Update so that it can later be polled for completion. If specified stage wasn't reached before server timeout, server returns actual stage reached.Protobuf enum
temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe API call will not return until the Update has passed validation on a worker.The API call will not return until the Update request has been admitted by the server - it may be the case that due to a considerations like load or resource limits that an Update is made to wait before the server will indicate that it has been received and will be processed.The API call will not return until the Update has executed to completion on a worker and has either been rejected or returned a value or an error.An unspecified value for this enum. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe API call will not return until the Update has passed validation on a worker.static final intThe API call will not return until the Update request has been admitted by the server - it may be the case that due to a considerations like load or resource limits that an Update is made to wait before the server will indicate that it has been received and will be processed.static final intThe API call will not return until the Update has executed to completion on a worker and has either been rejected or returned a value or an error.static final intAn unspecified value for this enum. -
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<UpdateWorkflowExecutionLifecycleStage> 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.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED
public static final UpdateWorkflowExecutionLifecycleStage UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIEDAn unspecified value for this enum.
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED = 0; -
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED
public static final UpdateWorkflowExecutionLifecycleStage UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTEDThe API call will not return until the Update request has been admitted by the server - it may be the case that due to a considerations like load or resource limits that an Update is made to wait before the server will indicate that it has been received and will be processed. This value does not wait for any sort of acknowledgement from a worker.
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED = 1; -
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED
public static final UpdateWorkflowExecutionLifecycleStage UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTEDThe API call will not return until the Update has passed validation on a worker.
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED = 2; -
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED
public static final UpdateWorkflowExecutionLifecycleStage UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETEDThe API call will not return until the Update has executed to completion on a worker and has either been rejected or returned a value or an error.
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED = 3; -
UNRECOGNIZED
-
-
Field Details
-
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED_VALUE
public static final int UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED_VALUEAn unspecified value for this enum.
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED = 0;- See Also:
-
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED_VALUE
public static final int UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED_VALUEThe API call will not return until the Update request has been admitted by the server - it may be the case that due to a considerations like load or resource limits that an Update is made to wait before the server will indicate that it has been received and will be processed. This value does not wait for any sort of acknowledgement from a worker.
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED = 1;- See Also:
-
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED_VALUE
public static final int UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED_VALUEThe API call will not return until the Update has passed validation on a worker.
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED = 2;- See Also:
-
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED_VALUE
public static final int UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED_VALUEThe API call will not return until the Update has executed to completion on a worker and has either been rejected or returned a value or an error.
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED = 3;- 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<UpdateWorkflowExecutionLifecycleStage> 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 UpdateWorkflowExecutionLifecycleStage 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
-