@@ -60,35 +60,35 @@ class _NexusOperationCancellationTypeEnumTypeWrapper(
6060 builtins .type ,
6161): # noqa: F821
6262 DESCRIPTOR : google .protobuf .descriptor .EnumDescriptor
63- ABANDON : _NexusOperationCancellationType .ValueType # 0
63+ WAIT_CANCELLATION_COMPLETED : _NexusOperationCancellationType .ValueType # 0
64+ """Wait for operation cancellation completion. Default."""
65+ ABANDON : _NexusOperationCancellationType .ValueType # 1
6466 """Do not request cancellation of the nexus operation if already scheduled"""
65- TRY_CANCEL : _NexusOperationCancellationType .ValueType # 1
67+ TRY_CANCEL : _NexusOperationCancellationType .ValueType # 2
6668 """Initiate a cancellation request for the Nexus operation and immediately report cancellation
6769 to the caller. Note that it doesn't guarantee that cancellation is delivered to the operation if calling workflow exits before the delivery is done.
6870 If you want to ensure that cancellation is delivered to the operation, use WAIT_CANCELLATION_REQUESTED.
6971 """
70- WAIT_CANCELLATION_REQUESTED : _NexusOperationCancellationType .ValueType # 2
72+ WAIT_CANCELLATION_REQUESTED : _NexusOperationCancellationType .ValueType # 3
7173 """Request cancellation of the operation and wait for confirmation that the request was received."""
72- WAIT_CANCELLATION_COMPLETED : _NexusOperationCancellationType .ValueType # 3
73- """Wait for operation cancellation completion. Default."""
7474
7575class NexusOperationCancellationType (
7676 _NexusOperationCancellationType ,
7777 metaclass = _NexusOperationCancellationTypeEnumTypeWrapper ,
7878):
7979 """Controls at which point to report back to lang when a nexus operation is cancelled"""
8080
81- ABANDON : NexusOperationCancellationType .ValueType # 0
81+ WAIT_CANCELLATION_COMPLETED : NexusOperationCancellationType .ValueType # 0
82+ """Wait for operation cancellation completion. Default."""
83+ ABANDON : NexusOperationCancellationType .ValueType # 1
8284"""Do not request cancellation of the nexus operation if already scheduled"""
83- TRY_CANCEL : NexusOperationCancellationType .ValueType # 1
85+ TRY_CANCEL : NexusOperationCancellationType .ValueType # 2
8486"""Initiate a cancellation request for the Nexus operation and immediately report cancellation
8587to the caller. Note that it doesn't guarantee that cancellation is delivered to the operation if calling workflow exits before the delivery is done.
8688If you want to ensure that cancellation is delivered to the operation, use WAIT_CANCELLATION_REQUESTED.
8789"""
88- WAIT_CANCELLATION_REQUESTED : NexusOperationCancellationType .ValueType # 2
90+ WAIT_CANCELLATION_REQUESTED : NexusOperationCancellationType .ValueType # 3
8991"""Request cancellation of the operation and wait for confirmation that the request was received."""
90- WAIT_CANCELLATION_COMPLETED : NexusOperationCancellationType .ValueType # 3
91- """Wait for operation cancellation completion. Default."""
9292global___NexusOperationCancellationType = NexusOperationCancellationType
9393
9494class NexusOperationResult (google .protobuf .message .Message ):
0 commit comments