Enum Class WorkerDeploymentVersionStatus
java.lang.Object
java.lang.Enum<WorkerDeploymentVersionStatus>
io.temporal.api.enums.v1.WorkerDeploymentVersionStatus
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<WorkerDeploymentVersionStatus>,Constable
@Generated(value="protoc",
comments="annotations:WorkerDeploymentVersionStatus.java.pb.meta")
public enum WorkerDeploymentVersionStatus
extends Enum<WorkerDeploymentVersionStatus>
implements com.google.protobuf.ProtocolMessageEnum
(-- api-linter: core::0216::synonyms=disabled
aip.dev/not-precedent: Call this status because it is . --)
Specify the status of a Worker Deployment Version.
Protobuf enum temporal.api.enums.v1.WorkerDeploymentVersionStatus-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Worker Deployment Version is created by user (via `CreateWorkerDeploymentVersion` API) but server has not seen any poller for it yet.The Worker Deployment Version is the current version of the Worker Deployment.The Worker Deployment Version is not used by new or open workflows, but might be still needed by Queries sent to closed workflows.The Worker Deployment Version is not used by new workflows but is still used by open pinned workflows.The Worker Deployment Version has been created inside the Worker Deployment but is not used by any workflow executions.The Worker Deployment Version is the ramping version of the Worker Deployment.WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe Worker Deployment Version is created by user (via `CreateWorkerDeploymentVersion` API) but server has not seen any poller for it yet.static final intThe Worker Deployment Version is the current version of the Worker Deployment.static final intThe Worker Deployment Version is not used by new or open workflows, but might be still needed by Queries sent to closed workflows.static final intThe Worker Deployment Version is not used by new workflows but is still used by open pinned workflows.static final intThe Worker Deployment Version has been created inside the Worker Deployment but is not used by any workflow executions.static final intThe Worker Deployment Version is the ramping version of the Worker Deployment.static final intWORKER_DEPLOYMENT_VERSION_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<WorkerDeploymentVersionStatus> 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 WorkerDeploymentVersionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED
WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED = 0; -
WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE
The Worker Deployment Version has been created inside the Worker Deployment but is not used by any workflow executions. These Versions can still have workflows if they have an explicit Versioning Override targeting this Version. Such Versioning Override could be set at workflow start time, or at a later time via `UpdateWorkflowExecutionOptions`.
WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE = 1; -
WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT
The Worker Deployment Version is the current version of the Worker Deployment. All new workflow executions and tasks of existing unversioned or AutoUpgrade workflows are routed to this version.
WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT = 2; -
WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING
The Worker Deployment Version is the ramping version of the Worker Deployment. A subset of new Pinned workflow executions are routed to this version. Moreover, a portion of existing unversioned or AutoUpgrade workflow executions are also routed to this version.
WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING = 3; -
WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING
The Worker Deployment Version is not used by new workflows but is still used by open pinned workflows. The version cannot be decommissioned safely.
WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING = 4; -
WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED
The Worker Deployment Version is not used by new or open workflows, but might be still needed by Queries sent to closed workflows. The version can be decommissioned safely if user does not query closed workflows. If the user does query closed workflows for some time x after workflows are closed, they should decommission the version after it has been drained for that duration.
WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED = 5; -
WORKER_DEPLOYMENT_VERSION_STATUS_CREATED
The Worker Deployment Version is created by user (via `CreateWorkerDeploymentVersion` API) but server has not seen any poller for it yet.
WORKER_DEPLOYMENT_VERSION_STATUS_CREATED = 6; -
UNRECOGNIZED
-
-
Field Details
-
WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED_VALUE
public static final int WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED_VALUEWORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED = 0;- See Also:
-
WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE_VALUE
public static final int WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE_VALUEThe Worker Deployment Version has been created inside the Worker Deployment but is not used by any workflow executions. These Versions can still have workflows if they have an explicit Versioning Override targeting this Version. Such Versioning Override could be set at workflow start time, or at a later time via `UpdateWorkflowExecutionOptions`.
WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE = 1;- See Also:
-
WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT_VALUE
public static final int WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT_VALUEThe Worker Deployment Version is the current version of the Worker Deployment. All new workflow executions and tasks of existing unversioned or AutoUpgrade workflows are routed to this version.
WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT = 2;- See Also:
-
WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING_VALUE
public static final int WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING_VALUEThe Worker Deployment Version is the ramping version of the Worker Deployment. A subset of new Pinned workflow executions are routed to this version. Moreover, a portion of existing unversioned or AutoUpgrade workflow executions are also routed to this version.
WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING = 3;- See Also:
-
WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING_VALUE
public static final int WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING_VALUEThe Worker Deployment Version is not used by new workflows but is still used by open pinned workflows. The version cannot be decommissioned safely.
WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING = 4;- See Also:
-
WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED_VALUE
public static final int WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED_VALUEThe Worker Deployment Version is not used by new or open workflows, but might be still needed by Queries sent to closed workflows. The version can be decommissioned safely if user does not query closed workflows. If the user does query closed workflows for some time x after workflows are closed, they should decommission the version after it has been drained for that duration.
WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED = 5;- See Also:
-
WORKER_DEPLOYMENT_VERSION_STATUS_CREATED_VALUE
public static final int WORKER_DEPLOYMENT_VERSION_STATUS_CREATED_VALUEThe Worker Deployment Version is created by user (via `CreateWorkerDeploymentVersion` API) but server has not seen any poller for it yet.
WORKER_DEPLOYMENT_VERSION_STATUS_CREATED = 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<WorkerDeploymentVersionStatus> 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 WorkerDeploymentVersionStatus 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
-